Skip to content

Commit

Permalink
Remove copy()
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Feb 11, 2022
1 parent 69c6fac commit 6fca323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xwrf/accessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class WRFAccessor:
"""

def __init__(self, xarray_obj: xr.Dataset | xr.DataArray) -> WRFAccessor:
self.xarray_obj = xarray_obj.copy()
self.xarray_obj = xarray_obj


@xr.register_dataarray_accessor('wrf')
Expand Down

0 comments on commit 6fca323

Please sign in to comment.