65 integer :: coordinateMode
66 character(len=*),
intent(in) :: string
78 case default ;
call mom_error(fatal,
"coordinateMode: "//&
79 "Unrecognized choice of coordinate ("//trim(string)//
").")
86 character(len=16) :: coordinateUnitsI
87 integer,
intent(in) :: coordMode
88 select case ( coordmode )
97 case default ;
call mom_error(fatal,
"coordinateUnts: "//&
98 "Unrecognized coordinate mode.")
105 character(len=16) :: coordinateUnitsS
106 character(len=*),
intent(in) :: string
114 character(len=*),
intent(in) :: string
122 integer,
intent(in) :: mode
132 case default ;
call mom_error(fatal,
"state_dependent: "//&
133 "Unrecognized choice of coordinate.")
integer, parameter regridding_layer
Layer mode.
integer function coordinatemode(string)
Parse a string parameter specifying the coordinate mode and return the appropriate enumerated integer...
integer, parameter regridding_sigma
Sigma coordinates.
character(len= *), parameter regridding_sigma_string
Sigma string.
character(len= *), parameter regridding_rho_string
Rho string.
character(len= *), parameter regridding_zstar_string
z* string
logical function state_dependent_char(string)
Returns true if the coordinate is dependent on the state density, returns false otherwise.
integer, dimension(regridding_num_types), parameter vertical_coords
character(len= *), parameter default_coordinate_mode
Default coordinate mode.
character(len= *), parameter regridding_layer_string
Layer string.
integer, parameter regridding_hycom1
Simple HyCOM coordinates without BBL.
character(len=16) function coordinateunitsi(coordMode)
Returns a string with the coordinate units associated with the enumerated integer,.
character(len=len(input_string)) function, public uppercase(input_string)
logical function state_dependent_int(mode)
Returns true if the coordinate is dependent on the state density, returns false otherwise.
integer, parameter regridding_adaptive
character(len=16) function coordinateunitss(string)
Returns a string with the coordinate units associated with the string defining the coordinate mode...
character(len= *), parameter regridding_adaptive_string
integer, parameter regridding_zstar
z* coordinates
character(len= *), parameter regridding_sigma_shelf_zstar_string
Hybrid z*/sigma.
integer, parameter regridding_num_types
integer, parameter regridding_sigma_shelf_zstar
z* coordinates at the bottom, sigma-near the top lightest water, isopycnal below
character(len= *), parameter regridding_arbitrary_string
Arbitrary coordinates.
Contains constants for interpreting input parameters that control regridding.
character(len= *), parameter regridding_hycom1_string
Hycom string.
integer, parameter regridding_arbitrary
Arbitrary coordinates.
character(len= *), parameter regridding_slight_string
Hybrid S-rho string.
subroutine, public mom_error(level, message, all_print)
integer, parameter regridding_rho
Target interface densities.
character(len= *), parameter regridding_zstar_string_old
z* string (legacy name)
character(len= *), dimension(regridding_num_types), parameter vertical_coord_strings
integer, parameter regridding_slight
Stretched coordinates in the.