We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50e6417 commit b36c6abCopy full SHA for b36c6ab
src/ref_sample_data/data_request/base.py
@@ -120,11 +120,6 @@ def decimate_dataset(self, dataset: xr.Dataset) -> xr.Dataset | None:
120
xr.Dataset
121
The downscaled dataset
122
"""
123
- # If less than 10 MB skip decimating
124
- small_file_threshold = 10 * 1024**2
125
- if dataset.nbytes < small_file_threshold:
126
- return dataset
127
-
128
if "time" in dataset.dims and self.time_span is not None:
129
result = dataset.sel(time=slice(*self.time_span))
130
if result.time.size == 0:
0 commit comments