ESMF_FileRegridMod Module



Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: MAXNAMELEN = 64
integer, public, parameter :: MAX_VARDIMS = 4

Subroutines

public subroutine CheckVarInfo(filename, varname, varexist, filetype, meshVar, attstr, ndims, dims, dimids, haveMask, missingval, locstr, vartype, coordnames, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: varname
logical, intent(out) :: varexist
type(ESMF_FileFormat_Flag), intent(in) :: filetype
character(len=*), intent(in) :: meshVar
character(len=*), intent(out) :: attstr
integer, intent(out) :: ndims
integer, intent(out) :: dims(:)
integer, intent(out) :: dimids(:)
logical, intent(out) :: haveMask
real(kind=ESMF_KIND_R8) :: missingval
character(len=*), intent(inout), optional :: locstr
integer, intent(out), optional :: vartype
character(len=*), intent(in), optional :: coordnames(:)
integer, intent(out), optional :: rc

public subroutine CheckVarMask(filename, varname, haveMask, missingval, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: varname
logical, intent(out) :: haveMask
real(kind=ESMF_KIND_R8) :: missingval
integer, optional :: rc

public subroutine CreateDstVar(srcFile, dstFile, fileType, srcVarName, dstVarName, varDims, varRank, varStr, locStr, varDimids, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: srcFile
character(len=*), intent(in) :: dstFile
type(ESMF_FileFormat_Flag), intent(in) :: fileType
character(len=*), intent(in) :: srcVarName
character(len=*), intent(in) :: dstVarName
integer, intent(in) :: varDims(:)
integer, intent(in) :: varRank
character(len=*), intent(in) :: varStr
character(len=*), intent(in) :: locStr
integer, intent(in) :: varDimids(:)
integer, intent(out) :: rc

public subroutine ESMF_FileRegrid(srcFile, dstFile, srcVarName, dstVarName, keywordEnforcer, dstLoc, srcDataFile, dstDataFile, tileFilePath, dstCoordVars, regridmethod, polemethod, regridPoleNPnts, unmappedaction, ignoreDegenerate, srcRegionalFlag, dstRegionalFlag, verboseFlag, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: srcFile
character(len=*), intent(in) :: dstFile
character(len=*), intent(in) :: srcVarName
character(len=*), intent(in) :: dstVarName
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
character(len=*), intent(in), optional :: dstLoc
character(len=*), intent(in), optional :: srcDataFile
character(len=*), intent(in), optional :: dstDataFile
character(len=*), intent(in), optional :: tileFilePath
character(len=*), intent(in), optional :: dstCoordVars
type(ESMF_RegridMethod_Flag), intent(in), optional :: regridmethod
type(ESMF_PoleMethod_Flag), intent(in), optional :: polemethod
integer, intent(in), optional :: regridPoleNPnts
type(ESMF_UnmappedAction_Flag), intent(in), optional :: unmappedaction
logical, intent(in), optional :: ignoreDegenerate
logical, intent(in), optional :: srcRegionalFlag
logical, intent(in), optional :: dstRegionalFlag
logical, intent(in), optional :: verboseFlag
integer, intent(out), optional :: rc

public subroutine ReadMosaicField(field, inputfile, mosaic, rank, dims, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Field), intent(in) :: field
character(len=*), intent(in) :: inputfile
type(ESMF_Mosaic), intent(in) :: mosaic
integer, intent(in) :: rank
integer, intent(in) :: dims(:)
integer, intent(out), optional :: rc

public subroutine RedistOnlyFromPet0(arrayPet0, array, rh, buffer, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Array), intent(inout) :: arrayPet0
type(ESMF_Array), intent(inout) :: array
type(ESMF_RouteHandle), intent(inout) :: rh
real(kind=ESMF_KIND_R8), optional, pointer :: buffer(:)
integer, intent(out), optional :: rc

public subroutine WriteMosaicField(field, inputfile, mosaic, rank, dims, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Field), intent(in) :: field
character(len=*), intent(in) :: inputfile
type(ESMF_Mosaic), intent(in) :: mosaic
integer, intent(in) :: rank
integer, intent(in) :: dims(:)
integer, intent(out), optional :: rc