search for: pm10_corine_gridcel_hourly_2011

Displaying 1 result from an estimated 1 matches for "pm10_corine_gridcel_hourly_2011".

2012 Jul 13
1
read mignight as 24:00 and not as 0:00
Dear all, I have dataset which contains date and time in the format "yearmonthdayhour". I can read in these data correctly as follows: mydata <- read.csv("pm10_corine_gridcel_hourly_2011.csv", header = TRUE) mydata$date <- as.POSIXct(strptime(mydata$date, format = "%Y%m%d%H", tz="UTC")) However, midnight is defined as 24:00 in my original file (so the end of the day), while the POSIXct function changes this to 0:00 (the beginning of the next day). So, m...