next up previous contents
Next: ncd_defvar_bygrid Up: Fortran: Module Interface ncdioMod Previous: ncd_defdim   Contents

ncd_defvar_bynf


INTERFACE:

   subroutine ncd_defvar_bynf(ncid, varname, xtype, ndims, dimid, varid, &
        cstring, long_name, units, cell_method, missing_value, fill_value, &
        imissing_value, ifill_value, usepio)
DESCRIPTION:

Define a netcdf variable


ARGUMENTS:

     implicit none
     integer         , intent(in)  :: ncid                    ! input unit
     character(len=*), intent(in)  :: varname                 ! variable name
     integer         , intent(in)  :: xtype                   ! external type
     integer         , intent(in)  :: ndims                   ! number of dims
     integer         , intent(in), optional :: dimid(:)       ! dimids
     integer         , intent(out) :: varid                   ! returned var id
     character(len=*), intent(in), optional :: cstring        ! caller string
     character(len=*), intent(in), optional :: long_name      ! attribute
     character(len=*), intent(in), optional :: units          ! attribute
     character(len=*), intent(in), optional :: cell_method    ! attribute
     real(r8)        , intent(in), optional :: missing_value  ! attribute for real
     real(r8)        , intent(in), optional :: fill_value     ! attribute for real
     integer         , intent(in), optional :: imissing_value ! attribute for int
     integer         , intent(in), optional :: ifill_value    ! attribute for int
     logical         , intent(in), optional :: usepio         ! use pio lib
REVISION HISTORY:
LOCAL VARIABLES:




Erik Kluzek 2010-06-21