-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement new "most common" regridder. (#46)
* Implement new "most common" regridder. * Add 'regrid.stat' for statistical reductions other than the mode * Add fill_value & ensure monotonic sorts only when not sorted * Move from list[str] to list[Hashable] * Refactor reduction methods w/ format_for_regrid, remove duplicate sortbys * Rename expected_groups -> values * Remove second sortby * Add basic tests for regrid.stats * Disable lat/lon coord formatting for stats-based methods * Update demo notebooks * Update docs, changelog * test statistical padding, add extra longitude monotonicity * fix dtype comparison --------- Co-authored-by: Sam Levang <slevang@salientpredictions.com>
- Loading branch information
1 parent
bc7be5b
commit d8b7b23
Showing
14 changed files
with
1,891 additions
and
335 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
Oops, something went wrong.