We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7072f70 commit f474e5cCopy full SHA for f474e5c
cf_xarray/geometry.py
@@ -324,7 +324,7 @@ def encode_geometries(ds: xr.Dataset):
324
# TODO: this is incomplete. It works for vector data cubes where one of the geometry vars
325
# is a dimension coordinate.
326
if name in var.dims:
327
- var = var.copy()
+ var = var.copy(deep=False)
328
var._attrs = copy.deepcopy(var._attrs)
329
var.attrs["geometry"] = container_name
330
# The grid_mapping and coordinates attributes can be carried by the geometry container
0 commit comments