However, after investigating further, I found that this occurs when using pynio directly also:
ds=Nio.open_file('CMC_glb_TMP_ISBL_700_latlon.24x.24_2020050600_P198.grb') ds.variables['lon_0'].get_value()
gives a result of:
array([180. , 180.24, 180.48, ..., 539.28, 539.52, 539.76], dtype=float32)
Hi all,
I am experiencing interesting behavior when opening a GEM global 25km resolution grib files using pynio.
Notice that the range for lon_0 is 180->539.76. When I open using cfgrib as the xarray engine:
Therefore, it appears 'cgfrib' shows the longitude correctly while 'pynio' does not.
This was originally posted as an xarray issue: https://github.com/pydata/xarray/issues/4040
However, after investigating further, I found that this occurs when using pynio directly also:
ds=Nio.open_file('CMC_glb_TMP_ISBL_700_latlon.24x.24_2020050600_P198.grb') ds.variables['lon_0'].get_value()
gives a result of:
array([180. , 180.24, 180.48, ..., 539.28, 539.52, 539.76], dtype=float32)