MOM6
|
An overloaded interface to read and log the values of various types of parameters.
Definition at line 102 of file MOM_file_parser.F90.
Private functions | |
subroutine | get_param_int (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam, debuggingParam) |
This subroutine reads the value of an integer model parameter from a parameter file and logs it in documentation files. More... | |
subroutine | get_param_real (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, debuggingParam, scale, unscaled) |
This subroutine reads the value of a real model parameter from a parameter file and logs it in documentation files. More... | |
subroutine | get_param_logical (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam, debuggingParam) |
This subroutine reads the value of a logical model parameter from a parameter file and logs it in documentation files. More... | |
subroutine | get_param_char (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam, debuggingParam) |
This subroutine reads the value of a character string model parameter from a parameter file and logs it in documentation files. More... | |
subroutine | get_param_char_array (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value) |
This subroutine reads the values of an array of character string model parameters from a parameter file and logs them in documentation files. More... | |
subroutine | get_param_time (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, timeunit, static_value, layoutParam, debuggingParam, log_as_date) |
This subroutine reads the value of a time-type model parameter from a parameter file and logs it in documentation files. More... | |
subroutine | get_param_int_array (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam, debuggingParam) |
This subroutine reads the values of an array of integer model parameters from a parameter file and logs them in documentation files. More... | |
subroutine | get_param_real_array (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, debuggingParam, static_value, scale, unscaled) |
This subroutine reads the values of an array of real model parameters from a parameter file and logs them in documentation files. More... | |
|
private |
This subroutine reads the value of a character string model parameter from a parameter file and logs it in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file and logged |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
[in] | layoutparam | If present and true, this parameter is logged in the layout parameter file |
[in] | debuggingparam | If present and true, this parameter is logged in the debugging parameter file |
Definition at line 1799 of file MOM_file_parser.F90.
|
private |
This subroutine reads the values of an array of character string model parameters from a parameter file and logs them in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file and logged |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
Definition at line 1845 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of an integer model parameter from a parameter file and logs it in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file and logged |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
[in] | layoutparam | If present and true, this parameter is logged in the layout parameter file |
[in] | debuggingparam | If present and true, this parameter is logged in the debugging parameter file |
Definition at line 1601 of file MOM_file_parser.F90.
|
private |
This subroutine reads the values of an array of integer model parameters from a parameter file and logs them in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be reset from the parameter file |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
[in] | layoutparam | If present and true, this parameter is logged in the layout parameter file |
[in] | debuggingparam | If present and true, this parameter is logged in the debugging parameter file |
Definition at line 1648 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of a logical model parameter from a parameter file and logs it in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file and logged |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
[in] | layoutparam | If present and true, this parameter is logged in the layout parameter file |
[in] | debuggingparam | If present and true, this parameter is logged in the debugging parameter file |
Definition at line 1899 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of a real model parameter from a parameter file and logs it in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file and logged |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
[in] | debuggingparam | If present and true, this parameter is logged in the debugging parameter file |
[in] | scale | A scaling factor that the parameter is multiplied by before it is returned. |
[out] | unscaled | The value of the parameter that would be returned without any multiplication by a scaling factor. |
Definition at line 1695 of file MOM_file_parser.F90.
|
private |
This subroutine reads the values of an array of real model parameters from a parameter file and logs them in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file and logged |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
[in] | debuggingparam | If present and true, this parameter is logged in the debugging parameter file |
[in] | scale | A scaling factor that the parameter is multiplied by before it is returned. |
[out] | unscaled | The value of the parameter that would be returned without any multiplication by a scaling factor. |
Definition at line 1747 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of a time-type model parameter from a parameter file and logs it in documentation files.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | modulename | The name of the calling module |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file and logged |
[in] | desc | A description of this variable; if not present, this parameter is not written to a doc file |
[in] | units | The units of this parameter |
[in] | default | The default value of the parameter |
[in] | static_value | If this parameter is static, it takes this value, which can be compared for consistency with what is in the parameter file. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | do_not_read | If present and true, do not read a value for this parameter, although it might be logged. |
[in] | do_not_log | If present and true, do not log this parameter to the documentation files |
[in] | timeunit | The number of seconds in a time unit for real-number input to be translated to a time. |
[in] | layoutparam | If present and true, this parameter is logged in the layout parameter file |
[in] | debuggingparam | If present and true, this parameter is logged in the debugging parameter file |
[in] | log_as_date | If true, log the time_type in date format. The default is false. |
Definition at line 1947 of file MOM_file_parser.F90.