var.def.nc(RNetCDF)
var.def.nc()所属R语言包:RNetCDF
Define a NetCDF Variable
定义一个NetCDF变量
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Define a new NetCDF variable.
定义一个新的NetCDF变量。
用法----------Usage----------
var.def.nc(ncfile, varname, vartype, dimensions)
参数----------Arguments----------
参数:ncfile
Object of class "NetCDF" which points to the NetCDF dataset (as returned from open.nc).
类的对象“NetCDF”,这点到NetCDF的数据集(从open.nc返回)。
参数:varname
Variable name. Must begin with an alphabetic character, followed by zero or more alphanumeric characters including the underscore ("_"). Case is significant.
变数名称。必须以一个字母,后跟零个或多个字母数字字符,包括下划线(“_”)。案例是显著的。
参数:vartype
One of the set of predefined NetCDF external data types. The valid NetCDF external data types are NC_BYTE, NC_CHAR, NC_SHORT, NC_INT, NC_FLOAT, and NC_DOUBLE.
的一组预定义的NetCDF外部数据类型中的其中一个。有效的NetCDF的外部数据类型是NC_BYTE,NC_CHAR,NC_SHORT,NC_INT,NC_FLOAT和NC_DOUBLE。
参数:dimensions
Vector of ndims dimension IDs or their names corresponding to the variable dimensions or NA if a scalar variable should be created. If the ID (or name) of the unlimited dimension is included, it must be last.
向量的ndims尺寸ID或他们的名字对应的可变尺寸或NA,如果一个标量变量被创建。如果ID(或名称)的无限维的,它必须是最后一个。
Details
详细信息----------Details----------
This function creates a new NetCDF variable. A NetCDF variable has a name, a type, and a shape, which are specified when it is defined. A variable may also have values, which are established later in data mode.
这个函数创建一个新的NetCDF变量。一个NetCDF变量的名称,类型,形状,这是它被定义时指定。也可能有一个变量值,在数据模式下建立购买。
Ordinarily, the name, type, and shape are fixed when the variable is first defined. The name may be changed, but the type and shape of a variable cannot be changed. However, a variable defined in terms of the unlimited dimension can grow without bound in that dimension. The fastetst varying dimension has to be first in dimensions, the slowest varying dimension last (this is the same way as an array is defined in R; i.e., opposite to the CDL conventions).
通常,名称,类型,和形状是固定的,当该变量被定义的第一个。该名称可以改变,但不能改变一个变量的类型和形状。然而,一个变量中定义的无限维的成长过程中没有绑定在该维度。不同尺寸的fastetst先在dimensions,最慢的不同维度上(这是同样的方式作为一个数组被定义在R,也就是说,与CDL公约相反)。
A NetCDF variable in an open NetCDF dataset is referred to by a small integer called a variable ID. Variable IDs are 0, 1, 2,..., in the order in which the variables were defined within a NetCDF dataset.
在一个开放的NetCDF数据集的一个NetCDF变量是指由一个小的整数称为变量ID。变量ID为0,1,2,...,在该变量被定义在一个NetCDF的数据集的顺序。
Attributes may be associated with a variable to specify such properties as units.
属性可能与一个变量来指定物业单位。
(作者)----------Author(s)----------
Pavel Michna
参考文献----------References----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|