ESMF_IOUGridMod 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_GetElemFromUGridFile(filename, meshname, elmtConn, elmtNums, startElmt, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: meshname
integer(kind=ESMF_KIND_I4), pointer :: elmtConn(:)
integer(kind=ESMF_KIND_I4), pointer :: elmtNums(:)
integer, intent(out) :: startElmt
integer, intent(out), optional :: rc

private subroutine ESMF_GetMesh2DFromUGrid(filename, ncid, meshid, nodeCoords, elmtConn, elmtNums, startElmt, faceCoords, convertToDeg, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(in) :: ncid
integer, intent(in) :: meshid
real(kind=ESMF_KIND_R8), pointer :: nodeCoords(:,:)
integer(kind=ESMF_KIND_I4), pointer :: elmtConn(:)
integer(kind=ESMF_KIND_I4), pointer :: elmtNums(:)
integer, intent(out) :: startElmt
real(kind=ESMF_KIND_R8), optional, pointer :: faceCoords(:,:)
logical, intent(in), optional :: convertToDeg
integer, intent(out), optional :: rc

private subroutine ESMF_GetMesh3DFromUGrid(filename, ncid, meshid, nodeCoords, elmtConn, elmtNums, startElmt, faceCoords, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(in) :: ncid
integer, intent(in) :: meshid
real(kind=ESMF_KIND_R8), pointer :: nodeCoords(:,:)
integer(kind=ESMF_KIND_I4), pointer :: elmtConn(:)
integer(kind=ESMF_KIND_I4), pointer :: elmtNums(:)
integer, intent(out) :: startElmt
real(kind=ESMF_KIND_R8), optional, pointer :: faceCoords(:,:)
integer, intent(out), optional :: rc

public subroutine ESMF_GetMeshFromUGridFile(filename, nodeCoords, elmtConn, elmtNums, startElmt, faceCoords, convertToDeg, rc)

Arguments

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

public subroutine ESMF_GetNodeFromUGridFile(filename, meshname, nodeCoords, nodeCount, startNode, convertToDeg, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: meshname
real(kind=ESMF_KIND_R8), pointer :: nodeCoords(:,:)
integer, intent(in), optional :: nodeCount
integer, intent(in), optional :: startNode
logical, intent(in), optional :: convertToDeg
integer, intent(out), optional :: rc

public subroutine ESMF_UGridGetCoords(filename, meshid, coords, start, count, centerflag, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(in) :: meshid
real(kind=ESMF_KIND_R8), pointer :: coords(:,:)
integer, intent(in) :: start
integer, intent(in) :: count
logical, intent(in) :: centerflag
integer, intent(out) :: rc

public subroutine ESMF_UGridGetVar(filename, meshId, nodeXcoords, nodeYcoords, faceXcoords, faceYcoords, faceNodeConnX, faceNodeConnY, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer :: meshId
real(kind=ESMF_KIND_R8), optional, pointer :: nodeXcoords(:)
real(kind=ESMF_KIND_R8), optional, pointer :: nodeYcoords(:)
real(kind=ESMF_KIND_R8), optional, pointer :: faceXcoords(:)
real(kind=ESMF_KIND_R8), optional, pointer :: faceYcoords(:)
real(kind=ESMF_KIND_R8), optional, pointer :: faceNodeConnX(:,:)
real(kind=ESMF_KIND_R8), optional, pointer :: faceNodeConnY(:,:)
integer, intent(out), optional :: rc

public subroutine ESMF_UGridGetVarByName(filename, varname, varbuffer, startind, count, location, missingvalue, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: varname
real(kind=ESMF_KIND_R8), pointer :: varbuffer(:)
integer, intent(in), optional :: startind
integer, intent(in), optional :: count
character(len=*), intent(in), optional :: location
real(kind=ESMF_KIND_R8), intent(out), optional :: missingvalue
integer :: rc

public subroutine ESMF_UGridInq(filename, meshname, nodeCount, elementCount, maxNodePElement, units, fillvalue, nodeCoordDim, faceCoordFlag, meshid, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in), optional :: meshname
integer, intent(out), optional :: nodeCount
integer, intent(out), optional :: elementCount
integer, intent(out), optional :: maxNodePElement
character(len=*), intent(out), optional :: units
integer, intent(out), optional :: fillvalue
integer, intent(out), optional :: nodeCoordDim
logical, intent(out), optional :: faceCoordFlag
integer, intent(out), optional :: meshid
integer, intent(out), optional :: rc

private subroutine ESMF_UGridInqVarLoc(ncid, VarId, varname, location, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ncid
integer, intent(in) :: VarId
character(len=*), intent(in) :: varname
integer, intent(out) :: location
integer :: rc