Commit ba6ab5f7 authored by PIOLLE's avatar PIOLLE
Browse files

return dataset in open_dataset

parent 7911dbec
......@@ -33,6 +33,8 @@ class MITGCMZarrDataset(Dataset):
ds = ds.assign_coords(**grid.variables)
# rename coordinates
self._std_dataset = ds.rename(
ds = ds.rename(
{'XC': 'lon', 'YC': 'lat'}
return ds
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment