[gradsusr] print nc to txt.file (lon, lat and var)
Jennifer M Adams
jadams21 at gmu.edu
Mon Nov 28 07:31:19 EST 2016
Wendi —
This page http://cola.gmu.edu/grads/gadoc/ascii.html has some advice and examples showing how to organize the output from 'gxout print'.
—Jennifer
On Nov 27, 2016, at 9:54 PM, wendi harjupa <wendiharjupa at gmail.com<mailto:wendiharjupa at gmail.com>> wrote:
Dear Mr. Kishore
Thank a lot for your comments.
I did not mean that. I want know how to use prnopts command.
Regards,
wendi
On Mon, Nov 28, 2016 at 3:36 AM, Kishore Ragi <kishoreragi at gmail.com<mailto:kishoreragi at gmail.com>> wrote:
You may try the following
ncdump -h yourfile.nc<http://yourfile.nc/> >output.txt
or
ncdump -c yourfile.nc<http://yourfile.nc/> >output.txt
Cheers,
Kishore
PhD student in climate science,
National Institute of Technology, Rourkela,
India- 769008
Phone: +91-8908671881<tel:%2B91-8908671881>
http://www.researchgate.net/profile/Kishore_Ragi
https://in.linkedin.com/in/kishoreragi
On Sun, Nov 27, 2016 at 12:07 AM, wendi harjupa <wendiharjupa at gmail.com<mailto: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<http://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<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161128/933a7e0a/attachment-0001.html
More information about the gradsusr
mailing list