NCAR / MOM6

NCAR/CESM fork of the Modular Ocean Model v.6 (MOM6)
Other
2 stars 18 forks source link

Support RUN_TYPE=hybrid #265

Closed gustavo-marques closed 2 months ago

gustavo-marques commented 6 months ago

As reported in https://github.com/NCAR/amwg_dev/discussions/459, MOM6 does not read a restart file when RUN_TYPE=hybrid.

Here is the relevant code. When RUN_TYPE=hybrid, starttype='startup' instead of starttype='continue' and the simulation is treated as "initial".

For a temporary fix, manually specify the initial condition files (temp, salt, h, u, and v) through user_nl_mom during the initial submission.

jedwards4b commented 6 months ago

The way this works for cice6 is that the namelist variable ice_ic is set to the hybrid case restart file. This causes the variable restart, which was set to false based on the startup=initial to be changed to .true. if the ice_ic file namelist variable is set, that happens here.

jedwards4b commented 5 months ago

@gustavo-marques Is this method or something similar possible in Mom?

gustavo-marques commented 5 months ago

@jedwards4b, thanks for your help! After talking to @alperaltuntas it seems our only option is to do something similar, but via MOM_interface.