Define a new NetCDF variable


INTERFACE:

    integer function new_nc_variable(ncid,name,data_type,dims,id)
DESCRIPTION:

This routine is used to define a new variable to store in a NetCDF file.


USES:

    IMPLICIT NONE
INPUT PARAMETERS:
    integer, intent(in)                 :: ncid
    character(len=*), intent(in)        :: name
    integer, intent(in)                 :: data_type
    integer, intent(in)                 :: dims(:)
OUTPUT PARAMETERS:
    integer, intent(out)                :: id
REVISION HISTORY:
    Original author(s): Karsten Bolding & Hans Burchard
    See ncdfout module



Karsten Bolding 2012-01-24