[gradsusr] print nc to txt.file (lon, lat and var)

wendi harjupa wendiharjupa at gmail.com
Sun Nov 27 21:54:00 EST 2016


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> wrote:

> 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-8908671881
> <%2B91-8908671881>http://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
>>
>>
>
> _______________________________________________
> 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/3f85d5d1/attachment.html 


More information about the gradsusr mailing list