regrid_util_support_mod Module


Uses

  • module~~regrid_util_support_mod~~UsesGraph module~regrid_util_support_mod regrid_util_support_mod ESMF ESMF module~regrid_util_support_mod->ESMF gFTL_StringVector gFTL_StringVector module~regrid_util_support_mod->gFTL_StringVector module~mapl MAPL module~regrid_util_support_mod->module~mapl module~esmf_cfiomod ESMF_CFIOMod module~mapl->module~esmf_cfiomod module~mapl_esmffieldbundleread MAPL_ESMFFieldBundleRead module~mapl->module~mapl_esmffieldbundleread module~mapl_esmffieldbundlewrite MAPL_ESMFFieldBundleWrite module~mapl->module~mapl_esmffieldbundlewrite module~mapl_fieldutils MAPL_FieldUtils module~mapl->module~mapl_fieldutils module~mapl_genericmod MAPL_GenericMod module~mapl->module~mapl_genericmod module~mapl_gridcompsmod MAPL_GridCompsMod module~mapl->module~mapl_gridcompsmod module~mapl_openmp_support MAPL_OpenMP_Support module~mapl->module~mapl_openmp_support module~mapl_profiler mapl_Profiler module~mapl->module~mapl_profiler module~mapl_stubcomponent MAPL_StubComponent module~mapl->module~mapl_stubcomponent module~mapl_varspecmiscmod MAPL_VarSpecMiscMod module~mapl->module~mapl_varspecmiscmod module~maplbase_mod MAPLBase_Mod module~mapl->module~maplbase_mod module~pfio pFIO module~mapl->module~pfio

Used by

  • module~~regrid_util_support_mod~~UsedByGraph module~regrid_util_support_mod regrid_util_support_mod program~regrid_util Regrid_Util program~regrid_util->module~regrid_util_support_mod

Variables

Type Visibility Attributes Name Initial
real, public, parameter :: uninit = MAPL_UNDEF

Derived Types

type, public ::  regrid_support

Components

Type Visibility Attributes Name Initial
character(len=512), public :: vars
character(len=:), public, allocatable :: tripolar_file_in
character(len=:), public, allocatable :: tripolar_file_out
integer, public :: Nx
integer, public :: Ny
integer, public :: deflate
integer, public :: itime(2)
integer, public :: quantize_algorithm
integer, public :: quantize_level
integer, public :: regridMethod
integer, public :: shave
logical, public :: allTimes
logical, public :: onlyVars
logical, public :: use_weights
real, public :: cs_stretch_param(3)
real, public :: lat_range(2)
real, public :: lon_range(2)
type(ESMF_Grid), public :: new_grid
type(StringVector), public :: filenames
type(StringVector), public :: outputfiles

Type-Bound Procedures

procedure, public :: create_grid
procedure, public :: has_level
procedure, public :: process_command_line

Functions

public function has_level(this, rc) result(file_has_level)

Arguments

Type IntentOptional Attributes Name
class(regrid_support), intent(in) :: this
integer, intent(out), optional :: rc

Return Value logical

public function create_cf(grid_name, im_world, jm_world, nx, ny, lm, cs_stretch_param, lon_range, lat_range, tripolar_file, rc) result(cf)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: grid_name
integer, intent(in) :: im_world
integer, intent(in) :: jm_world
integer, intent(in) :: nx
integer, intent(in) :: ny
integer, intent(in) :: lm
real, intent(in) :: cs_stretch_param(3)
real, intent(in) :: lon_range(2)
real, intent(in) :: lat_range(2)
character(len=*), intent(in) :: tripolar_file
integer, intent(out), optional :: rc

Return Value type(ESMF_Config)

public function split_string(input_string, separator) result(output_string_vec)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input_string
character(len=1), intent(in) :: separator

Return Value type(StringVector)


Subroutines

public subroutine UnpackGridName(gridName, im, jm, date, pole)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: gridName
integer, intent(out) :: im
integer, intent(out) :: jm
character(len=2), intent(out) :: date
character(len=2), intent(out) :: pole

public subroutine create_grid(this, grid_name, rc)

Arguments

Type IntentOptional Attributes Name
class(regrid_support) :: this
character(len=*), intent(in) :: grid_name
integer, intent(out), optional :: rc

public subroutine process_command_line(this, rc)

Arguments

Type IntentOptional Attributes Name
class(regrid_support) :: this
integer, intent(out), optional :: rc