ESMF_CFIOSdfVarWrite Interface

public interface ESMF_CFIOSdfVarWrite

Module Procedures

private subroutine ESMF_CFIOSdfVarWrite3D_(cfio, vName, field, date, curTime, kbeg, kount, timeString, rc)

ESMF_CFIOSdfVarWrite3D_ – Write a variable to a output file.

Arguments

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

a CFIO obj

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

Variable name

real, intent(in) :: 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

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 = -12 error determining default precision rc = -13 error determining variable type rc = -15 data outside of valid range rc = -16 data outside of packing range rc = -17 data outside of pack and valid range 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 = -45 error from NF90_VAR_PUT rc = -46 error from NF90_GET_VAR rc = -52 error from NF90_INQUIRE_VARIABLE rc = -53 error from NF90_GET_ATT

private subroutine ESMF_CFIOSdfVarWrite2D_(cfio, vName, field, date, curTime, kbeg, kount, timeString, rc)

ESMF_CFIOSdfVarWrite2D_ – Write a variable to a output file.

Arguments

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

a CFIO obj

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

Variable name

real, intent(in) :: 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

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

string expression for date and time

integer, intent(out), optional :: rc

Error return code: 0 all is well

private subroutine ESMF_CFIOSdfVarWrite1D_(cfio, vName, field, date, curTime, timeString, rc)

ESMF_CFIOSdfVarWrite1D_ – Write a variable to a output file.

Arguments

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

a CFIO obj

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

Variable name

real, intent(in) :: field(:)

array contains data

integer, intent(in), optional :: date

yyyymmdd

integer, intent(in), optional :: curTime

hhmmss

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

string expression for date and time

integer, intent(out), optional :: rc

Error return code: 0 all is well