Opened 7 years ago

Closed 7 years ago

#720 closed bug (Fixed)

Correction to wpoints.F and the WRITE_WATER option with rivers

Reported by: arango Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.7
Component: Nonlinear Version: 3.7
Keywords: Cc:

Description

The routine wpoints.F was updated to use the pmask_full, rmask_full, umask_full and vmask_full instead of the regular mask arrays (pmask, rmask, umask, and vmask). The _full arrays are used to ensure that masks at mass point source locations (river runoff) are set to water to avoid masking with _FillValue at those locations in output NetCDF files.

Recall that the WRITE_WATER option is used in ROMS to write output fields as a long vector (compact 1D array). The masked land points are not written to compress the size of output NetCDF files. I have not used this option in several years because it is not CF compliant and such ROMS output NetCDF cannot post-processed with third-party software.

Recall that the WRITE_WATER option cannot be used in conjuntion with wetting and drying WET_DRY because the 1D arrays witl change in size and violates the defined compact dimensions in the output NetCDF files.

Many thanks to David Ullman for bringing this to my attention.

Change History (1)

comment:1 by arango, 7 years ago

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.