Skip to content

Commit

Permalink
Fix accessor pb by removing .copy() in init
Browse files Browse the repository at this point in the history
stella-bourdin committed Dec 9, 2024
1 parent 8913f5a commit f6265cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huracanpy/_accessor.py
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ def nunique(self):
@xr.register_dataset_accessor("hrcn")
class HuracanPyDatasetAccessor:
def __init__(self, dataset):
self._dataset = dataset.copy()
self._dataset = dataset

# %% Save
def save(self, filename):

0 comments on commit f6265cf

Please sign in to comment.