MOM6
|
Reads the only Fortran name list needed to boot-strap the model.
The name list parameters indicate which directories to use for certain types of input and output, and which files to look in for the full parsable input parameter file(s).
Data Types | |
type | directories |
Container for paths and parameter file names. More... | |
Functions/Subroutines | |
subroutine, public | get_mom_input (param_file, dirs, check_params, default_input_filename, ensemble_num) |
Get the names of the I/O directories and initialization file. Also calls the subroutine that opens run-time parameter files. More... | |
subroutine, public mom_get_input::get_mom_input | ( | type(param_file_type), intent(out), optional | param_file, |
type(directories), intent(out), optional | dirs, | ||
logical, intent(in), optional | check_params, | ||
character(len=*), intent(in), optional | default_input_filename, | ||
integer, intent(in), optional | ensemble_num | ||
) |
Get the names of the I/O directories and initialization file. Also calls the subroutine that opens run-time parameter files.
[out] | param_file | A structure to parse for run-time parameters. |
[out] | dirs | Container for paths and parameter file names. |
[in] | check_params | If present and False will stop error checking for run-time parameters. |
[in] | default_input_filename | If present, is the value assumed for input_filename if input_filename is not listed in the namelist MOM_input_nml. |
[in] | ensemble_num | The ensemble id of the current member |
Definition at line 34 of file MOM_get_input.F90.
References mom_error_handler::mom_error(), and mom_file_parser::open_param_file().
Referenced by mom_tracer_flow_control::call_tracer_flux_init(), mom_oda_driver_mod::init_oda(), mom_ice_shelf::initialize_ice_shelf(), mom::initialize_mom(), ocn_comp_mct::ocn_init_mct(), mom_surface_forcing_nuopc::surface_forcing_init(), mom_surface_forcing_mct::surface_forcing_init(), and mom_surface_forcing::surface_forcing_init().