diff --git a/xee/ext.py b/xee/ext.py index b6122e0..50ccf01 100644 --- a/xee/ext.py +++ b/xee/ext.py @@ -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,