how to write a ASCII file by GrADS

hersala hersala at GMAIL.COM
Fri Nov 6 09:03:09 EST 2009


I am almost sure that this is is possible but I do not have enough
experience to do it.
Sorry.

2009/11/6 hossein lotfi <h.meteo.shirazu at gmail.com>

>
>
> On Fri, Nov 6, 2009 at 7:10 AM, hersala <hersala at gmail.com> wrote:
>
>> Hi Hao:
>> I have solved this difficulty using this grads script that is already
>> posted in:
>>
>>
>> http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file
>>
>> It works really fine.
>> Best regards
>> Hernán
>>
>>
>>
>>
>> 2009/11/5 Hao He <hhe at atmos.umd.edu>
>>
>> Hi,
>>>   I used GrADS to read the GRIB file and wanted to selected some
>>> variables, which can be write to an ASCII (.txt or .dat) file. I read the
>>> manual and found I should use 'gxout fwrite'. But I still could not
>>> figure out how to write the script. Does anyone have an idea?
>>>
>>> Thanks!
>>>
>>> Hao
>>>
>>  hi
>>
> thank you for your help (fprintf.gs)
> but it can not save the latitude and longitude in the output file that save
> variables
>  such as below matrix;
>             lat    lat    lat    lat    lat
> lon       var    var   var    var   var
> lon        .        .      .      .     .
> lon        .        .      .      .     .
>  can you cahnge the command in the fprintf.gs file to do this?
> thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091106/7e194d0d/attachment.html 


More information about the gradsusr mailing list