Home > freetb4matlab > octcdf > ncdouble.m

ncdouble

PURPOSE ^

% creates a netcdf variable of type ncdouble. @var{dimname_1} is the name

SYNOPSIS ^

function c = ncdouble(varargin);

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Loadable Function} {@var{ncvar} = } ncdouble(@var{dimname_1},...,@var{dimname_N})
% creates a netcdf variable of type ncdouble. @var{dimname_1} is the name 
% of the 1st netcdf dimension, and so on. The return value is a netcdf
% variable object and must be affected to a netcdf file, before its content
% can be defined.
% 
% Example:
% @example
% nc = netcdf('test.nc','w');
% nc('lon') = 360;
% nc('lat') = 180;
% nc@{'var'@} =  ncdouble('lon','lat');
% @end example
% A new 360 by 180 netcdf variable named 'var' of type double is 
% created in file 'test.nc'.
% @end deftypefn
% @seealso{netcdf}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003