Skip to content

Updates for WW3 for updating to the latest version of WW3 when updating UFS in HAFS #310

@JessicaMeixner-NOAA

Description

@JessicaMeixner-NOAA

Description

This is an issue to track issues/updates needed in the HAFS workflow when updating UFS to use the latest WW3.

Updating to use NetCDF point output

One of the recent updates to WW3 is to use netcdf instead of binary point output in WW3. This is enabled via compilation using the BIN2NC switch. Minor updates are required to the workflow in HAFS to enable this feature. This includes:

  • Copying/linking the correct out_pnt.w3 file in the following lines:
    Original lines:
ush/hafs/ww3.py:476:    'ww3outpnt':       ( './out_pnt.ww3',    '{com}/{out_prefix}.{RUN}.out_pnt.ww3' ),
ush/hafs/ww3.py:556:                # Prepare and deliver out_pnt.ww3
ush/hafs/ww3.py:558:                    ww3pnt=self.icstr('{WORKhafs}/forecast/out_pnt.ww3')
ush/hafs/ww3.py:559:                    deliver_file(ww3pnt,'out_pnt.ww3',force=True,logger=logger)
ush/hafs/ww3.py:613:                                make_symlink('../out_pnt.ww3','out_pnt.ww3',force=True,logger=logger)
ush/hafs/ww3.py:674:                                make_symlink('../out_pnt.ww3','out_pnt.ww3',force=True,logger=logger)

Updates should be:

ush/hafs/ww3.py:476:    'ww3outpnt':       ( './out_pnt.ww3.nc',    '{com}/{out_prefix}.{RUN}.out_pnt.ww3.nc' ),
ush/hafs/ww3.py:556:                # Prepare and deliver out_pnt.ww3.nc
ush/hafs/ww3.py:558:                    ww3pnt=self.icstr('{WORKhafs}/forecast/out_pnt.ww3.nc')
ush/hafs/ww3.py:559:                    deliver_file(ww3pnt,'out_pnt.ww3.nc',force=True,logger=logger)
ush/hafs/ww3.py:613:                                make_symlink('../out_pnt.ww3.nc','out_pnt.ww3.nc',force=True,logger=logger)
ush/hafs/ww3.py:674:                                make_symlink('../out_pnt.ww3.nc','out_pnt.ww3.nc',force=True,logger=logger)
  • Removing the processing using ww3_ounp and creation of files named something like ww3_ounp_spec.nc

I believe this simply means we need to set ww3_ounp_spec_post=no on line 678 of parm/hafs.conf

Updates to use NetCDF restart files

The ufs.configure file needs to be updated to use the latest settings for WW3 here: To have output in netcdf need to update ufs.configure https://github.com/ufs-community/ufs-weather-model/blob/develop/tests/parm/ufs.configure.hafs_atm_ocn_wav.IN#L93-L101

Possible update to ww3_shel.inp -> ww3_shel.nml

This update may or may not be required, however ufs-weather-model uses ww3_shel.nml to test updates, so updating to this file would likely be a good idea for HAFS as well. An example template file is here: https://github.com/ufs-community/ufs-weather-model/blob/develop/tests/parm/ww3_shel.nml.IN

Tagging: @AliS-Noaa @sbanihash who are others who can help answer WW3 questions

Tagging: @ZhanZhang-NOAA @BinLiu-NOAA @MariaAristizabal-NOAA @BijuThomas-NOAA for awareness

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions