PyNIO doesn't like this grib file ..

From: Jeff Whitaker <jswhit_at_nyahnyahspammersnyahnyah>
Date: Tue, 20 Feb 2007 13:33:43 -0700

Hi Dave: I've found that PyNIO doesn't like the grib files at

(the ones with the 'pqpf' in the name).

The contain probabilities of precip for multiple thresholds, but PyNIO
doesn't recognize the thresholds. wgrib gives me:


but nio gives me

>>> f = nio.open_file('ensstat.t00z.pqpf_24hbc.grb')
>>> print f.variables
{'lon_2': <NioVariable object at 0x514ef0>, 'lat_2': <NioVariable object
at 0x514ec0>, 'PROB_2_SFC_acc24h': <NioVariable object at 0x514d70>,
'forecast_time0': <NioVariable object at 0x514f20>}
>>> print f.dimensions
{'forecast_time0': 31, 'lat_2': 73, 'lon_2': 144}

Note that there is only one variable, and no dimension corresponding the
precip threshold.


Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  :
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    :
pyngl-talk mailing list
Received on Tue Feb 20 2007 - 13:33:43 MST

This archive was generated by hypermail 2.2.0 : Sun Apr 01 2007 - 11:53:11 MDT