mom_time_manager module reference

Wraps the FMS time manager functions.

More…

Functions/Subroutines

real_to_time()

This is an alternate implementation of the FMS function real_to_time_type that is accurate over a larger range of input values.

Detailed Description

Wraps the FMS time manager functions.

Function/Subroutine Documentation

function mom_time_manager/real_to_time(x, err_msg) [type(time_type)]

This is an alternate implementation of the FMS function real_to_time_type that is accurate over a larger range of input values. With 32 bit signed integers, this version should work over the entire valid range (2^31 days or ~5.8835 million years) of time_types, whereas the standard version in the FMS time_manager stops working for conversions of times greater than 2^31 seconds, or ~68.1 years.

Return

undefined :: The output time as a time_type

Parameters
  • x :: [in] The input time in real seconds.

  • err_msg :: [out] An optional returned error message.

Called from

mom_ice_shelf::add_shelf_flux mom_controlled_forcing::apply_ctrl_forcing mom_barotropic::btstep mom_diabatic_driver::diabatic mom_main mom_offline_main::offline_transport_init mom_file_parser::read_param_time mom_dynamics_unsplit::step_mom_dyn_unsplit ocean_model_mod::update_ocean_model