MET-OM / metocean-api

Extract time series of metocean data from global/regional/coastal hindcasts/reanalysis
GNU Lesser General Public License v2.1
4 stars 5 forks source link

Example error with ERA5 #15

Closed Mel41127 closed 2 months ago

Mel41127 commented 3 months ago

Hi, I installed metocean-api and metocean-stats with anaconda (forge) on Windows and I have an error message when trying to run the example in Spyder (copy-paste the script here : https://github.com/MET-OM/metocean-stats/blob/main/examples/example_ERA5_stats.py) It says : ERA5_ts() got an unexpected keyword argument 'save_nc'

Could anyone help me understand the issue please ?

KonstantinChri commented 2 months ago

Hi, Please try to update the metocean-api using its lastest version. I re-run the example for ERA5 https://github.com/MET-OM/metocean-api/blob/main/examples/example_import_ERA5.py without any issue.