NOAA-EMC / WW3-tools

20 stars 16 forks source link

New buoy and ww3 file formats added, and updates in the collocation #25

Closed ricampos closed 1 year ago

ricampos commented 1 year ago

Pull Request Summary

New buoy and ww3 file formats added, and updates in the collocation

Description

Improvements in wread.py with the addition of new ww3 operational point output formats. This module also switched from output of numpy arrays to a dictionary (one single object) containing the arrays, strings and information. For model/collocation codes, mode variables were included.

Issue(s) addressed

The size of model_collocation files was really large and required some modularization. The reading process of several different formats has been transferred to wread.py

Commit Message

New file formats added to wread.py, which was modified to resulted/provide a dictionary as result. New variables added to model_collocation.

Testing

New wread.py functions were tested using ww3 operational files from ftp. New model_collocation codes were tested with gefsv12 reforecast and NDBC and Copernicus buoys.