Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/ecmwf/climetlab into dev…
Browse files Browse the repository at this point in the history
…elop
  • Loading branch information
floriankrb committed Feb 26, 2024
2 parents 92c3da1 + 3572fb6 commit 3253732
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions climetlab/readers/netcdf/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def to_bounding_box(self):
)

@cached_property
def projection(self):
def grid_mapping(self):
def tidy(x):
if isinstance(x, np.ndarray):
return x.tolist()
Expand All @@ -105,9 +105,6 @@ def tidy(x):
def grid_points(self):
return DataSet(self.owner.xr_dataset).grid_points(self.variable)

def grid_points_xy(self):
return DataSet(self.owner.xr_dataset).grid_points_xy(self.variable)

def to_numpy(self, reshape=True, dtype=None):
dimensions = dict((s.name, s.index) for s in self.slices)
values = self.owner.xr_dataset[self.variable].isel(dimensions).values
Expand Down

0 comments on commit 3253732

Please sign in to comment.