global-workflow icon indicating copy to clipboard operation
global-workflow copied to clipboard

Change GRIB2 parameter names and vertical levels for ocean/ice post

Open GwenChen-NOAA opened this issue 1 month ago • 1 comments

Description

Based on users' feedback, this PR do the following:

  1. Change GRIB2 parameter names DLWRF -> NLWRF and DSWRF -> NSWRF
  2. Change the vertical level of ocean 3D variables (WTMP, SALIN, UOGRD, and VOGRD) from "%g m below water surface" to "%g m below sea level"
  3. Round up depth numbers to integer (e.g. 4481.0625 -> 4481 m)

Type of change

  • Update

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO

How has this been tested?

Tested on WCOSS2 using nc2grb scripts.

Checklist

  • [X] Any dependent changes have been merged and published
  • [X] My code follows the style guidelines of this project
  • [X] I have performed a self-review of my own code
  • [X] I have commented my code, particularly in hard-to-understand areas
  • [X] My changes generate no new warnings
  • [ ] New and existing tests pass with my changes
  • [ ] I have made corresponding changes to the documentation if necessary

GwenChen-NOAA avatar May 20 '24 20:05 GwenChen-NOAA