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
In a particular dataset, the lon and lat dimentions are called latitude and longitude. The dataset is: 'ScenarioMIP.UA.MCM-UA-1-0.ssp585.r1i1p1f2.Amon.gn.none.tas'.
The issue is causing the loss of longitude and latitude information in rename_cmip6. This causes issues down the road as broadcast_lonlat will interpret each of the xyindexes as corresponding lon and lat values.
running this through rename_cmip6 loses the longitude and latitude dimensions. I fear this is because of the special treatment of lon and lat in rename_cmip6:
JoranAngevaare
changed the title
longitude and latitude dimentions lost in rename_cmip6longitude and latitude dimensions lost in rename_cmip6Oct 11, 2023
Thanks again for this fantastic tool!
The problem
In a particular dataset, the
lon
andlat
dimentions are calledlatitude
andlongitude
. The dataset is:'ScenarioMIP.UA.MCM-UA-1-0.ssp585.r1i1p1f2.Amon.gn.none.tas'
.The issue is causing the loss of
longitude
andlatitude
information inrename_cmip6
. This causes issues down the road asbroadcast_lonlat
will interpret each of thexy
indexes as correspondinglon
andlat
values.The data looks like
running this through
rename_cmip6
loses thelongitude
andlatitude
dimensions. I fear this is because of the special treatment oflon
andlat
inrename_cmip6
:Possible fix
Maybe the dimension renaming should occur earlier? For example, see this simple alteration:
The text was updated successfully, but these errors were encountered: