diff --git a/README.md b/README.md index a776070..4aef1cd 100644 --- a/README.md +++ b/README.md @@ -76,17 +76,6 @@ ds = xarray.open_dataset( ) ``` -```python -ic = ee.ImageCollection('ECMWF/ERA5_LAND/HOURLY').filterDate('1992-10-05', '1993-03-31') -leg1 = ee.Geometry.BBox(113.33, -43.63, 153.56, -10.66) -ds = xarray.open_dataset( - ic, - engine='ee', - projection=ic.first().select(0).projection(), - geometry=leg1 -) -``` - Open multiple ImageCollections into one `xarray.Dataset`, all with the same projection: ```python diff --git a/xee/ext.py b/xee/ext.py index 67f14e3..c3f4fc0 100644 --- a/xee/ext.py +++ b/xee/ext.py @@ -639,6 +639,7 @@ def __init__(self, variable_name: str, ee_store: EarthEngineStore): x_size = int(np.round((x_max - x_min) / np.abs(self.store.scale_x))) y_size = int(np.round((y_max - y_min) / np.abs(self.store.scale_y))) + self.shape = (ee_store.n_images, x_size, y_size) self._apparent_chunks = {k: 1 for k in self.store.PREFERRED_CHUNKS.keys()} if isinstance(self.store.chunks, dict):