ESMF_CFIOSdfVarRead Interface

public interface ESMF_CFIOSdfVarRead

Module Procedures

private subroutine ESMF_CFIOSdfVarRead3D_(cfio, vName, field, date, curTime, kbeg, kount, xBeg, xCount, yBeg, yCount, timeString, rc)

ESMF_CFIOSdfVarRead3D_ – Read a variable from an existing file.

Arguments

Type IntentOptional Attributes Name
type(ESMF_CFIO), intent(inout) :: cfio

a CFIO obj

character(len=*), intent(in) :: vName

variable name

real, pointer :: field(:,:,:)

array contains data

integer, intent(in), optional :: date

yyyymmdd

integer, intent(in), optional :: curTime

hhmmss

integer, intent(in), optional :: kbeg

first level to write

integer, intent(in), optional :: kount

number of levels to write

integer, intent(in), optional :: xBeg

first point for lon

integer, intent(in), optional :: xCount

number of points to read

integer, intent(in), optional :: yBeg

first point for lat

integer, intent(in), optional :: yCount

number of points to read

character(len=*), intent(in), optional :: timeString

string expression for date and time

integer, intent(out), optional :: rc

Error return code: 0 all is well rc = -2 time is inconsistent with increment rc = -3 number of levels is incompatible with file rc = -4 im is incompatible with file rc = -5 jm is incompatible with file rc = -6 time must fall on a minute boundary rc = -7 error in diffdate rc = -8 vname miss-match rc = -12 error determining default precision rc = -13 error determining variable type rc = -19 unable to identify coordinate variable rc = -38 error from NF90_VAR_PUT (dimension variable) rc = -40 error from NF90_INQ_VARID rc = -41 error from NF90_INQ_DIMID (lat or lon) rc = -42 error from NF90_INQ_DIMID (lev) rc = -43 error from NF90_INQ_VARID (time variable) rc = -44 error from NF90_GET_ATT (time attribute) rc = -46 error from NF90_GET_VAR rc = -48 error from NF90_INQUIRE rc = -52 error from NF90_INQUIRE_VARIABLE

private subroutine ESMF_CFIOSdfVarRead2D_(cfio, vName, field, date, curTime, kbeg, kount, xBeg, xCount, yBeg, yCount, timeString, rc)

ESMF_CFIOSdfVarRead2D_ – Read a variable from an existing file.

Arguments

Type IntentOptional Attributes Name
type(ESMF_CFIO), intent(inout) :: cfio

a CFIO obj

character(len=*), intent(in) :: vName

variable name

real, pointer :: field(:,:)

array contains data

integer, intent(in), optional :: date

yyyymmdd

integer, intent(in), optional :: curTime

hhmmss

integer, intent(in), optional :: kbeg

first level to write

integer, intent(in), optional :: kount

number of levels to write

integer, intent(in), optional :: xBeg

first point for lon

integer, intent(in), optional :: xCount

number of points to read

integer, intent(in), optional :: yBeg

first point for lat

integer, intent(in), optional :: yCount

number of points to read

character(len=*), intent(in), optional :: timeString

string expression for date and time

integer, intent(out), optional :: rc

Error return code: 0 all is well rc = -2 time is inconsistent with increment rc = -3 number of levels is incompatible with file rc = -4 im is incompatible with file rc = -5 jm is incompatible with file rc = -6 time must fall on a minute boundary rc = -7 error in diffdate rc = -8 vname miss-match rc = -12 error determining default precision rc = -13 error determining variable type rc = -19 unable to identify coordinate variable rc = -38 error from NF90_VAR_PUT (dimension variable) rc = -40 error from NF90_INQ_VARID rc = -41 error from NF90_INQ_DIMID (lat or lon) rc = -42 error from NF90_INQ_DIMID (lev) rc = -43 error from NF90_INQ_VARID (time variable) rc = -44 error from NF90_GET_ATT (time attribute) rc = -46 error from NF90_GET_VAR rc = -48 error from NF90_INQUIRE rc = -52 error from NF90_INQUIRE_VARIABLE

private subroutine ESMF_CFIOSdfVarRead1D_(cfio, vName, field, date, curTime, xBeg, xCount, timeString, rc)

ESMF_CFIOSdfVarRead1D_ – Read a variable from an existing file.

Arguments

Type IntentOptional Attributes Name
type(ESMF_CFIO), intent(inout) :: cfio

a CFIO obj

character(len=*), intent(in) :: vName

variable name

real, pointer :: field(:)

array contains data

integer, intent(in), optional :: date

yyyymmdd

integer, intent(in), optional :: curTime

hhmmss

integer, intent(in), optional :: xBeg

first point for lon

integer, intent(in), optional :: xCount

number of points to read

character(len=*), intent(in), optional :: timeString

string expression for date and time

integer, intent(out), optional :: rc

Error return code: 0 all is well