Closed salvatirehbein closed 4 years ago
Thanks! That poor function is a bit orphaned since I'm now using another function to compute wave activity fluxes using streamfunction from reanalysis directly, which is the better way, I think. It might need some love. There are a lot of other formulas with various assumptions.
It's now fixed in the development version, which you can install with
devtools::install_github("eliocamp/metR@dev")
I found the following problem trying to use the WaveFlux function (ps not found):
Error in eval(predvars, data, env) : objeto 'ps' não encontrado
I think that it should be psi instead of ps in the 2nd line below: