Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESDC CCI Aerosol failing in Preprocessing #27

Open
AliceBalfanz opened this issue Apr 5, 2023 · 0 comments
Open

ESDC CCI Aerosol failing in Preprocessing #27

AliceBalfanz opened this issue Apr 5, 2023 · 0 comments
Assignees

Comments

@AliceBalfanz
Copy link
Member

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%|         
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants