MAPL_ResourceMod Module

Module MAPL_ResourceMod

Author: GMAO SI-Team

MAPL_ResourceMod provides subroutines get scalar and array resources from ESMF_Config objects.


Uses

  • module~~mapl_resourcemod~~UsesGraph module~mapl_resourcemod MAPL_ResourceMod ESMF ESMF module~mapl_resourcemod->ESMF gFTL2_StringVector gFTL2_StringVector module~mapl_resourcemod->gFTL2_StringVector iso_fortran_env iso_fortran_env module~mapl_resourcemod->iso_fortran_env module~esmfl_mod ESMFL_MOD module~mapl_resourcemod->module~esmfl_mod module~mapl_commsmod MAPL_CommsMod module~mapl_resourcemod->module~mapl_commsmod module~mapl_constants MAPL_Constants module~mapl_resourcemod->module~mapl_constants module~mapl_exceptionhandling MAPL_ExceptionHandling module~mapl_resourcemod->module~mapl_exceptionhandling module~mapl_keywordenforcermod MAPL_KeywordEnforcerMod module~mapl_resourcemod->module~mapl_keywordenforcermod module~esmfl_mod->ESMF module~esmfl_mod->iso_fortran_env module~esmfl_mod->module~mapl_commsmod module~esmfl_mod->module~mapl_constants module~esmfl_mod->module~mapl_exceptionhandling module~mapl_basemod MAPL_BaseMod module~esmfl_mod->module~mapl_basemod module~mapl_commsmod->ESMF module~mapl_commsmod->module~mapl_constants module~mapl_commsmod->module~mapl_exceptionhandling module~mapl_commsmod->module~mapl_basemod module~mapl_shmemmod MAPL_ShmemMod module~mapl_commsmod->module~mapl_shmemmod mpi mpi module~mapl_commsmod->mpi module~mapl_constants->iso_fortran_env module~mapl_internalconstantsmod MAPL_InternalConstantsMod module~mapl_constants->module~mapl_internalconstantsmod module~mapl_mathconstantsmod MAPL_MathConstantsMod module~mapl_constants->module~mapl_mathconstantsmod module~mapl_physicalconstantsmod MAPL_PhysicalConstantsMod module~mapl_constants->module~mapl_physicalconstantsmod module~mapl_errorhandlingmod MAPL_ErrorHandlingMod module~mapl_exceptionhandling->module~mapl_errorhandlingmod module~mapl_throwmod MAPL_ThrowMod module~mapl_exceptionhandling->module~mapl_throwmod module~mapl_basemod->module~mapl_constants module~mapl_base MAPL_Base module~mapl_basemod->module~mapl_base module~mapl_maplgrid mapl_MaplGrid module~mapl_basemod->module~mapl_maplgrid module~mapl_rangemod MAPL_RangeMod module~mapl_basemod->module~mapl_rangemod module~mapl_errorhandlingmod->module~mapl_throwmod module~mapl_errorhandlingmod->mpi module~mapl_internalconstantsmod->iso_fortran_env module~mapl_mathconstantsmod->iso_fortran_env module~mapl_physicalconstantsmod->iso_fortran_env module~mapl_physicalconstantsmod->module~mapl_mathconstantsmod module~mapl_shmem MAPL_Shmem module~mapl_shmemmod->module~mapl_shmem module~mapl_base->ESMF module~mapl_base->iso_fortran_env module~mapl_maplgrid->ESMF module~mapl_maplgrid->module~mapl_keywordenforcermod module~mapl_maplgrid->module~mapl_errorhandlingmod module~mapl_constantsmod MAPL_ConstantsMod module~mapl_maplgrid->module~mapl_constantsmod module~pflogger pflogger module~mapl_maplgrid->module~pflogger module~mapl_rangemod->iso_fortran_env module~mapl_rangemod->module~mapl_exceptionhandling module~mapl_shmem->iso_fortran_env module~mapl_shmem->module~mapl_constants module~mapl_shmem->mpi iso_c_binding iso_c_binding module~mapl_shmem->iso_c_binding

