[gradsusr] (no subject)

Joey Woodson instantweathermaps at gmail.com
Wed Nov 23 12:30:13 EST 2011


g2ctl works just as well with the grib2 files.

On Wed, Nov 23, 2011 at 11:24 AM, Jeff Duda <jeffduda319 at gmail.com> wrote:

> My experience with grib2 files is to use convgrb to convert them to grib1
> files, then use grib2ctl.pl to get a control file for each converted
> grib1 file.  You can do that using a C-shell loop.  Once you do that, you
> can use a while loop in a Grads script (not at the command prompt), to open
> each individual file and print the data to a text file using fprintf<http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file>.
>
> Jeff Duda
>
> On Wed, Nov 23, 2011 at 10:55 AM, Alireza Azargoun <
> alireza.azargoun at gmail.com> wrote:
>
>> Dear GrADS users
>> Hi everybody
>>
>> I have about 200 grib2 files ( 1.grb2 ~ 200.grb ) . i need to read a
>> temperature of a city (lat, lon, lev, time are constant in all files) . how
>> i can read this files using a while loop!?  ( I receive this error when i
>> write a while. Unknown Command: while )
>>  and how can i write these data to a text file!? I've searched all grads
>> option for a command that writes variables in a text file! but i couldn't
>> find it!
>>
>> Thanks in advance,
>> Alireza
>> Sharif University of Technology
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Grad student - PhD, Meteorology
> University of Oklahoma School of Meteorology - Center for Analysis and
> Prediction of Storms
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 

http://www.instantweathermaps.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111123/3c72fbf9/attachment-0003.html 


More information about the gradsusr mailing list