-------------------------------------------
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'
When
aggregate
is turned on inutilities_config
.The parenthesis is left open.