[gradsusr] Making .ctl file of grib2 files

jl sa esjluis at yahoo.com.mx
Fri Aug 27 10:24:33 EDT 2010


Y por que no conviertes de grib2 a grib 1, asi puedes continuar con tus ctl sin ningun problema

el comando es :
cnvgrib -g21  archivo_grib2 archivo_grib1
mas informacion del comando en http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/

-----
And why not convert from a grib grib2 1, so you can continue with your ctl without any problem

the command is:
cnvgrib -g21  file_grib2 file_grib1
more information on command http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/

Today's Topics:

   1. Making .ctl file of grib2 files (Joralf Quist)


Hi all,

Another question which is bothering me. I've got grib2files which I download through a perlscript from the NOAA server. Ofcourse I want to make a .ctl file, so I can read them into Grads.

I've downloaded the latest version of g2ctl and installed wgrib2. I can read the file with wgrib2, it gives:

-bash-3.2$ ./wgrib2 gfs.2010082606-gfs.t06z.pgrbf00.grib2
1:115:d=2010082606:TMP:2 m above ground:anl:
2:35533:d=2010082606:RH:2 m above ground:anl:
3.1:89724:d=2010082606:UGRD:10 m above ground:anl:
3.2:89724:d=2010082606:VGRD:10 m above ground:anl:
4:219680:d=2010082606:TCDC:convective cloud layer:anl:
5:219976:d=2010082606:PRMSL:mean sea level:anl:
But whenever I try to make a ctl file it gives this error message:

-bash-3.2$ ./g2ctl.pl gfs.2010082606-gfs.t06z.pgrbf00.grib2>forecast.ctl
*** script needs to be modified ***
*** unknown grid ***
My collegue did manage to make a .ctl file in Windows with the same perlscript. But I want it to run in Linux.

I've looked into the perlscript but couldn't find any information about this error. As anybody got a clue how to fix this problem?

I'm using version 2.0.a5.oga.5 of the Grid Analysis and Display System (GrADS) on a x86_64 x86_64 x86_64 GNU/Linux OS.



Oh, and I see my reply to my last thread was put in a new thread, how do I correctly reply to the messages on the list?



Thanks a lot!



Joralf Quist






      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100827/4d3752b7/attachment-0003.html 


More information about the gradsusr mailing list