MAPL_CF_Time Module


Uses

  • module~~mapl_cf_time~~UsesGraph module~mapl_cf_time MAPL_CF_Time MAPL_DateTime_Parsing MAPL_DateTime_Parsing module~mapl_cf_time->MAPL_DateTime_Parsing iso_fortran_env iso_fortran_env module~mapl_cf_time->iso_fortran_env module~mapl_exceptionhandling MAPL_ExceptionHandling module~mapl_cf_time->module~mapl_exceptionhandling module~mapl_keywordenforcermod MAPL_KeywordEnforcerMod module~mapl_cf_time->module~mapl_keywordenforcermod module~mapl_errorhandlingmod MAPL_ErrorHandlingMod module~mapl_exceptionhandling->module~mapl_errorhandlingmod module~mapl_throwmod MAPL_ThrowMod module~mapl_exceptionhandling->module~mapl_throwmod module~mapl_errorhandlingmod->module~mapl_throwmod mpi mpi module~mapl_errorhandlingmod->mpi

Used by

  • module~~mapl_cf_time~~UsedByGraph module~mapl_cf_time MAPL_CF_Time module~mapl_netcdf MAPL_NetCDF module~mapl_netcdf->module~mapl_cf_time module~test_mapl_cf_time test_MAPL_CF_Time module~test_mapl_cf_time->module~mapl_cf_time module~test_mapl_datetime_parsing_esmf test_MAPL_DateTime_Parsing_ESMF module~test_mapl_datetime_parsing_esmf->module~mapl_cf_time module~historytrajectory_implement HistoryTrajectory_implement module~historytrajectory_implement->module~mapl_netcdf module~masksamplergeosatmod MaskSamplerGeosatMod module~masksamplergeosatmod->module~mapl_netcdf module~test_mapl_netcdf test_MAPL_NetCDF module~test_mapl_netcdf->module~mapl_netcdf proc~time_esmf_to_real time_ESMF_to_real proc~time_esmf_to_real->module~mapl_netcdf proc~time_real_to_esmf time_real_to_ESMF proc~time_real_to_esmf->module~mapl_netcdf module~mapl_historycollectionmod MAPL_HistoryCollectionMod module~mapl_historycollectionmod->module~masksamplergeosatmod module~mapl_historygridcompmod MAPL_HistoryGridCompMod module~mapl_historygridcompmod->module~masksamplergeosatmod module~mapl_historygridcompmod->module~mapl_historycollectionmod module~masksamplergeosat_implement MaskSamplerGeosat_implement module~masksamplergeosat_implement->module~masksamplergeosatmod module~extdata_drivergridcompmod ExtData_DriverGridCompMod module~extdata_drivergridcompmod->module~mapl_historygridcompmod module~mapl_capgridcompmod MAPL_CapGridCompMod module~mapl_capgridcompmod->module~mapl_historygridcompmod module~mapl_historycollectionvectormod MAPL_HistoryCollectionVectorMod module~mapl_historycollectionvectormod->module~mapl_historycollectionmod module~mapl_stringfieldsetmapmod MAPL_StringFieldSetMapMod module~mapl_stringfieldsetmapmod->module~mapl_historycollectionmod

Interfaces

public interface CF_Time_Integer

  • private function construct_cf_time_integer(duration, units) result(cft)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: duration
    character(len=*), intent(in) :: units

    Return Value type(CF_Time_Integer)

public interface CF_Time_Real

  • private function construct_cf_time_real(duration, units) result(cft)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R64), intent(in) :: duration
    character(len=*), intent(in) :: units

    Return Value type(CF_Time_Real)

  • private subroutine convert_CF_Time_to_datetime_duration_integer(cft, dt_duration, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(CF_Time_Integer), intent(in) :: cft
    type(datetime_duration), intent(out) :: dt_duration
    integer, intent(out), optional :: rc
  • private subroutine convert_CF_Time_to_datetime_duration_real(cft, dt_duration, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(CF_Time_Real), intent(in) :: cft
    type(datetime_duration), intent(out) :: dt_duration
    integer, intent(out), optional :: rc
  • private subroutine convert_CF_Time_to_datetime_duration_integer_duration(duration, units, dt_duration, rc)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: duration
    character(len=*), intent(in) :: units
    type(datetime_duration), intent(out) :: dt_duration
    integer, intent(out), optional :: rc
  • private subroutine convert_CF_Time_to_datetime_duration_real_duration(duration, units, dt_duration, rc)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R64), intent(in) :: duration
    character(len=*), intent(in) :: units
    type(datetime_duration), intent(out) :: dt_duration
    integer, intent(out), optional :: rc

public interface extract_CF_Time_duration

  • private subroutine extract_CF_Time_duration_cf_time_real(cft, duration, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(CF_Time_Real), intent(in) :: cft
    real(kind=R64), intent(out) :: duration
    integer, intent(out), optional :: rc
  • private subroutine extract_CF_Time_duration_cf_time_integer(cft, duration, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(CF_Time_Integer), intent(in) :: cft
    integer, intent(out) :: duration
    integer, intent(out), optional :: rc

public interface extract_CF_Time_unit

  • private subroutine extract_CF_Time_unit_cf_time(cft, time_unit, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(CF_Time), intent(in) :: cft
    character(len=MAX_CHARACTER_LENGTH), intent(out) :: time_unit
    integer, intent(out), optional :: rc
  • private subroutine extract_CF_Time_unit_units(units, time_unit, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: units
    character(len=MAX_CHARACTER_LENGTH), intent(out) :: time_unit
    integer, intent(out), optional :: rc

public interface extract_ISO8601_from_CF_Time

  • private subroutine extract_ISO8601_from_CF_Time_units(units, isostring, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: units
    character(len=MAX_CHARACTER_LENGTH), intent(out) :: isostring
    integer, intent(out), optional :: rc
  • private subroutine extract_ISO8601_from_CF_Time_cf_time(cft, isostring, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(CF_Time), intent(in) :: cft
    character(len=MAX_CHARACTER_LENGTH), intent(out) :: isostring
    integer, intent(out), optional :: rc

Derived Types

type, public, abstract ::  CF_Time

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: base_datetime
character(len=:), public, allocatable :: time_unit
logical, public :: is_valid

type, public, extends(CF_Time) ::  CF_Time_Integer

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: base_datetime
character(len=:), public, allocatable :: time_unit
integer, public :: duration
logical, public :: is_valid

Constructor

private function construct_cf_time_integer (duration, units)

type, public, extends(CF_Time) ::  CF_Time_Real

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: base_datetime
character(len=:), public, allocatable :: time_unit
logical, public :: is_valid
real(kind=R64), public :: duration

Constructor

private function construct_cf_time_real (duration, units)

Functions

public function convert_ISO8601_to_CF_Time_base_datetime(isostring) result(base_datetime)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: isostring

Return Value character(len=len)