NOAA-EMC / WW3-tools

20 stars 16 forks source link

visualization with multiple projections included and improvements on the model/measurements collocation #4

Closed ricampos closed 2 years ago

ricampos commented 2 years ago

Pull Request Summary

Improvements on the model/observations collocations were included; the visualization plot now includes other projections; and the code prepGridMask.py was also improved to run under 8-hours with options of including Ocean Names and Forecast Areas or not.

Description

The modelBuoycollocation* scripts now have a better description of how to run it; and the list of ww3 files that code reads now is set as a list so it can work properly even with one single file. The visualization plot with ww3fields.py now includes other projections; the level colorbars were adjusted to each variable; and the code plots ww3 results on regular, irregular, and unstructured grids. Robinson's global projection is still restricted to global regular grids.

It would be appreciated if someone could include the option of Miller's projection for global irregular and unstructured in ww3fields.py. The evaluation plots (QQ-plots, Scatter-plots, Taylor Diagrams etc) are still not included but we are currently working on it, which should be covered in the next PR. The collocation model/satellite is under test as well and should be included in the next PR.

Issue(s) addressed

Commit Message

Collocation scripts (model/buoy) have been improved and tested. WW3 field visualization is checked and fixed, now working with any grid type.

Testing

New codes were tested with ww3 output files post-processed by ww3_ounf and ww3_grib, and the collocation was tested with NDBC buoys.