You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to plot some data from ICON climate simulations (XPP) which start in 1300.
Because of the range of np.datime46, which is 1678 to 2262, this results in the following error:
Hi @SF-N, thanks for raising this issue. The ICON grid is currently not supported by earthkit-regrid (which is what earthkit-plots uses under-the-hood for interpolating onto a 2D map), so in your attached example, earthkit-plots is falling back to simple bilinear interpolation, treating the ICON grid points as an unstructured point cloud. This might be okay for your purposes, but I just wanted to clarify that that's what's happening in this case. If you would like more robust ICON support, you could raise an issue in the earthkit-regrid repository.
As for your datetime issue, I think that the problem is that earthkit-plots doesn't currently support cftime datetime objects. I'll raise a feature issue for this now.
What happened?
Hi, I am trying to plot some data from ICON climate simulations (XPP) which start in 1300.
Because of the range of np.datime46, which is 1678 to 2262, this results in the following error:
Plotting the data from e.g. 2020 from the same simulation works fine.
The data is available at https://object-store.os-api.cci1.ecmwf.int/esiwacebucket/ICON-XPP/slo1802_atm_2d_ml_13000101T000000Z.nc.
A python notebook with the 2020 plot and the error for 1300 is available at: https://github.com/climet-eu/compression-lab-notebooks/blob/ICON-XPP_dataset/04-example-datasets/ICONXPP.ipynb
Could you please let me know how to plot the data from 1300 without any errors?
Furthermore, I am wondering why the coastline is not shown in the plots.
What are the steps to reproduce the bug?
Please run the notebook mentioned above.
Version
PR 31 (#31)
Platform (OS and architecture)
macOS 14.4.1
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered: