[gradsusr] print nc to txt.file (lon, lat and var)
Kishore Ragi
kishoreragi at gmail.com
Sun Nov 27 13:36:14 EST 2016
You may try the following
ncdump -h yourfile.nc >output.txt
or
ncdump -c yourfile.nc >output.txt
Cheers,
Kishore
*PhD student in climate science,*
*National Institute of Technology, Rourkela,*
*India- 769008*
*Phone: +91-8908671881http://www.researchgate.net/profile/Kishore_Ragi
<http://www.researchgate.net/profile/Kishore_Ragi>https://in.linkedin.com/in/kishoreragi
<https://in.linkedin.com/in/kishoreragi>*
On Sun, Nov 27, 2016 at 12:07 AM, wendi harjupa <wendiharjupa at gmail.com>
wrote:
> Dear All
>
> I need help for my grads script problem.
>
> I want to print my NC data to txt.file
>
> I use this script
>
> 'sdfopen try.nc'
> 'set lon 134 137'
> 'set lat 33 36'
> 'set gxout print'
> 'set prnopts %g 1 1'
> 'd var'
>
> I got only one variable in ouput (var)
> how to get lon, lat and var in my output data??
>
> Thank you very much
> Best regards,
> wendi
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161128/6491f5d3/attachment.html
More information about the gradsusr
mailing list