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
prepGridMask.py was crashing when entering grib2 file formats or netcdf format converted from grib2 (using wgrib2 or CDO).
modelBuoy_collocation.py and modelSat_collocation.py were crashing when entering lists with only one element.
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.
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.