Skip to content

Commit 9ff7459

Browse files
authored
Merge pull request #606 from weecology/manual-weather
Add weather downloaded from 2002 station [patch]
2 parents 5fe43aa + a73a4ab commit 9ff7459

File tree

2 files changed

+3168
-3168
lines changed

2 files changed

+3168
-3168
lines changed

DataCleaningScripts/old_weather_overlap.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ library(dplyr)
1212
# Open raw .dat file of new data
1313
filepath = "~/Dropbox (UFL)/Portal/PORTAL_primary_data/Weather/Raw_data/2002_Station/"
1414

15-
metfile <- "Met537"
15+
metfile <- "Met549"
1616

17-
rawdata <- read.csv(paste(filepath,metfile,'.dat',sep=''),head=F,sep=' ',
17+
rawdata <- read.csv(paste(filepath,metfile,'.dat',sep=''),head=F,sep=',',
1818
col.names=c('code','year','jday','hour','precipitation','airtemp','RH'))
1919
if(is.na(rawdata$code[1]) | rawdata$jday[1]==0) { rawdata <- rawdata[-1,] } #if first row blank
2020

0 commit comments

Comments
 (0)