Skip to content

Commit

Permalink
Users set solo driver forcing time records per day
Browse files Browse the repository at this point in the history
  Refactored the solo_driver version of MOM_surface_forcing to modify how the
time levels to read from forcing files, with a series of 11 new runtime
parameters (WIND_FILE_DAYS_PER_RECORD, etc.) giving the user to specify how many
days each time record spans (for positive values) or the number of time records
in the file per day (for negative values).  If these parameters are set to 31,
the month returned by the FMS `get_date()` function sets the time level.  If
they are set to 0 (the default) the previous behavior is obtained, in which the
time level is determined from the number of records in the file.  To always take
the first record in the file, set these parameters to large values (greater than
1000000 will always work, but in practice smaller values do the same thing).  By
default all answers are bitwise identical, but there are up to 10 new runtime
parameters in some MOM_parameter_doc files for cases that have `WIND_CONFIG =
"file"` or `BUOY_CONFIG = "file"`.

  The list of new runtime parameters is `WIND_FILE_DAYS_PER_RECORD`,
`LONGWAVE_FILE_DAYS_PER_RECORD`, `SHORTWAVE_FILE_DAYS_PER_RECORD`,
`EVAPORATION_FILE_DAYS_PER_RECORD`, `LATENTHEAT_FILE_DAYS_PER_RECORD`,
`SENSIBLEHEAT_FILE_DAYS_PER_RECORD`, `RAIN_FILE_DAYS_PER_RECORD`,
`SHORTWAVE_FILE_DAYS_PER_RECORD`, `RUNOFF_FILE_DAYS_PER_RECORD`,
`SSTRESTORE_FILE_DAYS_PER_RECORD` and  `SALINITYRESTORE_FILE_DAYS_PER_RECORD`.

  The problem identified in github.com//issues/631 is addressed by
this commit, and that issue can be closed once this commit is merged onto the
main branch of MOM6.
  • Loading branch information
Hallberg-NOAA committed Jan 9, 2025
1 parent 5d3d504 commit 82d44fb
Showing 1 changed file with 193 additions and 123 deletions.
Loading

0 comments on commit 82d44fb

Please sign in to comment.