-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Executing the script for CCI Aerosol fails with the below error in the traceback.
python inputs-preprocess/CCI/aerosol/cci-aod550-8d-0.25deg.py
Reading
Resampling in time
0%| | 0/11 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/alicebalfanz/cube-gen/ESDC/inputs-preprocess/CCI/aerosol/cci-aod550-8d-0.25deg.py", line 44, in <module>
dataset_8d = [resample_weekly(dataset, year) for year in tqdm(years)]
File "/home/alicebalfanz/cube-gen/ESDC/inputs-preprocess/CCI/aerosol/cci-aod550-8d-0.25deg.py", line 44, in <listcomp>
dataset_8d = [resample_weekly(dataset, year) for year in tqdm(years)]
File "/home/alicebalfanz/cube-gen/ESDC/inputs-preprocess/CCI/aerosol/cci-aod550-8d-0.25deg.py", line 34, in resample_weekly
ds = ds.sel(time=slice(f"{year}-01-01", f"{year}-12-31")).resample(
File "/home/conda/deepesdl/envs/cube-gen/lib/python3.9/site-packages/xarray/core/dataset.py", line 9148, in resample
return self._resample(
File "/home/conda/deepesdl/envs/cube-gen/lib/python3.9/site-packages/xarray/core/common.py", line 961, in _resample
grouper = pd.Grouper(
File "/home/conda/deepesdl/envs/cube-gen/lib/python3.9/site-packages/pandas/core/resample.py", line 1663, in __init__
super().__init__(freq=freq, axis=axis, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'base'
0%|
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels