namespace mom_get_input

Overview

Reads the only Fortran name list needed to boot-strap the model. More…

namespace mom_get_input {

// global functions

subroutine, public get_mom_input(
    param_file param_file,
    dirs dirs,
    check_params check_params,
    default_input_filename default_input_filename,
    ensemble_num ensemble_num
    );

} // namespace mom_get_input

Detailed Documentation

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

Global Functions

subroutine, public get_mom_input(
    param_file param_file,
    dirs dirs,
    check_params check_params,
    default_input_filename default_input_filename,
    ensemble_num 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

A structure to parse for run-time parameters.

dirs

Container for paths and parameter file names.

check_params

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

default_input_filename

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

ensemble_num

The ensemble id of the current member