MOM_get_input module reference

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

directories

Container for paths and parameter file names.

Functions/Subroutines

get_MOM_input

Get the names of the I/O directories and initialization file. Also calls the subroutine that opens run-time parameter files.

Type Documentation

type, public :: directories

Container for paths and parameter file names.

Parameters
  • restart_input_dir

    The directory to read restart and input files.

  • restart_output_dir

    The directory into which to write restart files.

  • output_directory

    The directory to use to write the model output.

  • input_filename

    A string that indicates the input files or how the run segment should be started.

Functions/Subroutine Documentation

subroutine 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.

Parameters
  • param_file [out]

    A structure to parse for run-time parameters.

  • dirs [out]

    Container for paths and parameter file names.

  • check_params [in]

    If present and False will stop error checking for run-time parameters.

  • default_input_filename [in]

    If present, is the value assumed for input_filename if input_filename is not listed in the namelist MOM_input_nml.

  • ensemble_num [in]

    The ensemble id of the current member

Callees call graph
Callees of mom_get_input::get_mom_input calls cluster_mom_error_handler MOM_error_handler cluster_mom_error_infra MOM_error_infra cluster_mom_file_parser MOM_file_parser cluster_mom_get_input MOM_get_input cluster_mom_io MOM_io cluster_mom_io_infra MOM_io_infra cluster_mom_string_functions MOM_string_functions cluster_posix posix mom_error_handler::mom_error MOM_error mom_error_infra::is_root_pe is_root_pe mom_file_parser::open_param_file open_param_file mom_get_input::get_mom_input get_MOM_input mom_get_input::get_mom_input->mom_error_handler::mom_error mom_get_input::get_mom_input->mom_error_infra::is_root_pe mom_get_input::get_mom_input->mom_file_parser::open_param_file mom_io::check_nml_error check_nml_error mom_get_input::get_mom_input->mom_io::check_nml_error mom_io::ensembler ensembler mom_get_input::get_mom_input->mom_io::ensembler mom_io::open_namelist_file open_namelist_file mom_get_input::get_mom_input->mom_io::open_namelist_file mom_io_infra::interface::close_file close_file (interface) mom_get_input::get_mom_input->mom_io_infra::interface::close_file mom_io_infra::interface::file_exists file_exists (interface) mom_get_input::get_mom_input->mom_io_infra::interface::file_exists mom_string_functions::slasher slasher mom_get_input::get_mom_input->mom_string_functions::slasher posix::mkdir mkdir mom_get_input::get_mom_input->posix::mkdir
Text view
Callers call graph
Callers of mom_get_input::get_mom_input calls cluster_External External cluster_mom MOM cluster_mom_get_input MOM_get_input cluster_mom_ice_shelf MOM_ice_shelf cluster_mom_oda_driver_mod MOM_oda_driver_mod cluster_mom_oda_incupd MOM_oda_incupd cluster_mom_surface_forcing MOM_surface_forcing cluster_mom_tracer_flow_control MOM_tracer_flow_control External::mom6 MOM6 mom_get_input::get_mom_input get_MOM_input External::mom6->mom_get_input::get_mom_input mom::initialize_mom initialize_MOM mom::initialize_mom->mom_get_input::get_mom_input mom_ice_shelf::initialize_ice_shelf initialize_ice_shelf mom_ice_shelf::initialize_ice_shelf->mom_get_input::get_mom_input mom_oda_driver_mod::init_oda init_oda mom_oda_driver_mod::init_oda->mom_get_input::get_mom_input mom_oda_incupd::output_oda_incupd_inc output_oda_incupd_inc mom_oda_incupd::output_oda_incupd_inc->mom_get_input::get_mom_input mom_surface_forcing::surface_forcing_init surface_forcing_init mom_surface_forcing::surface_forcing_init->mom_get_input::get_mom_input mom_tracer_flow_control::call_tracer_flux_init call_tracer_flux_init mom_tracer_flow_control::call_tracer_flux_init->mom_get_input::get_mom_input
Text view
API generated with Flint · Rendered from reStructuredText