Skip to content

Commit

Permalink
Merge pull request #110 from dabhicusp:crs-diff
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 592555127
  • Loading branch information
Xee authors committed Dec 20, 2023
2 parents 284dd79 + 465e769 commit 9b8c50a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ def open_store_variable(self, name: str) -> xarray.Variable:
x_dim_name, y_dim_name = self.dimension_names
dimensions = [self.primary_dim_name, x_dim_name, y_dim_name]
attrs = self._make_attrs_valid(self._band_attrs(name))
attrs['crs'] = str(self.crs)
encoding = {
'source': attrs['id'],
'scale_factor': arr.scale,
Expand Down

0 comments on commit 9b8c50a

Please sign in to comment.