cosima-recipes
cosima-recipes copied to clipboard
Update `SeaIceSeasonality_DFA.ipynb` notebook
At the moment this notebook does not run. We need to update it and then add it to the list of automated tests in https://github.com/COSIMA/cosima-recipes/blob/main/test/test_notebooks.py
If we can make it work with MOM6 output it'd be even better!
Also good idea is to deal with #267 while updating the notebook
I think this notebook would be just as effective if it only dealt with 1 year of data. The advance, retreat and duration metrics can be calculated for a single year.
It's currently breaking on this line:
time = pd.date_range(str(year)+'-02-15', str(year)+'-02-16', freq = 'D', closed = 'left')
with error TypeError: DatetimeArray._generate_range() got an unexpected keyword argument 'closed'
It's also quite elaborate recipe!
I opened it to attempt to convert it and I was so intimidated that I closed it...
Same :)