To use the most recent data, please download it from CDIP websitehttp://cdip.ucsd.edu/.
Save the data at thredds.cdip.ucsd.edu/thredds/fileServer/cdip/archive/ . \n How to train the ml algorithms.
- Run
pip install -r requirements.txt. - Run
python get_cdip_features.py 3to get the data from the CDIP website. - Run
python test_classifiers.py 3to get the parameters for the machine learning algorithms. - Use the best parameters used and put it in save_files.py. And, then run
python save_files.py 3to save machine learning algorithms. - Run
python test.py filenameto run testing on the data. Note that the data should be in CDIP format (netcdf).
Please cite:
Pujan Pokhrel, Elias Ioup, Md Tamjidul Hoque, Mahdi Abdelguerfi, Julian Simeonov, "Forecasting significant wave heights in oceanic waters", 2021, Arxiv.
Thanks, Enjoy