Closed AndreaGarciaJuan closed 3 years ago
You can download the notebooks in the master branch: ModelDevelopment_OceanRegimes.ipynb and PredictandPlot_OceanRegimes.ipynb. You will need BIC_calculation_OR.py, Plotter_OR.py and preprocessing_OR.py files. You will also need a datasets/ and models/ folder and the logos for saving the figures
I tested both notebooks locally, some notes : Dev notebook :
mask_path=None
should be mask_path='auto'
The input coordinate is not sorted in increasing order along axis 0. This can lead to unexpected results. Consider calling thesortbymethod on the input DataArray. To plot data with categorical axes, consider using theheatmapfunction from theseabornstatistical plotting library.
The palette list has the wrong number of colors.
Predict notebook
Development notebook
mask_path=None
should be mask_path='auto'
interp
in OR_delate_NaNs
function: if interp=True
an interpolation is applied, if interp=False
, all time series with any NaN value are deleted. Using interp = False
we do not find trash classes any moreNow we provide a histogram and a box plot in log scale of the dataset in both notebooks:
If you have a moment, could you please check the notebooks in your computer? And read the explanations to be sure they are clear? Thanks :-)