NCIOMod Module


Uses

  • module~~nciomod~~UsesGraph module~nciomod NCIOMod ESMF ESMF module~nciomod->ESMF gFTL_StringIntegerMap gFTL_StringIntegerMap module~nciomod->gFTL_StringIntegerMap gFTL_StringVector gFTL_StringVector module~nciomod->gFTL_StringVector iso_c_binding iso_c_binding module~nciomod->iso_c_binding iso_fortran_env iso_fortran_env module~nciomod->iso_fortran_env module~fileiosharedmod FileIOSharedMod module~nciomod->module~fileiosharedmod module~mapl_basemod MAPL_BaseMod module~nciomod->module~mapl_basemod module~mapl_commsmod MAPL_CommsMod module~nciomod->module~mapl_commsmod module~mapl_exceptionhandling MAPL_ExceptionHandling module~nciomod->module~mapl_exceptionhandling module~mapl_shmemmod MAPL_ShmemMod module~nciomod->module~mapl_shmemmod module~mapl_sortmod MAPL_SortMod module~nciomod->module~mapl_sortmod module~pfio pFIO module~nciomod->module~pfio mpi mpi module~nciomod->mpi netcdf netcdf module~nciomod->netcdf

Used by

  • module~~nciomod~~UsedByGraph module~nciomod NCIOMod module~mapl_iomod MAPL_IOMod module~mapl_iomod->module~nciomod module~mapl_capgridcompmod MAPL_CapGridCompMod module~mapl_capgridcompmod->module~mapl_iomod module~mapl_cfiomod MAPL_CFIOMod module~mapl_cfiomod->module~mapl_iomod module~mapl_extdatagridcompmod MAPL_ExtDataGridCompMod module~mapl_extdatagridcompmod->module~mapl_iomod module~mapl_genericcplcompmod MAPL_GenericCplCompMod module~mapl_genericcplcompmod->module~mapl_iomod module~mapl_genericmod MAPL_GenericMod module~mapl_genericmod->module~mapl_iomod module~mapl_historygridcompmod MAPL_HistoryGridCompMod module~mapl_historygridcompmod->module~mapl_iomod module~mapl_locstreammod MAPL_LocStreamMod module~mapl_locstreammod->module~mapl_iomod module~mapl_memutilsmod MAPL_MemUtilsMod module~mapl_memutilsmod->module~mapl_iomod module~mapl_sunmod MAPL_SunMod module~mapl_sunmod->module~mapl_iomod module~maplbase_mod MAPLBase_Mod module~maplbase_mod->module~mapl_iomod

Interfaces

public interface MAPL_VarRead

  • private subroutine MAPL_VarReadNCpar_R4_1d(formatter, name, A, layout, ARRDES, MASK, offset1, offset2, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R4), intent(inout) :: A(:)
    type(ESMF_DELayout), intent(in), optional :: layout
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: MASK(:)
    integer, intent(in), optional :: offset1
    integer, intent(in), optional :: offset2
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarReadNCpar_R4_2d(formatter, name, A, ARRDES, lev, offset2, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R4), intent(inout) :: A(:,:)
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: lev
    integer, intent(in), optional :: offset2
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarReadNCpar_R4_3d(formatter, name, A, ARRDES, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R4), intent(inout) :: A(:,:,:)
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarReadNCpar_R8_1d(formatter, name, A, layout, ARRDES, MASK, offset1, offset2, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R8), intent(out) :: A(:)
    type(ESMF_DELayout), intent(in), optional :: layout
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: MASK(:)
    integer, intent(in), optional :: offset1
    integer, intent(in), optional :: offset2
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarReadNCpar_R8_2d(formatter, name, A, ARRDES, lev, offset2, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R8), intent(inout) :: A(:,:)
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: lev
    integer, intent(in), optional :: offset2
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarReadNCpar_R8_3d(formatter, name, A, ARRDES, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R8), intent(inout) :: A(:,:,:)
    type(ArrDescr), intent(inout) :: ARRDES
    integer, intent(out), optional :: RC

