SebaStad / WRFutil

Utility Functions to work with WRF results

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WRFutil

Some R utilities to work with WRF outputdata.

Example

This is a basic example which shows you how to solve a common problem:

library(WRFutil)
## basic example code

Whats implemented so far?

  • Read Temperature and calc temperature
  • Read Wind and recalc on sinus/cosinus alpha
    • Rotation is still missing
  • f_melt for ggplot
    • Not as fast as reshape2::melt, might go onto cpp?
  • Find a position in the grid by latitude and latitude
summary(cars)
#>      speed           dist       
#>  Min.   : 4.0   Min.   :  2.00  
#>  1st Qu.:12.0   1st Qu.: 26.00  
#>  Median :15.0   Median : 36.00  
#>  Mean   :15.4   Mean   : 42.98  
#>  3rd Qu.:19.0   3rd Qu.: 56.00  
#>  Max.   :25.0   Max.   :120.00

About

Utility Functions to work with WRF results


Languages

Language:R 100.0%