MOM_data_override_infra module reference
These interfaces allow for ocean or sea-ice variables to be replaced with data.
Generic Interfaces
Potentially override the values of a field in the model with values from a dataset. |
Functions/Subroutines
Initialize the data override capability and set the domains for the ocean and ice components. There should be a call to impose_data_init before impose_data is called. |
|
Potentially override a 2-d field on a MOM6 domain with values from a dataset. |
|
Potentially override a 2-d field with values from a dataset. |
|
Unset domains that had previously been set for use by data_override. |
Generic Interface Documentation
- interface impose_data
Potentially override the values of a field in the model with values from a dataset.
Callers call graph
Text view
mom_ice_shelf::shelf_calc_flux → mom_data_override_infra::interface::impose_data
mom_surface_forcing::buoyancy_forcing_from_data_override → mom_data_override_infra::interface::impose_data
mom_surface_forcing::marbl_forcing_from_data_override → mom_data_override_infra::interface::impose_data
mom_surface_forcing::wind_forcing_by_data_override → mom_data_override_infra::interface::impose_data
mom_wave_interface::surface_bands_by_data_override → mom_data_override_infra::interface::impose_data
Functions/Subroutine Documentation
- subroutine impose_data_init(MOM_domain_in, Ocean_domain_in, Ice_domain_in)
Initialize the data override capability and set the domains for the ocean and ice components. There should be a call to impose_data_init before impose_data is called.
Callers call graph
Text view
mom_surface_forcing::buoyancy_forcing_from_data_override → mom_data_override_infra::impose_data_init
mom_surface_forcing::marbl_forcing_from_data_override → mom_data_override_infra::impose_data_init
mom_surface_forcing::wind_forcing_by_data_override → mom_data_override_infra::impose_data_init
mom_wave_interface::surface_bands_by_data_override → mom_data_override_infra::impose_data_init
External calls
- data_override_mod
data_override_init (data_override_mod::data_override_init)
- subroutine data_override_MD(domain, fieldname, data_2D, time, scale, override, is_ice)
Potentially override a 2-d field on a MOM6 domain with values from a dataset.
- Parameters
domain [in]
MOM domain from which to extract information
fieldname [in]
Name of the field to override
data_2D [inout]
Data that may be modified by this call.
time [in]
The model time, and the time for the data
scale [in]
A scaling factor that an overridden field is multiplied by before it is returned. However, if there is no override, there is no rescaling.
override [out]
True if the field has been overridden successfully
is_ice [in]
If present and true, use the ice domain.
Callees call graph
External calls
- data_override_mod
data_override (data_override_mod::data_override)
- subroutine data_override_2d(gridname, fieldname, data_2D, time, override)
Potentially override a 2-d field with values from a dataset.
- Parameters
gridname [in]
String identifying the model component, in MOM6 and SIS this may be either 'OCN' or 'ICE'
fieldname [in]
Name of the field to override
data_2D [inout]
Data that may be modified by this call
time [in]
The model time, and the time for the data
override [out]
True if the field has been overridden successfully
External calls
- data_override_mod
data_override (data_override_mod::data_override)
- subroutine impose_data_unset_domains(unset_Ocean, unset_Ice, must_be_set)
Unset domains that had previously been set for use by data_override.
- Parameters
unset_Ocean [in]
If present and true, unset the ocean domain for overrides
unset_Ice [in]
If present and true, unset the sea-ice domain for overrides
must_be_set [in]
If present and true, it is a fatal error to unset a domain that is not set.
External calls
- data_override_mod
data_override_unset_domains (data_override_mod::data_override_unset_domains)