MAPL_EpochSwathMod Module

– based on subroutine bundlepost(this,filename,oClients,rc)


Uses

Used by

  • module~~mapl_epochswathmod~~UsedByGraph module~mapl_epochswathmod MAPL_EpochSwathMod module~mapl_historycollectionmod MAPL_HistoryCollectionMod module~mapl_historycollectionmod->module~mapl_epochswathmod module~mapl_historygridcompmod MAPL_HistoryGridCompMod module~mapl_historygridcompmod->module~mapl_epochswathmod module~mapl_historygridcompmod->module~mapl_historycollectionmod module~mapl_historycollectionvectormod MAPL_HistoryCollectionVectorMod module~mapl_historygridcompmod->module~mapl_historycollectionvectormod module~mapl_stringfieldsetmapmod MAPL_StringFieldSetMapMod module~mapl_historygridcompmod->module~mapl_stringfieldsetmapmod 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->module~mapl_historycollectionmod module~mapl_stringfieldsetmapmod->module~mapl_historycollectionmod module~extdatadrivermod ExtDataDriverMod module~extdatadrivermod->module~extdata_drivergridcompmod module~mapl_capmod MAPL_CapMod module~mapl_capmod->module~mapl_capgridcompmod program~comp_testing_driver comp_testing_driver program~comp_testing_driver->module~mapl_capgridcompmod program~extdata_driver ExtData_Driver program~extdata_driver->module~extdata_drivergridcompmod program~extdata_driver->module~extdatadrivermod module~mapl_gridcompsmod MAPL_GridCompsMod module~mapl_gridcompsmod->module~mapl_capmod module~mapl_nuopcwrappermod MAPL_NUOPCWrapperMod module~mapl_nuopcwrappermod->module~mapl_capmod

Interfaces

public interface sampler

  • private function new_sampler(metadata, input_bundle, output_bundle, write_collection_id, read_collection_id, metadata_collection_id, regrid_method, fraction, items, rc) result(GriddedIO)

    Arguments

    Type IntentOptional Attributes Name
    type(FileMetadata), intent(in), optional :: metadata
    type(ESMF_FieldBundle), intent(in), optional :: input_bundle
    type(ESMF_FieldBundle), intent(in), optional :: output_bundle
    integer, intent(in), optional :: write_collection_id
    integer, intent(in), optional :: read_collection_id
    integer, intent(in), optional :: metadata_collection_id
    integer, intent(in), optional :: regrid_method
    integer, intent(in), optional :: fraction
    type(GriddedIOitemVector), intent(in), optional :: items
    integer, intent(out), optional :: rc

    Return Value type(sampler)

public interface samplerHQ

  • private function new_samplerHQ(clock, key, config, rc) result(hq)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Clock), intent(in) :: clock
    character(len=*), intent(in) :: key
    type(ESMF_Config), intent(inout) :: config
    integer, intent(out), optional :: rc

    Return Value type(samplerHQ)


Derived Types

type, public ::  sampler

Components

Type Visibility Attributes Name Initial
integer, public, allocatable :: chunking(:)
integer, public :: deflateLevel = 0
integer, public :: epoch_sec
integer, public :: fraction
integer, public :: metadata_collection_id
integer, public :: nbits_to_keep = MAPL_NBITS_NOT_SET
integer, public :: quantizeAlgorithm = 1
integer, public :: quantizeLevel = 0
integer, public :: read_collection_id
integer, public :: regrid_method = REGRID_METHOD_BILINEAR
integer, public :: write_collection_id
logical, public :: doVertRegrid = .false.
logical, public :: have_initalized
logical, public :: itemOrderAlphabetical = .true.
real, public, allocatable :: corner_lats(:,:)
real, public, allocatable :: corner_lons(:,:)
real, public, allocatable :: lats(:,:)
real, public, allocatable :: lons(:,:)
real, public, allocatable :: times(:)
type(ESMF_Grid), public :: output_grid
type(ESMF_Time), public :: startTime
class(AbstractRegridder), public, pointer :: regrid_handle => null()
type(ESMF_FieldBundle), public :: acc_bundle
type(ESMF_FieldBundle), public :: input_bundle
type(ESMF_FieldBundle), public :: output_bundle
type(FileMetadata), public, allocatable :: metadata
type(FileMetadataUtils), public, pointer :: current_file_metadata
type(GriddedIOitemVector), public :: items
type(timeData), public :: timeInfo
type(verticalData), public :: vdata

Constructor

private function new_sampler (metadata, input_bundle, output_bundle, write_collection_id, read_collection_id, metadata_collection_id, regrid_method, fraction, items, rc)

Type-Bound Procedures

procedure, public :: CreateVariable
procedure, public :: Create_bundle_RH
procedure, public :: addVariable_to_acc_bundle
procedure, public :: alphabatize_variables
procedure, public :: check_chunking
procedure, public :: interp_accumulate_fields
procedure, public :: regridScalar => RegridScalar
procedure, public :: regridVector => RegridVector
procedure, public :: set_default_chunking
procedure, public :: set_param

type, public ::  samplerHQ

Components

Type Visibility Attributes Name Initial
character(len=ESMF_MAXSTR), public :: grid_type
character(len=ESMF_MAXSTR), public :: tunit
integer, public :: ngrid = 0
real(kind=8), public :: arr(2)
type(ESMF_Alarm), public :: alarm
type(ESMF_Clock), public :: clock
type(ESMF_Time), public :: RingTime
type(ESMF_TimeInterval), public :: Frequency_epoch
type(K_V_CF), public :: CF_loc(ngrid_max)

Constructor

private function new_samplerHQ (clock, key, config, rc)

Type-Bound Procedures

procedure, public :: config_accumulate
procedure, public :: create_grid
procedure, public :: destroy_rh_regen_ogrid
procedure, public :: fill_time_in_bundle
procedure, public :: find_config
procedure, public :: regrid_accumulate => regrid_accumulate_on_xysubset
procedure, public :: verify_epoch_equals_freq