f_esmf_fieldread Subroutine

subroutine f_esmf_fieldread(field, file, variableName, timeSlice, iofmt, rc)

Uses

  • proc~~f_esmf_fieldread~~UsesGraph proc~f_esmf_fieldread f_esmf_fieldread module~esmf_fieldmod ESMF_FieldMod proc~f_esmf_fieldread->module~esmf_fieldmod module~esmf_fieldprmod ESMF_FieldPrMod proc~f_esmf_fieldread->module~esmf_fieldprmod module~esmf_logerrmod ESMF_LogErrMod proc~f_esmf_fieldread->module~esmf_logerrmod module~esmf_utiltypesmod ESMF_UtilTypesMod proc~f_esmf_fieldread->module~esmf_utiltypesmod module~esmf_fieldmod->module~esmf_logerrmod module~esmf_fieldmod->module~esmf_utiltypesmod ESMF_ArrayCreateMod ESMF_ArrayCreateMod module~esmf_fieldmod->ESMF_ArrayCreateMod ESMF_ArrayGetMod ESMF_ArrayGetMod module~esmf_fieldmod->ESMF_ArrayGetMod module~esmf_arraymod ESMF_ArrayMod module~esmf_fieldmod->module~esmf_arraymod module~esmf_arrayspecmod ESMF_ArraySpecMod module~esmf_fieldmod->module~esmf_arrayspecmod module~esmf_basemod ESMF_BaseMod module~esmf_fieldmod->module~esmf_basemod module~esmf_delayoutmod ESMF_DELayoutMod module~esmf_fieldmod->module~esmf_delayoutmod module~esmf_distgridmod ESMF_DistGridMod module~esmf_fieldmod->module~esmf_distgridmod module~esmf_geommod ESMF_GeomMod module~esmf_fieldmod->module~esmf_geommod module~esmf_gridmod ESMF_GridMod module~esmf_fieldmod->module~esmf_gridmod module~esmf_infomod ESMF_InfoMod module~esmf_fieldmod->module~esmf_infomod module~esmf_initmacrosmod ESMF_InitMacrosMod module~esmf_fieldmod->module~esmf_initmacrosmod module~esmf_localarraymod ESMF_LocalArrayMod module~esmf_fieldmod->module~esmf_localarraymod module~esmf_locstreammod ESMF_LocStreamMod module~esmf_fieldmod->module~esmf_locstreammod module~esmf_meshmod ESMF_MeshMod module~esmf_fieldmod->module~esmf_meshmod module~esmf_staggerlocmod ESMF_StaggerLocMod module~esmf_fieldmod->module~esmf_staggerlocmod module~esmf_timemod ESMF_TimeMod module~esmf_fieldmod->module~esmf_timemod module~esmf_utilmod ESMF_UtilMod module~esmf_fieldmod->module~esmf_utilmod module~esmf_xgridcreatemod ESMF_XGridCreateMod module~esmf_fieldmod->module~esmf_xgridcreatemod module~esmf_xgridmod ESMF_XGridMod module~esmf_fieldmod->module~esmf_xgridmod module~esmf_fieldprmod->module~esmf_fieldmod module~esmf_fieldprmod->module~esmf_logerrmod module~esmf_fieldprmod->module~esmf_utiltypesmod module~esmf_fieldprmod->ESMF_ArrayCreateMod module~esmf_fieldprmod->ESMF_ArrayGetMod ESMF_FieldGetMod ESMF_FieldGetMod module~esmf_fieldprmod->ESMF_FieldGetMod module~esmf_fieldprmod->module~esmf_arraymod module~esmf_fieldprmod->module~esmf_arrayspecmod module~esmf_fieldprmod->module~esmf_basemod module~esmf_fieldprmod->module~esmf_delayoutmod module~esmf_fieldprmod->module~esmf_distgridmod module~esmf_fieldprmod->module~esmf_geommod module~esmf_fieldprmod->module~esmf_gridmod module~esmf_fieldprmod->module~esmf_initmacrosmod module~esmf_iomod~2 ESMF_IOMod module~esmf_fieldprmod->module~esmf_iomod~2 module~esmf_ioutilmod ESMF_IOUtilMod module~esmf_fieldprmod->module~esmf_ioutilmod module~esmf_fieldprmod->module~esmf_localarraymod module~esmf_fieldprmod->module~esmf_staggerlocmod module~esmf_fieldprmod->module~esmf_timemod module~esmf_fieldprmod->module~esmf_utilmod module~esmf_vmmod ESMF_VMMod module~esmf_fieldprmod->module~esmf_vmmod module~esmf_logerrmod->module~esmf_utiltypesmod module~esmf_logerrmod->module~esmf_ioutilmod module~esmf_utilstringmod ESMF_UtilStringMod module~esmf_logerrmod->module~esmf_utilstringmod iso_c_binding iso_c_binding module~esmf_utiltypesmod->iso_c_binding

