MAPL_GriddedIOMod Module


Uses

Used by

  • module~~mapl_griddediomod~~UsedByGraph module~mapl_griddediomod MAPL_GriddedIOMod module~mapl_esmffieldbundleread MAPL_ESMFFieldBundleRead module~mapl_esmffieldbundleread->module~mapl_griddediomod module~mapl_esmffieldbundlewrite MAPL_ESMFFieldBundleWrite module~mapl_esmffieldbundlewrite->module~mapl_griddediomod module~mapl_extdata_iobundlemod MAPL_ExtData_IOBundleMod module~mapl_extdata_iobundlemod->module~mapl_griddediomod module~mapl_extdatang_iobundlemod MAPL_ExtDataNG_IOBundleMod module~mapl_extdatang_iobundlemod->module~mapl_griddediomod module~mapl_historycollectionmod MAPL_HistoryCollectionMod module~mapl_historycollectionmod->module~mapl_griddediomod module~bundletestsupport BundleTestSupport module~bundletestsupport->module~mapl_esmffieldbundleread module~bundletestsupport->module~mapl_esmffieldbundlewrite module~mapl MAPL module~mapl->module~mapl_esmffieldbundleread module~mapl->module~mapl_esmffieldbundlewrite module~mapl_extdata_iobundlevectormod MAPL_ExtData_IOBundleVectorMod module~mapl_extdata_iobundlevectormod->module~mapl_extdata_iobundlemod module~mapl_extdatagridcomp2g MAPL_ExtDataGridComp2G module~mapl_extdatagridcomp2g->module~mapl_extdatang_iobundlemod module~mapl_extdatang_iobundlevectormod MAPL_ExtDataNG_IOBundleVectorMod module~mapl_extdatagridcomp2g->module~mapl_extdatang_iobundlevectormod module~mapl_extdatagridcompmod MAPL_ExtDataGridCompMod module~mapl_extdatagridcompmod->module~mapl_extdata_iobundlemod module~mapl_extdatagridcompmod->module~mapl_extdata_iobundlevectormod module~mapl_extdatang_iobundlevectormod->module~mapl_extdatang_iobundlemod module~mapl_historycollectionvectormod MAPL_HistoryCollectionVectorMod module~mapl_historycollectionvectormod->module~mapl_historycollectionmod module~mapl_historygridcompmod MAPL_HistoryGridCompMod module~mapl_historygridcompmod->module~mapl_historycollectionmod module~mapl_historygridcompmod->module~mapl_historycollectionvectormod module~mapl_stringfieldsetmapmod MAPL_StringFieldSetMapMod module~mapl_historygridcompmod->module~mapl_stringfieldsetmapmod module~mapl_stringfieldsetmapmod->module~mapl_historycollectionmod program~regrid_util Regrid_Util program~regrid_util->module~mapl_esmffieldbundleread program~regrid_util->module~mapl_esmffieldbundlewrite 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~mapl_capgridcompmod MAPL_CapGridCompMod module~mapl_capgridcompmod->module~mapl_extdatagridcomp2g module~mapl_capgridcompmod->module~mapl_extdatagridcompmod module~mapl_capgridcompmod->module~mapl_historygridcompmod module~mapl_mod MAPL_Mod module~mapl_mod->module~mapl 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~comp_testing_driver comp_testing_driver program~comp_testing_driver->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 program~ut_regridding ut_ReGridding program~ut_regridding->module~bundletestsupport

Interfaces

public interface MAPL_GriddedIO

  • private function new_MAPL_GriddedIO(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(MAPL_GriddedIO)


Derived Types

type, public ::  MAPL_GriddedIO

Components

Type Visibility Attributes Name Initial
integer, public, allocatable :: chunking(:)
integer, public :: deflateLevel = 0
integer, public :: fraction
integer, public :: metadata_collection_id
integer, public :: nbits_to_keep = MAPL_NBITS_NOT_SET
integer, public :: quantizeAlgorithm = MAPL_NOQUANTIZE
integer, public :: quantizeLevel = 0
integer, public :: read_collection_id
integer, public :: regrid_hints = 0
integer, public :: regrid_method = REGRID_METHOD_BILINEAR
integer, public :: write_collection_id
integer, public :: zstandardLevel = 0
logical, public :: doVertRegrid = .false.
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 :: 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_MAPL_GriddedIO (metadata, input_bundle, output_bundle, write_collection_id, read_collection_id, metadata_collection_id, regrid_method, fraction, items, rc)

Type-Bound Procedures

procedure, public :: CreateFileMetaData
procedure, public :: CreateQuantizationInfo
procedure, public :: CreateVariable
procedure, public :: alphabatize_variables
procedure, public :: bundlePost => bundlepost
procedure, public :: check_chunking
procedure, public :: destroy
procedure, public :: modifyTime
procedure, public :: modifyTimeIncrement
procedure, public :: process_data_from_file
procedure, public :: regridScalar => RegridScalar
procedure, public :: regridVector => RegridVector
procedure, public :: request_data_from_file
procedure, public :: set_default_chunking
procedure, public :: set_param
procedure, public :: stage2DLatLon
procedure, public :: stageData
procedure, public :: swap_undef_value