Used by

  • module~~mapl_resourcemod~~UsedByGraph module~mapl_resourcemod MAPL_ResourceMod module~mapl_genericmod MAPL_GenericMod module~mapl_genericmod->module~mapl_resourcemod module~test_mapl_resource Test_MAPL_Resource module~test_mapl_resource->module~mapl_resourcemod module~historytrajectorymod HistoryTrajectoryMod module~historytrajectorymod->module~mapl_genericmod module~mapl MAPL module~mapl->module~mapl_genericmod module~mapl_capgridcompmod MAPL_CapGridCompMod module~mapl_capgridcompmod->module~mapl_genericmod module~mapl_extdatagridcomp2g MAPL_ExtDataGridComp2G module~mapl_capgridcompmod->module~mapl_extdatagridcomp2g module~mapl_extdatagridcompmod MAPL_ExtDataGridCompMod module~mapl_capgridcompmod->module~mapl_extdatagridcompmod module~mapl_historygridcompmod MAPL_HistoryGridCompMod module~mapl_capgridcompmod->module~mapl_historygridcompmod module~mapl_extdatagridcomp2g->module~mapl_genericmod module~mapl_extdatagridcompmod->module~mapl_genericmod module~mapl_historygridcompmod->module~mapl_genericmod module~mapl_historygridcompmod->module~historytrajectorymod module~masksamplergeosatmod MaskSamplerGeosatMod module~mapl_historygridcompmod->module~masksamplergeosatmod module~stationsamplermod StationSamplerMod module~mapl_historygridcompmod->module~stationsamplermod module~mapl_orbgridcompmod MAPL_OrbGridCompMod module~mapl_orbgridcompmod->module~mapl_genericmod module~masksamplergeosatmod->module~mapl_genericmod module~stationsamplermod->module~mapl_genericmod program~comp_testing_driver comp_testing_driver program~comp_testing_driver->module~mapl_genericmod program~comp_testing_driver->module~mapl program~comp_testing_driver->module~mapl_capgridcompmod module~extdata_drivergridcompmod ExtData_DriverGridCompMod module~extdata_drivergridcompmod->module~mapl module~extdata_drivergridcompmod->module~mapl_extdatagridcomp2g module~extdata_drivergridcompmod->module~mapl_extdatagridcompmod module~extdata_drivergridcompmod->module~mapl_historygridcompmod module~extdatadrivermod ExtDataDriverMod module~extdatadrivermod->module~mapl module~extdatautroot_gridcompmod ExtDataUtRoot_GridCompMod module~extdatautroot_gridcompmod->module~mapl module~historytrajectory_implement HistoryTrajectory_implement module~historytrajectory_implement->module~historytrajectorymod module~mapl_capmod MAPL_CapMod module~mapl_capmod->module~mapl_capgridcompmod module~mapl_historycollectionmod MAPL_HistoryCollectionMod module~mapl_historycollectionmod->module~historytrajectorymod module~mapl_historycollectionmod->module~masksamplergeosatmod module~mapl_historycollectionmod->module~stationsamplermod module~mapl_mod MAPL_Mod module~mapl_mod->module~mapl module~masksamplergeosat_implement MaskSamplerGeosat_implement module~masksamplergeosat_implement->module~masksamplergeosatmod module~regrid_util_support_mod regrid_util_support_mod module~regrid_util_support_mod->module~mapl module~rutmod RUTMod module~rutmod->module~mapl_extdatagridcompmod module~varspecdescriptionmod VarspecDescriptionMod module~varspecdescriptionmod->module~mapl program~capdriver_main CapDriver_Main program~capdriver_main->module~mapl program~extdata_driver ExtData_Driver program~extdata_driver->module~mapl program~main~2 main program~main~2->module~mapl program~main~8 main program~main~8->module~mapl program~time_ave time_ave program~time_ave->module~mapl program~ut_extdata ut_ExtData program~ut_extdata->module~mapl_extdatagridcompmod

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: MAX_LINE_LENGTH = 256

Enumerations

enum, bind(c)

Enumerators

enumerator:: MAPL_RESOURCE_VALUE_DEFAULT_MISMATCH = -1
enumerator:: MAPL_RESOURCE_ARRAY_SIZE_FORMAT_CODE_FAILURE = -2

Subroutines

public subroutine MAPL_GetResource_config_array(config, val, label, value_is_set, unusable, default, component_name, iunit, rc)

Find value of array variable in config

Arguments

Type IntentOptional Attributes Name
type(ESMF_Config), intent(inout) :: config
class(*), intent(inout) :: val(:)
character(len=*), intent(in) :: label
logical, intent(out) :: value_is_set
class(KeywordEnforcer), intent(in), optional :: unusable
class(*), intent(in), optional :: default(:)
character(len=*), intent(in), optional :: component_name
character(len=*), intent(inout), optional :: iunit
integer, intent(out), optional :: rc

public subroutine MAPL_GetResource_config_scalar(config, val, label, value_is_set, unusable, default, component_name, iunit, rc)

Find value of scalar variable in config

Arguments

Type IntentOptional Attributes Name
type(ESMF_Config), intent(inout) :: config
class(*), intent(inout) :: val
character(len=*), intent(in) :: label
logical, intent(out) :: value_is_set
class(KeywordEnforcer), intent(in), optional :: unusable
class(*), intent(in), optional :: default
character(len=*), intent(in), optional :: component_name
character(len=*), intent(inout), optional :: iunit
integer, intent(out), optional :: rc