Memory optimization (was Re: Performance tuning)

Stefan Gofferje gradsusers at GOFFERJE.HOMELINUX.ORG
Fri Sep 19 14:12:42 EDT 2008


Hi,

Wesley Ebisuzaki schrieb:
> Another mistake.  :(   Guess that is what happens when you have 173
> different options.
> The arguments of -small_grib are
>
> -sh-3.00$ wgrib2 -help -small_grib
> wgrib2 v0.1.7.7f 9/2008 (names removed)
>  -small_grib      out  X Y Z  make small domain grib file X=lonW:lonE
> Y=latS:latN Z=file (beta)
>
> Try    $WGRIB2 ${FILENAME} -small -60:100 43:90 ${FILENAME}.extracted

Are you sure, that small_grib is working correctly?
When I use -undefine out_box -60:100 43:90, everything goes fine.
Now, with -small_grib -60:100 43:90 I get lots of
"Data Request Warning:  Request beyond file limits"
and no charts.

This are my map definitions. I have to say that I came to the values by
testing rather than thinking about them... But to me it looks like all
values are within the boundaries...

if (map = 'nordic')
  'set mproj nps'
  'set mpvals -10 51 48 80'
  'set lon -60 100'
  'set lat 43 90'
  'set mpdset newmap'
endif

if (map = 'finland')
  'set mproj nps'
  'set mpvals 10 40.63 59 71'
  'set lon 0 60'
  'set lat 55 80'
  'set mpdset hires'
endif

if (map = 'germany')
  'set mproj nps'
  'set mpvals 0 20 46.15 57'
  'set lon -15 60'
  'set lat 45 70'
  'set mpdset hires'
endif

Terve,
Stefan

--
Last words of a stormchaser:
"Where is that rotation on the radar?!"



More information about the gradsusr mailing list