NOAA-EMC / WW3-tools

19 stars 14 forks source link

Option to enter grib2 format as a sample ww3 file in prepGridMask.py #33

Closed ricampos closed 1 year ago

ricampos commented 1 year ago

grib2 file format included in prepGridMask.py. Plus some minor fixes in modelBuoy_collocation.py and modelSat_collocation.py.

Pull Request Summary

prepGridMask.py can now read ww3 field outputs in netcdf and grib2 format. modelBuoy_collocation.py and modelSat_collocation.py are able to enter list of ww3 and satellite files with only one argument without problem.

Issue(s) addressed

Commit Message

Option to enter grib2 format as a sample ww3 file in prepGridMask.py

Testing

The new prepGridMask.py was tested with nc and grib2 files on Orion at: /work/noaa/marine/ricardo.campos/work/ww3tools/bugfix_grib2nc The new modelBuoy_collocation.py and modelSat_collocation.py were tested with ww3 HR1 output files on Orion at: /work/noaa/marine/ricardo.campos/work/analysis/HR1 modelBuoy_collocation.py was also tested with the bull point output format, gfswave.46229.bull. So both validations against satellite and buoy are in good shape.

MatthewMasarik-NOAA commented 1 year ago

Thank you @ricampos for adding this grib2 support.