Arguments

Type IntentOptional Attributes Name
type(ESMF_Field), intent(inout) :: field
character(len=*), intent(in) :: file
character(len=*), intent(in) :: variableName
integer, intent(in) :: timeSlice
type(ESMF_IOFmt_Flag), intent(in) :: iofmt
integer, intent(out) :: rc

Calls

proc~~f_esmf_fieldread~~CallsGraph proc~f_esmf_fieldread f_esmf_fieldread proc~esmf_fieldread ESMF_FieldRead proc~f_esmf_fieldread->proc~esmf_fieldread proc~esmf_logfounderror ESMF_LogFoundError proc~f_esmf_fieldread->proc~esmf_logfounderror esmf_breakpoint esmf_breakpoint proc~esmf_logfounderror->esmf_breakpoint proc~esmf_logrc2msg ESMF_LogRc2Msg proc~esmf_logfounderror->proc~esmf_logrc2msg proc~esmf_logwrite ESMF_LogWrite proc~esmf_logfounderror->proc~esmf_logwrite c_esmc_loggeterrormsg c_esmc_loggeterrormsg proc~esmf_logrc2msg->c_esmc_loggeterrormsg c_esmc_vmwtime c_esmc_vmwtime proc~esmf_logwrite->c_esmc_vmwtime proc~esmf_logclose ESMF_LogClose proc~esmf_logwrite->proc~esmf_logclose proc~esmf_logflush ESMF_LogFlush proc~esmf_logwrite->proc~esmf_logflush proc~esmf_logopenfile ESMF_LogOpenFile proc~esmf_logwrite->proc~esmf_logopenfile proc~esmf_utiliounitflush ESMF_UtilIOUnitFlush proc~esmf_logwrite->proc~esmf_utiliounitflush proc~esmf_utilstring2array ESMF_UtilString2Array proc~esmf_logwrite->proc~esmf_utilstring2array proc~esmf_logclose->proc~esmf_logflush proc~esmf_logflush->proc~esmf_utiliounitflush proc~esmf_utilarray2string ESMF_UtilArray2String proc~esmf_logflush->proc~esmf_utilarray2string proc~esmf_logopenfile->proc~esmf_utiliounitflush proc~esmf_utiliounitget ESMF_UtilIOUnitGet proc~esmf_logopenfile->proc~esmf_utiliounitget

Source Code

  subroutine f_esmf_fieldread (field,  &
      file, variableName, timeSlice, iofmt, rc)
    use ESMF_FieldMod
    use ESMF_FieldPrMod
    use ESMF_LogErrMod
    use ESMF_UtilTypesMod

    implicit none

    type(ESMF_Field), intent(inout)   :: field
    character(*),     intent(in)      :: file
    character(*),     intent(in)      :: variableName
    integer,          intent(in)      :: timeSlice
    type(ESMF_IOFmt_Flag), intent(in) :: iofmt
    integer,          intent(out)     :: rc

    integer :: localrc

! if (present (variableName)) then
! print *, ESMF_METHOD, ': file = ', file, ', variableName = ', variableName
! else
! print *, ESMF_METHOD, ': file = ', file, ', variableName not present'
! end if
! print *, ESMF_METHOD, ': timeSlice =', timeSlice
    call ESMF_FieldRead (field, file,  &
        variableName=variablename, timeSlice=timeSlice, iofmt=iofmt,  &
        rc=localrc)
    if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, &
      ESMF_CONTEXT, rcToReturn=rc)) return

    rc = ESMF_SUCCESS

  end subroutine f_esmf_fieldread