Created
January 28, 2022 09:52
-
-
Save FrancescAlted/64de15a7c79f72ca16128b2d9851d270 to your computer and use it in GitHub Desktop.
Example of an in-memory evaluation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
precip_expr = ia.expr_from_string("(p1 + p2 + p3) / 3", | |
{'p1': precip1, 'p2': precip2, 'p3': precip3}, | |
) | |
precip_mean = precip_expr.eval() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment