Memory optimization (was Re: Performance tuning)
Wesley Ebisuzaki
Wesley.Ebisuzaki at NOAA.GOV
Thu Sep 18 10:08:35 EDT 2008
Stefan Gofferje wrote:
> $WGRIB2 ${FILENAME} -undefine out-box -60:100 43:90 -grib_out ${FILENAME}.extracted
The undefine option will set the points outside the box to undefined.
The -grib_out option
writes the file using grib1-style packing (default). The end result is
a grib2 file using the
same the same grid.
$WGRIB2 ${FILENAME} -small -60:100 43:90 -grib_out ${FILENAME}.extracted
This command line makes the grid smaller which reduces the memory
requirements. It uses
grib1-style packing (default). Note that -small is still beta (please
test first) and you
will need new control files.
Wesley
More information about the gradsusr
mailing list