Skip to content

Commit

Permalink
read.odf() permits "UTC" for time unit
Browse files Browse the repository at this point in the history
  • Loading branch information
dankelley committed May 30, 2018
1 parent 3373a8f commit 664fe47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/odf.R
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,8 @@ ODFNames2oceNames <- function(ODFnames, ODFunits=NULL,
list(unit=expression(mu*mol/m^2/s), scale="")
} else if (1 == length(grep("^UTC$", ODFunits[i], ignore.case=TRUE))) {
list(unit=expression(), scale="")
} else if (1 == length(grep("^GMT$", ODFunits[i], ignore.case=TRUE))) {
list(unit=expression(), scale="")
} else if (ODFunits[i] == "V") {
list(unit=expression(V), scale="")
} else if (1 == length(grep("^%$", ODFunits[i], ignore.case=TRUE))) {
Expand Down

0 comments on commit 664fe47

Please sign in to comment.