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
I tried to convert a datset with nlat, nlon to the xgcm nlat_t, nlon_t, nlat_u, nlon_u grid using pop_tools.to_xgcm_grid_dataset.
Nothing happened, because I had performed a reduction on the data with xarray before, which removed the attributes, but I also didn't get an error.
It would be nice if pop_tools.to_xgcm_grid_dataset raised an error if there are no attributes, and warning for the variables without attributes in case there are some with and some without.
The text was updated successfully, but these errors were encountered:
I tried to convert a datset with
nlat
,nlon
to the xgcmnlat_t, nlon_t, nlat_u, nlon_u
grid usingpop_tools.to_xgcm_grid_dataset
.Nothing happened, because I had performed a reduction on the data with xarray before, which removed the attributes, but I also didn't get an error.
It would be nice if
pop_tools.to_xgcm_grid_dataset
raised an error if there are no attributes, and warning for the variables without attributes in case there are some with and some without.The text was updated successfully, but these errors were encountered: