Nio: x <-> y flipped in RUC grib file?

From: Daryl Herzmann <akrherz_at_nyahnyahspammersnyahnyah>
Date: Sun, 14 Oct 2007 20:00:02 -0500 (CDT)


Hopefully I am not missing something obvious again :( I am having a
joyous evening playing with PyNGL, but have 1 doubt. I grabbed me this
grib file:

And when I asked pyngl about this file:

g = Nio.open_file('ruc2.t07z.grb2f01.grb', 'r')
v = g.variables["TMP_211_ISBL"]
print v
print v.shape

I got:

Dimensions and sizes: [lv_ISBL2 | 37] x [gridx_211 | 65] x [gridy_211 |
(37, 65, 93)

The v.shape makes sense to me, but I am curious about the other line where
x and y appear to be flipped ?

I betcha some ignorance of how grib grids are defined is shining thru on
my behalf! I asked my friend, The Google, about this matter and got:

which seem to indicate gridx_211 == 93


  Nio.__version__ == '1.2.0'

pyngl-talk mailing list
Received on Sun Oct 14 2007 - 19:00:02 MDT

This archive was generated by hypermail 2.2.0 : Thu Nov 01 2007 - 07:23:55 MDT