hconfig_to_esmf_timeinterval Function

public function hconfig_to_esmf_timeinterval(hconfig, key, unusable, rc) result(time_interval)

Arguments

Type IntentOptional Attributes Name
type(ESMF_HConfig), intent(in) :: hconfig
character(len=*), intent(in) :: key
class(KeywordEnforcer), intent(in), optional :: unusable
integer, intent(out), optional :: rc

Return Value type(ESMF_TimeInterval)


Calls

proc~~hconfig_to_esmf_timeinterval~~CallsGraph proc~hconfig_to_esmf_timeinterval hconfig_to_esmf_timeinterval esmf_hconfigasstring esmf_hconfigasstring proc~hconfig_to_esmf_timeinterval->esmf_hconfigasstring proc~mapl_return MAPL_Return proc~hconfig_to_esmf_timeinterval->proc~mapl_return proc~mapl_verify MAPL_Verify proc~hconfig_to_esmf_timeinterval->proc~mapl_verify proc~string_to_esmf_timeinterval string_to_esmf_timeinterval proc~hconfig_to_esmf_timeinterval->proc~string_to_esmf_timeinterval at at proc~mapl_return->at insert insert proc~mapl_return->insert proc~mapl_throw_exception MAPL_throw_exception proc~mapl_return->proc~mapl_throw_exception proc~mapl_verify->proc~mapl_throw_exception proc~string_to_esmf_timeinterval->proc~mapl_return proc~string_to_esmf_timeinterval->proc~mapl_verify ESMF_TimeIntervalSet ESMF_TimeIntervalSet proc~string_to_esmf_timeinterval->ESMF_TimeIntervalSet interface~mapl_assert MAPL_Assert proc~string_to_esmf_timeinterval->interface~mapl_assert

Called by

proc~~hconfig_to_esmf_timeinterval~~CalledByGraph proc~hconfig_to_esmf_timeinterval hconfig_to_esmf_timeinterval proc~create_output_alarm create_output_alarm proc~create_output_alarm->proc~hconfig_to_esmf_timeinterval proc~mapl_run_driver MAPL_run_driver proc~mapl_run_driver->proc~hconfig_to_esmf_timeinterval proc~run_geos run_geos proc~run_geos->proc~mapl_run_driver proc~test_create_output_alarm test_create_output_alarm proc~test_create_output_alarm->proc~create_output_alarm program~geos geos program~geos->proc~run_geos

Source Code

   function hconfig_to_esmf_timeinterval(hconfig, key, unusable, rc) result(time_interval)
      type(ESMF_TimeInterval) :: time_interval
      type(ESMF_HConfig), intent(in) :: hconfig
      character(len=*), intent(in) :: key
      class(KeywordEnforcer), optional, intent(in) :: unusable
      integer, optional, intent(out) :: rc

      integer :: status
      character(len=:), allocatable :: iso_duration

      _UNUSED_DUMMY(unusable)

      iso_duration = ESMF_HConfigAsString(hconfig, keystring=key, _RC)
      time_interval = string_to_esmf_timeinterval(iso_duration, _RC)

      _RETURN(_SUCCESS)
   end function hconfig_to_esmf_timeinterval