Skip to content

Commit

Permalink
minor bugfix in write2ncdf4
Browse files Browse the repository at this point in the history
  • Loading branch information
brasmus committed Nov 8, 2023
1 parent d4963e3 commit 3ba1b97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/write2ncdf.R
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ generate.station.ncfile <- function(x,file,stats,missval,offset,scale,torg,prec=
src <- paste(rownames(table(attr(x,"source"))),collapse="/")
if (verbose) print(src)
y <- coredata(x)
nt <- length(index(x))
list2env(stats,envir=environment())
verbose <- verbose[1]
unitx <- attr(x,'unit')
Expand Down

0 comments on commit 3ba1b97

Please sign in to comment.