next up previous contents
Next: ncd_iolocal_real_1d Up: Fortran: Module Interface ncdioMod Previous: ncd_iolocal_gs_int1d   Contents

ncd_iolocal_gs_int2d


INTERFACE:

   subroutine ncd_iolocal_gs_int2d(ncid, varname, flag, data, clmlevel, start, count, status, missing, usepio)
DESCRIPTION:

Netcdf i/o of 2d initial real field out to netCDF file


USES:

   use spmdGathScatMod, only : scatter_data_from_master, gather_data_to_master
ARGUMENTS:
     implicit none
     integer          ,intent(in)  :: ncid       ! input unit
     character(len=*) ,intent(in)  :: varname    ! variable name
     character(len=*) ,intent(in)  :: flag       ! 'read' or 'write'
     integer ,pointer              :: data(:,:)  ! local decomposition input data (out)
     character(len=*) ,intent(in)  :: clmlevel   ! type of grid
     integer, optional,intent(in)  :: start(:)   ! netcdf start index
     integer, optional,intent(in)  :: count(:)   ! netcdf count index
     integer, optional,intent(out) :: status     ! return code
     integer ,optional,intent(in)  :: missing    ! missing value
     logical, optional,intent(in)  :: usepio     ! use pio lib
     !--- rcodes:
     !      0  : success
     !    -99  : general error
     !     -5  : var not found on read
REVISION HISTORY:
LOCAL VARIABLES:




Erik Kluzek 2010-06-21