-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--skipna
FLAG added to weatherbench scripts.
To `evaluate.py`. Using this means NaN values are skipped in most metrics. * The exceptions are * `RankHistograms` ignores it (and logs if there are NaNs) * SEEPS already effectively uses skipna To other scripts * `compute_averages` * `compute_ensemble_mean` * `resample_in_time` The API convention is: * Public methods have `skipna=False` default * Private methods require `skipna`. Along the way, I updated a number of private methods to require all args. This lets typing ensure I've passed args down from public -> private. PiperOrigin-RevId: 683670091
- Loading branch information
Showing
8 changed files
with
412 additions
and
110 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.