[gradsusr] Making .ctl file of grib2 files

Wesley Ebisuzaki Wesley.Ebisuzaki at noaa.gov
Thu Aug 26 11:14:57 EDT 2010


Joralf,

 If you are using wgrib2 v1.8.5, you will need to upgrade/downgrade.  If 
that is not the problem,
(wgrib2 -version will give you the version)

Could you

1. show the grid description.
 
    -bash-3.2$ ./wgrib2 gfs.2010082606-gfs.t06z.pgrbf00.grib2  -d 1 -grid

2. and the URL of the data file.

3. version of wgrib2

        Wesley Ebisuzaki



Joralf Quist wrote:
> 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
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>   




More information about the gradsusr mailing list