You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-------------------------------------------
Create input
Read input file ./data/input/Zhadang/Zhadang_ERA5_2009_2018.csv
/home/ben/projects/cosipy/cosipy/utilities/aws2cosipy/aws2cosipy.py:68: FutureWarning: The argument 'date_parser' is deprecated and will be removed in a future version. Please use 'date_format' instead, or read your data in as 'object' dtype and then call 'to_datetime'.
dataframe = pd.read_csv(
Traceback (most recent call last):
File "/home/ben/.pyenv/versions/cosipy312/bin/cosipy-aws2cosipy", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/ben/projects/cosipy/cosipy/utilities/aws2cosipy/aws2cosipy.py", line 1038, in main
create_2D_input(
File "/home/ben/projects/cosipy/cosipy/utilities/aws2cosipy/aws2cosipy.py", line 489, in create_2D_input
df = df.resample(_cfg.coords["aggregation_step"].agg(aggregates))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'agg'
The parenthesis is left open.
The text was updated successfully, but these errors were encountered:
benatouba
added a commit
to benatouba/cosipy
that referenced
this issue
Nov 24, 2024
When
aggregate
is turned on inutilities_config
.The parenthesis is left open.
The text was updated successfully, but these errors were encountered: