Replies: 1 comment
-
If you open your dataset with xarray: import xarray
xds = xarray.open_dataset("cmems_mod_glo_bgc-pft_anfc_0.25deg_P1D-m.nc", decode_coords="all") The contents of
That means this is a 4D dataset. For more information about the issue, see: #174 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to open a netCDF file with python and rioxarray:
xr = rioxarray.open_rasterio(downl_directory+"/cmems_mod_glo_bgc-pft_anfc_0.25deg_P1D-m.nc")
but it returns this error :
ValueError: conflicting sizes for dimension 'time': length 500 on the data but length 10 on coordinate 'time'
I have checked the time dimensions of the data and metadata and they match. What can I do to fix it?
Thanks in advance!
cmems_mod_glo_bgc-pft_anfc_0.25deg_P1D-m.zip
Beta Was this translation helpful? Give feedback.
All reactions