next up previous contents
Next: ncd_io_real_var2 Up: Fortran: Module Interface ncdio_pioMod Previous: ncd_io_real_var1   Contents

ncd_io_int_var2


INTERFACE:

   subroutine ncd_io_int_var2(varname, data, dim1name, &
                          lowerb2, upperb2, flag, ncid, nt, readvar, switchdim)
DESCRIPTION:

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


USES:

ARGUMENTS:
     implicit none
     type(file_desc_t), intent(inout) :: ncid          ! netcdf file id
     character(len=*) , intent(in)  :: flag            ! 'read' or 'write'
     character(len=*) , intent(in)  :: varname         ! variable name
     integer          , pointer     :: data(:,:)       ! local decomposition input data
     character(len=*) , intent(in)  :: dim1name        ! dimension 1 name
     integer, optional, intent(in)  :: nt              ! time sample index
     integer, optional, intent(in)  :: lowerb2,upperb2 ! lower and upper bounds of second dimension
     logical, optional, intent(out) :: readvar         ! true => variable is on initial dataset (read only)
     logical, optional, intent(in)  :: switchdim            ! true=> permute dim1 and dim2 for output
REVISION HISTORY:
LOCAL VARIABLES:




Erik Kluzek 2011-06-15