Skip to content

Commit

Permalink
v1.5.11
Browse files Browse the repository at this point in the history
update trs for et error.
  • Loading branch information
tianshu129 committed Sep 14, 2020
1 parent 0e658ab commit cf0fae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: foqat
Type: Package
Title: Field observation quick analysis tookit
Version: 1.5.10
Version: 1.5.11
Author: Tianshu Chen
Maintainer: Tianshu Chen <[email protected]>
Description: A quick analysis toolkits for atmospheric field observation.
Expand Down
2 changes: 1 addition & 1 deletion R/trs.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ trs <- function(df, bkip, colid = 1, st = NULL, et = NULL, na.rm = TRUE, wind =
}
if(is.null(et)){
#if not input et, set last timestamp as et
et<-as.POSIXct(as.character(df[length(df[,1]),1]),'%Y-%m-%d %H:%M',tz= tzlc)
et<-as.POSIXct(df[length(df[,1]),1],'%Y-%m-%d %H:%M',tz= tzlc)
}else{
#if input et, cut df by et
et=as.POSIXct(et,format="%Y-%m-%d %H:%M",tz= tzlc)
Expand Down

0 comments on commit cf0fae6

Please sign in to comment.