【文件属性】:
文件名称:大气:风数据
文件大小:1.49MB
文件格式:ZIP
更新时间:2021-02-20 01:49:16
R
风
根据风数据中的u,v计算并绘制风速和风向
载入资料
此处使用的数据来自一天中几个小时内进行的Sonic风速计测量。 read.table()的默认设置是“将字符变量(不会转换为逻辑,数字或复杂的变量)转换为因数”,因此需要将stringsAsFactors设置为false。
library(data.table)
library(tidyr)
library(dplyr)
library(openair)
options(stringsAsFactors=F)
#Load the wind data file
windfile<-read.table("~/GitHub/Atmo/3D-monitoring_2019-09-13.txt",skip=2,fill=TRUE,sep="")
#Use separate function from dplyr to split colu
【文件预览】:
Atmo-main
----windplot.png(9KB)
----README.md(3KB)
----3D-monitoring_2019-09-13.txt(11.68MB)
----windspeed-diagram.png(49KB)
----Wind.R(3KB)