Skip to content

Commit

Permalink
Merge pull request #17 from adeckmyn/develop
Browse files Browse the repository at this point in the history
Fix wind correction
  • Loading branch information
adeckmyn authored Jan 23, 2024
2 parents 03ec7d7 + c9b6081 commit 9da2345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: meteogrid
Version: 3.9.3.9001
Date: 2023-05-15
Version: 3.9.3.9002
Date: 2024-01-22
Title: Gridded meteorological data
Description: A toolbox for working with and viewing gridded (meteorological) data.
Author: Alex Deckmyn (Royal Meteorological Institute of Belgium) <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion R/geowind.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ wind.dirspeed <- function(u, v,
domain <- attr(u, "domain")
if (is.null(domain)) stop("rotate_wind requires geodomain information!")
ww <- geowind.init(domain)
wdir <- wdir + ww$angle
wdir <- wdir + ww$angle * 180./pi
# wspeed <- wspeed * ww$mapfactor
}

Expand Down

0 comments on commit 9da2345

Please sign in to comment.