public interface MAPL_VarReadNCPar

  • private subroutine MAPL_StateVarReadNCPar(filename, STATE, ARRDES, bootstrapable, NAME, RC)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: filename
    type(ESMF_State), intent(inout) :: STATE
    type(ArrDescr), intent(inout) :: ARRDES
    logical, intent(in) :: bootstrapable
    character(len=*), intent(in), optional :: NAME
    integer, intent(out), optional :: RC
  • private subroutine MAPL_BundleReadNCPar(Bundle, arrdes, filename, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_FieldBundle), intent(inout) :: Bundle
    type(ArrDescr), intent(inout) :: arrdes
    character(len=*), intent(in) :: filename
    integer, intent(out), optional :: rc
  • private subroutine MAPL_ArrayReadNCpar_1d(varn, filename, farrayPtr, arrDes, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: varn
    character(len=*), intent(in) :: filename
    real, pointer :: farrayPtr(:)
    type(ArrDescr), intent(inout) :: arrDes
    integer, intent(out), optional :: rc
  • private subroutine MAPL_ArrayReadNCpar_2d(varn, filename, farrayPtr, arrDes, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: varn
    character(len=*), intent(in) :: filename
    real, pointer :: farrayPtr(:,:)
    type(ArrDescr), intent(inout) :: arrDes
    integer, intent(out), optional :: rc
  • private subroutine MAPL_ArrayReadNCpar_3d(varn, filename, farrayPtr, arrDes, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: varn
    character(len=*), intent(in) :: filename
    real, pointer :: farrayPtr(:,:,:)
    type(ArrDescr), intent(inout) :: arrDes
    integer, intent(out), optional :: rc

public interface MAPL_VarWrite

  • private subroutine MAPL_VarWriteNCpar_R4_1d(formatter, name, A, layout, ARRDES, MASK, offset1, offset2, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R4), intent(in) :: A(:)
    type(ESMF_DELayout), intent(in), optional :: layout
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: MASK(:)
    integer, intent(in), optional :: offset1
    integer, intent(in), optional :: offset2
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarWriteNCpar_R4_2d(formatter, name, A, ARRDES, lev, offset2, oClients, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R4), intent(in) :: A(:,:)
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: lev
    integer, intent(in), optional :: offset2
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarWriteNCpar_R4_3d(formatter, name, A, ARRDES, oClients, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R4), intent(in) :: A(:,:,:)
    type(ArrDescr), intent(inout), optional :: ARRDES
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarWriteNCpar_R4_4d(formatter, name, A, ARRDES, oClients, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R4), intent(in) :: A(:,:,:,:)
    type(ArrDescr), intent(inout), optional :: ARRDES
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarWriteNCpar_R8_1d(formatter, name, A, layout, ARRDES, MASK, offset1, offset2, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R8), intent(in) :: A(:)
    type(ESMF_DELayout), intent(in), optional :: layout
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: MASK(:)
    integer, intent(in), optional :: offset1
    integer, intent(in), optional :: offset2
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarWriteNCpar_R8_2d(formatter, name, A, ARRDES, lev, offset2, oClients, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R8), intent(in) :: A(:,:)
    type(ArrDescr), intent(inout), optional :: ARRDES
    integer, intent(in), optional :: lev
    integer, intent(in), optional :: offset2
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarWriteNCpar_R8_3d(formatter, name, A, ARRDES, oClients, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R8), intent(in) :: A(:,:,:)
    type(ArrDescr), intent(inout) :: ARRDES
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: RC
  • private subroutine MAPL_VarWriteNCpar_R8_4d(formatter, name, A, ARRDES, oClients, RC)

    Arguments

    Type IntentOptional Attributes Name
    type(NetCDF4_FileFormatter), intent(in) :: formatter
    character(len=*), intent(in) :: name
    real(kind=ESMF_KIND_R8), intent(in) :: A(:,:,:,:)
    type(ArrDescr), intent(inout) :: ARRDES
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: RC

public interface MAPL_VarWriteNCPar

  • private subroutine MAPL_StateVarWriteNCPar(filename, STATE, ARRDES, CLOCK, NAME, forceWriteNoRestart, oClients, RC)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: filename
    type(ESMF_State), intent(in) :: STATE
    type(ArrDescr), intent(inout) :: ARRDES
    type(ESMF_Clock), intent(in) :: CLOCK
    character(len=*), intent(in), optional :: NAME
    logical, intent(in), optional :: forceWriteNoRestart
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: RC
  • private subroutine MAPL_BundleWriteNCPar(Bundle, arrdes, CLOCK, filename, oClients, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_FieldBundle), intent(inout) :: Bundle
    type(ArrDescr), intent(inout) :: arrdes
    type(ESMF_Clock), intent(in) :: CLOCK
    character(len=*), intent(in) :: filename
    type(ClientManager), intent(inout), optional :: oClients
    integer, intent(out), optional :: rc

Functions

public function get_fname_by_rank(fname, rank) result(name)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fname
integer, intent(in) :: rank

Return Value character(len=:), allocatable

public function MAPL_IOGetNonDimVars(cf, rc) result(nondim_vars)

Arguments

Type IntentOptional Attributes Name
type(FileMetadata), intent(inout) :: cf
integer, intent(out), optional :: rc

Return Value type(StringVector)


Subroutines

public subroutine MAPL_IOChangeRes(cfIn, cfOut, dimNames, dimSizes, rc)

Arguments

Type IntentOptional Attributes Name
type(FileMetadata), intent(inout) :: cfIn
type(FileMetadata), intent(inout) :: cfOut
character(len=*) :: dimNames(:)
integer, intent(in) :: dimSizes(:)
integer, intent(out), optional :: rc

public subroutine MAPL_IOCountLevels(cf, nlev, rc)

Arguments

Type IntentOptional Attributes Name
type(FileMetadata), intent(inout) :: cf
integer, intent(out) :: nlev
integer, intent(out), optional :: rc

public subroutine MAPL_IOCountNonDimVars(cf, nvars, rc)

Arguments

Type IntentOptional Attributes Name
type(FileMetadata), intent(inout) :: cf
integer, intent(out) :: nvars
integer, intent(out), optional :: rc

public subroutine MAPL_IOGetTime(cf, nymd, nhms, rc)

Arguments

Type IntentOptional Attributes Name
type(FileMetadata), intent(inout) :: cf
integer, intent(out) :: nymd
integer, intent(out) :: nhms
integer, intent(out), optional :: rc

public subroutine MAPL_NCIOGetFileType(filename, filetype, RC)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(inout) :: filetype
integer, intent(out), optional :: RC

public subroutine MAPL_NCIOParseTimeUnits(TimeUnits, year, month, day, hour, min, sec, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*) :: TimeUnits
integer :: year
integer :: month
integer :: day
integer :: hour
integer :: min
integer :: sec
integer :: rc