ExtDataAbstractFileHandler Derived Type

type, public, abstract :: ExtDataAbstractFileHandler


Inherits

type~~extdataabstractfilehandler~~InheritsGraph type~extdataabstractfilehandler ExtDataAbstractFileHandler ESMF_Time ESMF_Time type~extdataabstractfilehandler->ESMF_Time reff_time, valid_range ESMF_TimeInterval ESMF_TimeInterval type~extdataabstractfilehandler->ESMF_TimeInterval frequency

Inherited by

type~~extdataabstractfilehandler~~InheritedByGraph type~extdataabstractfilehandler ExtDataAbstractFileHandler type~extdataclimfilehandler ExtDataClimFileHandler type~extdataclimfilehandler->type~extdataabstractfilehandler type~extdatasimplefilehandler ExtDataSimpleFileHandler type~extdatasimplefilehandler->type~extdataabstractfilehandler type~primaryexport PrimaryExport type~primaryexport->type~extdataabstractfilehandler filestream type~vector_wrapper~28 vector_wrapper type~vector_wrapper~28->type~primaryexport item type~primaryexportvector PrimaryExportVector type~primaryexportvector->type~vector_wrapper~28 elements type~primaryexportvectoriterator PrimaryExportVectorIterator type~primaryexportvectoriterator->type~vector_wrapper~28 elements type~vectorriterator~23 VectorRIterator type~vectorriterator~23->type~primaryexportvectoriterator iterator

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: file_template
integer, public :: collection_id
logical, public :: persist_closest
type(ESMF_Time), public :: reff_time
type(ESMF_Time), public, allocatable :: valid_range(:)
type(ESMF_TimeInterval), public :: frequency

Type-Bound Procedures

procedure(get_file_bracket), public, deferred :: get_file_bracket

  • subroutine get_file_bracket(this, input_time, source_time, bracket, fail_on_missing_file, rc) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(ExtDataAbstractFileHandler), intent(inout) :: this
    type(ESMF_Time), intent(in) :: input_time
    type(ESMF_Time), intent(in) :: source_time(:)
    type(ExtDataBracket), intent(inout) :: bracket
    logical, intent(in) :: fail_on_missing_file
    integer, intent(out), optional :: rc

procedure, public :: get_time_on_file

  • private subroutine get_time_on_file(this, filename, target_time, bracketside, time_index, output_time, unusable, wrap, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(ExtDataAbstractFileHandler), intent(inout) :: this
    character(len=*), intent(inout) :: filename
    type(ESMF_Time), intent(in) :: target_time
    character(len=*), intent(in) :: bracketside
    integer, intent(out) :: time_index
    type(ESMF_Time), intent(out) :: output_time
    class(KeywordEnforcer), intent(out), optional :: unusable
    integer, intent(inout), optional :: wrap
    integer, intent(out), optional :: rc

procedure, public :: initialize

  • private subroutine initialize(this, file_series, persist_closest, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(ExtDataAbstractFileHandler), intent(inout) :: this
    type(ExtDataFileStream), intent(in) :: file_series
    logical, intent(in), optional :: persist_closest
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: make_metadata

  • private subroutine make_metadata(this, file, metadata, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(ExtDataAbstractFileHandler), intent(inout) :: this
    character(len=*), intent(in) :: file
    type(FileMetadataUtils), intent(inout), pointer :: metadata
    integer, intent(out), optional :: rc