ocnice_prep
1.13.0
|
Define the input namelist variables. More...
Go to the source code of this file.
Data Types | |
type | init_mod::vardefs |
Functions/Subroutines | |
subroutine | init_mod::readcsv (fname, errmsg, rc, nvalid) |
Read the input csv file and fill the vardefs type. More... | |
subroutine | init_mod::readnml (fname, errmsg, rc) |
Read input namelist file. More... | |
Variables | |
logical | init_mod::debug |
If true, print debug messages and intermediate files. More... | |
logical | init_mod::do_ocnprep |
If true, the source file is ocean, otherwise ice. More... | |
character(len=10) | init_mod::fdst |
A character string for the destination grid. More... | |
character(len=10) | init_mod::fsrc |
A character string for tripole grid. More... | |
character(len=10) | init_mod::ftype |
The type of tripole grid (ocean or ice) More... | |
character(len=120) | init_mod::griddir |
The directory containing the master tripole grid file. More... | |
character(len=20) | init_mod::input_file |
The input file name. More... | |
integer | init_mod::logunit |
The log unit. More... | |
character(len=10) | init_mod::maskvar = 'h' |
The variable in the ocean source file used to create the interpolation mask with dynamic masking. More... | |
integer, parameter | init_mod::maxvars = 60 |
The maximum number of fields expected in a source file. More... | |
integer | init_mod::nlevs |
The vertical or category dimension of the source tripole grid. More... | |
integer | init_mod::nxr |
The x-dimension of the destination tripole grid. More... | |
integer | init_mod::nxt |
The x-dimension of the source tripole grid. More... | |
integer | init_mod::nyr |
The y-dimension of the destination tripole grid. More... | |
integer | init_mod::nyt |
The y-dimension of the source tripole grid. More... | |
type(vardefs), dimension(maxvars) | init_mod::outvars |
An empty structure filled by reading a csv file describing the fields. More... | |
character(len=120) | init_mod::wgtsdir |
The directory containing the regridding weights. More... | |
Define the input namelist variables.
This module contains the namelist variables
Definition in file init_mod.F90.
subroutine init_mod::readcsv | ( | character(len=*), intent(in) | fname, |
character(len=*), intent(out) | errmsg, | ||
integer, intent(out) | rc, | ||
integer, intent(out) | nvalid | ||
) |
Read the input csv file and fill the vardefs type.
[in] | fname | input csv file |
[out] | errmsg | return error message |
[out] | rc | return error code |
[out] | nvalid | the number of variables in the csv file |
Definition at line 162 of file init_mod.F90.
subroutine init_mod::readnml | ( | character(len=*), intent(in) | fname, |
character(len=*), intent(out) | errmsg, | ||
integer, intent(out) | rc | ||
) |
Read input namelist file.
[in] | fname | namelist file |
[out] | errmsg | return error message |
[out] | rc | return error code |
Definition at line 57 of file init_mod.F90.
logical init_mod::debug |
If true, print debug messages and intermediate files.
Definition at line 45 of file init_mod.F90.
logical init_mod::do_ocnprep |
If true, the source file is ocean, otherwise ice.
Definition at line 46 of file init_mod.F90.
character(len=10) init_mod::fdst |
A character string for the destination grid.
Definition at line 32 of file init_mod.F90.
character(len=10) init_mod::fsrc |
A character string for tripole grid.
Definition at line 31 of file init_mod.F90.
character(len=10) init_mod::ftype |
The type of tripole grid (ocean or ice)
Definition at line 30 of file init_mod.F90.
character(len=120) init_mod::griddir |
The directory containing the master tripole grid file.
Definition at line 34 of file init_mod.F90.
character(len=20) init_mod::input_file |
The input file name.
Definition at line 35 of file init_mod.F90.
integer init_mod::logunit |
The log unit.
Definition at line 44 of file init_mod.F90.
character(len=10) init_mod::maskvar = 'h' |
The variable in the ocean source file used to create the interpolation mask with dynamic masking.
Definition at line 14 of file init_mod.F90.
integer, parameter init_mod::maxvars = 60 |
The maximum number of fields expected in a source file.
Definition at line 13 of file init_mod.F90.
integer init_mod::nlevs |
The vertical or category dimension of the source tripole grid.
Definition at line 39 of file init_mod.F90.
integer init_mod::nxr |
The x-dimension of the destination tripole grid.
Definition at line 41 of file init_mod.F90.
integer init_mod::nxt |
The x-dimension of the source tripole grid.
Definition at line 37 of file init_mod.F90.
integer init_mod::nyr |
The y-dimension of the destination tripole grid.
Definition at line 42 of file init_mod.F90.
integer init_mod::nyt |
The y-dimension of the source tripole grid.
Definition at line 38 of file init_mod.F90.
type(vardefs), dimension(maxvars) init_mod::outvars |
An empty structure filled by reading a csv file describing the fields.
Definition at line 27 of file init_mod.F90.
character(len=120) init_mod::wgtsdir |
The directory containing the regridding weights.
Definition at line 33 of file init_mod.F90.