NCEP.restrict(RNCEP)
NCEP.restrict()所属R语言包:RNCEP
Temporally Filters Weather Data
暂时滤波器气象资料
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function removes unwanted datetime intervals (i.e. layers) of weather data from the NCEP/NCAR Reanalysis or NCEP/DOE Reanalysis II data array as returned by NCEP.gather. The spatial structure of the data is retained.
此功能消除不必要的日期时间间隔(即层)的气象资料,NCEP / NCAR再分析NCEP / DOE再分析II的数据数组返回NCEP.gather。空间结构的数据将被保留。
用法----------Usage----------
NCEP.restrict(wx.data, years2remove = NULL, months2remove = NULL,
days2remove = NULL, hours2remove = NULL, other2remove = NULL,
set2na = TRUE)
参数----------Arguments----------
参数:wx.data
A 3-D weather dataset as returned by NCEP.gather
A 3-D的天气数据集的返回的NCEP.gather的
参数:years2remove
Numeric. Specifies which years should be removed from the dataset.
数字。指定年份的数据集被删除。
参数:months2remove
Numeric. Specifies which months should be removed from the dataset.
数字。指定应删除的数据集的月份。
参数:days2remove
Numeric. Specifies which days of the month should be removed from the dataset.
数字。指定应删除的数据集天的月份。
参数:hours2remove
Numeric. Specifies which hours of the day should be removed from the dataset.
数字。指定一天中的哪个时间应该从数据集。
参数:other2remove
Character. Specifies any specific combinations of year, month, day, and hour to remove from the dataset.
字符。指定任何特定组合的年,月,日,和小时,以除去从数据集。
参数:set2na
Logical. Should the data matching the year, month, day, or hour specified in the function call be set to NA (default) or should they be removed completely from the dataset.
逻辑。如果数据相匹配的年,月,日,小时,在函数调用中指定的设置为NA(默认)或完全删除的数据集。
Details
详细信息----------Details----------
other2remove is for specific combinations of year, month, day, and hour and must be given in the format "%Y-%m-%d %H". If NCEP.aggregate has been applied, some datetime components will need to be replaced with "XX" or "XXXX" when specifying other2remove. Use dimnames to determine how to specify an aggregated datetime.
other2remove是为特定组合的年,月,日,小时,必须在给定的格式"%Y-%m-%d %H"。 NCEP.aggregate如果得到了应用,某些日期时间部件需要更换时,用"XX"或"XXXX"other2remove。使用dimnames,以确定如何指定汇总的日期时间。
If set2na is anything other than TRUE or FALSE, the function replaces items to be removed with the value of set2na.
如果set2na是任何东西以外TRUE或FALSE的,功能取代的价值set2na删除的项目。
值----------Value----------
This function returns a three dimensional array (or a 2-D matrix if all but a single timestep is removed) of weather data. The three dimensions are latitude, longitude, and datetime reflected in the dimnames of the output array.
该函数返回一个三维阵列(或2-D矩阵,如果除去所有但一个单一的时间步长)的天气数据。三个维度是纬度,经度,和日期时间的输出阵列中的dimnames反射。
(作者)----------Author(s)----------
Michael U. Kemp <a href="mailto:M.U.Kemp@UvA.nl">M.U.Kemp@UvA.nl</a>
参考文献----------References----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|