[gradsusr] problem with grib2ctl.pl

Wesley Ebisuzaki Wesley.Ebisuzaki at noaa.gov
Fri Jul 22 15:51:47 EDT 2011


Mubashar,

    The grib ctl file looks fine. If you want the 00Z jan, "set time  
00z1jan1989". 
If you want the 12Z feb mean, "set time 12Z1feb1989".  GrADS requires the
time variable to have fixed time steps so you will have undefined data 
for all but
the first day of the month.

      Wesley





Mubashar Dogar wrote:
> *Dear GrADS users,
>
> I have downloaded synoptic monthly means analysis data from ECMWF for 
> specific humidity at 1000 pressure level both in netcdf and grib 
> format (This is the same data in grib & netcdf format for three months 
> of 1989). I encountered a bug or some issue in perl script 
> (grib2ctl.pl <http://grib2ctl.pl>) that generates GrADS readable 
> control file for the grib data set. I am attaching grib file and 
> control file made by grib2ctl.pl <http://grib2ctl.pl> as well as index 
> file generated by gribmap. The bug is that synoptic monthly means data 
> have 4 time steps (at 00, 06, 12, & 18) for each month but grib2ctl.pl 
> <http://grib2ctl.pl> makes 4 time steps in each day instead of 4 time 
> step in a month. When I opened the ctl file in GrADS, it display some 
> values and shows rest as all undefined values. I even changed time in 
> ctl manually and generate index again but the problem is yet 
> unresolved. Where is the issue? Does anyone already encountered the 
> same problem. Please see attached files for your satisfaction.
> *
> Mubashar
> ------------------------------------------------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list