Closed ShaneMill1 closed 4 years ago
Can you check if the file is read properly using only pynio
? i.e. remove xarray from the equation here.
Good question, actually it appears that this is occurring in pynio without the use of xarray:
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)
Ah thanks for checking. I would raise an issue over at pynio then.
Will do, thanks!
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.
MCVE Code Sample
Expected Output
Problem Description
Versions
Output of xr.show_versions()