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
File "/Users/ahuang/repos/titiler-xarray/titiler/xarray/reader.py", line 52, in get_variable
ds = ds.rename({"lat": "y", "lon": "x"})
File "/Users/ahuang/miniconda3/lib/python3.10/site-packages/xarray/core/dataset.py", line 3647, in rename
return self._rename(name_dict=name_dict, **names)
File "/Users/ahuang/miniconda3/lib/python3.10/site-packages/xarray/core/dataset.py", line 3614, in _rename
variables, coord_names, dims, indexes = self._rename_all(
File "/Users/ahuang/miniconda3/lib/python3.10/site-packages/xarray/core/dataset.py", line 3569, in _rename_all
variables, coord_names = self._rename_vars(name_dict, dims_dict)
File "/Users/ahuang/miniconda3/lib/python3.10/site-packages/xarray/core/dataset.py", line 3529, in _rename_vars
raise ValueError(f"the new name {name!r} conflicts")
ValueError: the new name 'x' conflicts
The text was updated successfully, but these errors were encountered:
Example dataset: https://downloads.psl.noaa.gov/Datasets/NARR/Monthlies/monolevel/albedo.mon.mean.nc
The text was updated successfully, but these errors were encountered: