ESMF_IOScripMod Module



Functions

private function CDFCheckError(ncStatus, module, fileName, lineNo, errmsg, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncStatus
character(len=*), intent(in) :: module
character(len=*), intent(in) :: fileName
integer, intent(in) :: lineNo
character(len=*), intent(in) :: errmsg
integer, intent(out), optional :: rc

Return Value logical


Subroutines

public subroutine ESMF_EsmfGetCoords(filename, coordBuffer, maskBuffer, start, count, faceflag, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
real(kind=ESMF_KIND_R8), intent(out) :: coordBuffer(:,:)
integer(kind=ESMF_KIND_I4), intent(out) :: maskBuffer(:)
integer, intent(in) :: start
integer, intent(in) :: count
logical, intent(in), optional :: faceflag
integer, intent(out) :: rc

public subroutine ESMF_EsmfGetElement(filename, elementConn, elmtNums, startElmt, elementMask, elementArea, centerCoords, convertToDeg, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer(kind=ESMF_KIND_I4), pointer :: elementConn(:)
integer(kind=ESMF_KIND_I4), pointer :: elmtNums(:)
integer, intent(out) :: startElmt
integer(kind=ESMF_KIND_I4), optional, pointer :: elementMask(:)
real(kind=ESMF_KIND_R8), optional, pointer :: elementArea(:)
real(kind=ESMF_KIND_R8), optional, pointer :: centerCoords(:,:)
logical, intent(in), optional :: convertToDeg
integer, intent(out), optional :: rc

public subroutine ESMF_EsmfGetNode(filename, nodeCoords, nodeMask, convertToDeg, coordSys, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
real(kind=ESMF_KIND_R8), pointer :: nodeCoords(:,:)
integer(kind=ESMF_KIND_I4), optional, pointer :: nodeMask(:)
logical, intent(in), optional :: convertToDeg
type(ESMF_CoordSys_Flag), optional :: coordSys
integer, intent(out), optional :: rc

private subroutine ESMF_EsmfGetVerts(ncid, filename, numElements, numNodePElement, numNodes, latBuffer, lonBuffer, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid
character(len=*), intent(in) :: filename
integer, intent(in) :: numElements
integer, intent(in) :: numNodePElement
integer, intent(in) :: numNodes
real(kind=ESMF_KIND_R8), intent(inout) :: latBuffer(:,:)
real(kind=ESMF_KIND_R8), intent(inout) :: lonBuffer(:,:)
integer, intent(out), optional :: rc

public subroutine ESMF_EsmfInq(filename, nodeCount, elementCount, maxNodePElement, coordDim, haveNodeMask, haveElmtMask, haveArea, haveOrigGridDims, origGridDims, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(out), optional :: nodeCount
integer, intent(out), optional :: elementCount
integer, intent(out), optional :: maxNodePElement
integer, intent(out), optional :: coordDim
logical, intent(out), optional :: haveNodeMask
logical, intent(out), optional :: haveElmtMask
logical, intent(out), optional :: haveArea
logical, intent(out), optional :: haveOrigGridDims
integer, intent(out), optional :: origGridDims(2)
integer, intent(out), optional :: rc

public subroutine ESMF_EsmfInqUnits(filename, units, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(out) :: units
integer, intent(out), optional :: rc

public subroutine ESMF_OutputScripVarFile(filename, varname, varbuffer, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: varname
real(kind=ESMF_KIND_R8), pointer :: varbuffer(:)
integer :: rc

public subroutine ESMF_OutputScripWeightFile(wgtFile, factorList, factorIndexList, srcFile, dstFile, srcFileType, dstFileType, title, method, normType, srcArea, dstArea, srcFrac, dstFrac, largeFileFlag, netcdf4FileFlag, srcmeshname, dstmeshname, srcMissingValue, dstMissingValue, srcvarname, dstvarname, useSrcCorner, useDstCorner, srccoordnames, dstcoordnames, tileFilePath, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: wgtFile
real(kind=ESMF_KIND_R8), intent(in) :: factorList(:)
integer(kind=ESMF_KIND_I4), intent(in), target :: factorIndexList(:,:)
character(len=*), intent(in), optional :: srcFile
character(len=*), intent(in), optional :: dstFile
type(ESMF_FileFormat_Flag), intent(in), optional :: srcFileType
type(ESMF_FileFormat_Flag), intent(in), optional :: dstFileType
character(len=*), intent(in), optional :: title
type(ESMF_RegridMethod_Flag), intent(in), optional :: method
type(ESMF_NormType_Flag), intent(in), optional :: normType
real(kind=ESMF_KIND_R8), intent(in), optional :: srcArea(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: dstArea(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: srcFrac(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: dstFrac(:)
logical, intent(in), optional :: largeFileFlag
logical, intent(in), optional :: netcdf4FileFlag
character(len=*), intent(in), optional :: srcmeshname
character(len=*), intent(in), optional :: dstmeshname
logical, intent(in), optional :: srcMissingValue
logical, intent(in), optional :: dstMissingValue
character(len=*), intent(in), optional :: srcvarname
character(len=*), intent(in), optional :: dstvarname
logical, intent(in), optional :: useSrcCorner
logical, intent(in), optional :: useDstCorner
character(len=*), intent(in), optional :: srccoordnames(:)
character(len=*), intent(in), optional :: dstcoordnames(:)
character(len=*), intent(in), optional :: tileFilePath
integer, optional :: rc

public subroutine ESMF_OutputSimpleWeightFile(wgtFile, factorList, factorIndexList, title, method, largeFileFlag, netcdf4FileFlag, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: wgtFile
real(kind=ESMF_KIND_R8), intent(in) :: factorList(:)
integer(kind=ESMF_KIND_I4), intent(in), target :: factorIndexList(:,:)
character(len=*), intent(in), optional :: title
type(ESMF_RegridMethod_Flag), intent(in), optional :: method
logical, intent(in), optional :: largeFileFlag
logical, intent(in), optional :: netcdf4FileFlag
integer, optional :: rc

public subroutine ESMF_OutputWeightFile(weightFile, factorList, factorIndexList, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: weightFile
real(kind=ESMF_KIND_R8), intent(in) :: factorList(:)
integer(kind=ESMF_KIND_I4), intent(in) :: factorIndexList(:,:)
integer, intent(inout), optional :: rc

public subroutine ESMF_ScripGetVar(filename, grid_center_lon, grid_center_lat, grid_imask, grid_corner_lon, grid_corner_lat, grid_area, convertToDeg, start, count, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
real(kind=ESMF_KIND_R8), intent(inout), optional :: grid_center_lon(:)
real(kind=ESMF_KIND_R8), intent(inout), optional :: grid_center_lat(:)
integer, intent(inout), optional :: grid_imask(:)
real(kind=ESMF_KIND_R8), intent(inout), optional :: grid_corner_lon(:,:)
real(kind=ESMF_KIND_R8), intent(inout), optional :: grid_corner_lat(:,:)
real(kind=ESMF_KIND_R8), intent(inout), optional :: grid_area(:)
logical, intent(in), optional :: convertToDeg
integer, intent(in), optional :: start
integer, intent(in), optional :: count
integer, intent(out), optional :: rc

public subroutine ESMF_ScripInq(filename, grid_size, grid_corners, grid_dims, grid_rank, has_area, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(out), optional :: grid_size
integer, intent(out), optional :: grid_corners
integer, intent(out), optional :: grid_dims(:)
integer, intent(out), optional :: grid_rank
logical, intent(out), optional :: has_area
integer, intent(out), optional :: rc

public subroutine ESMF_ScripInqUnits(filename, units, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(out) :: units
integer, intent(out), optional :: rc

public subroutine ESMF_SparseMatrixWrite(factorList, factorIndexList, fileName, keywordEnforcer, rc)

Arguments

Type IntentOptional Attributes Name
real(kind=ESMF_KIND_R8), intent(in) :: factorList(:)
integer(kind=ESMF_KIND_I4), intent(in) :: factorIndexList(:,:)
character(len=*), intent(in) :: fileName
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
integer, intent(out), optional :: rc