grib2ctl.pl
Wesley Ebisuzaki
Wesley.Ebisuzaki at NOAA.GOV
Thu Aug 10 14:20:49 EDT 2006
Scott,
Look for the following in the (current) grib2ctl.pl code
elsif ($grid == 221 && $center == 7) {
# awips lambert conformal
print "pdef 349 277 lcc 1 -145.5 1 1 50 50 -107 32463 32463\n";
print "xdef 1111 linear -250 0.333333\n";
print "ydef 247 linear 8 0.333333\n";
}
Change the
print "xdef ....
print "ydef ...
lines to whatever domain that you like.
Wesley Ebisuzaki
Scott Weaver wrote:
> Hello everyone,
>
> I am wondering if there is a version (or where/how to modify my version)
> of grib2ctl.pl to my specific needs in terms of declaring an alternative
> longitudinal domain as well as horizontal grid point resolution.
>
> I am working with NARR (only North America, not global)data which has a
> horizontal resolution of 0.33 degrees. When I use the version of
> grib2ctl.pl for that resolution the file sizes are very large. I suspect
> due to the fact that the global domain is used thus writing many
> undefined
> values to the file. I have another version which truncates the domain
> nicely to my needs (180W to 30W) but degrades the resolution to 0.5
> degrees. My 2 questions are:
>
> 1-Am I correct in my suspicion that the file sizes are too large due to
> most of the northern hemisphere being populated with undefined values?
>
> 2-If so, is there a way I can modify (I have no experience with C or
> pearl) or acquire a new version of grib2ctl.pl that will have the nicely
> truncated domain but will not degrade the horizontal resolution?
>
> Thank You,
> Scott
>
> _____________________________________________
> Scott J. Weaver
> Graduate Research Assistant
> Department of Atmospheric and Oceanic Science
> University of Maryland
> College Park, MD 20742
More information about the gradsusr
mailing list