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

wendi harjupa wendiharjupa at gmail.com
Mon Nov 28 10:25:16 EST 2016


Dear Jennifer

Many thanks for your information..

Best regards,
wendi

On Mon, Nov 28, 2016 at 9:31 PM, Jennifer M Adams <jadams21 at gmu.edu> wrote:

> 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> 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>
> 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
>>
>>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
>
> _______________________________________________
> 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/20161129/d1c8d6f3/attachment-0001.html 


More information about the gradsusr mailing list