-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
A model output timestamp column was for some reason mangled, which caused the hydrotools routines om_get_rundata to throw an error when creating a zoo series, and to just be a pain in the ass. However, the "thisdate" column was in OK shape, so I worked it by editing it in R as follows:
#$ R
dat <- read.table('/media/NAS/omdata/proj3/out/runlog2.219565.log', header = TRUE, sep = ",")
dat$timestamp <- as.integer(as.POSIXct(dat$thisdate,origin="1970-01-01"))
write.csv(x = dat,file = '/media/NAS/omdata/proj3/out/runlog2.219565.log',col.names=TRUE,sep=",")
Metadata
Metadata
Assignees
Labels
No labels