-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additive radar-CML merging with IDW and with Krignig, plus exampl…
…e data (#3) * docs/notebooks/data/openMRG_create.ipynb: - creates 5min aggregated CML, rain gauge and radar data for the openmerge dataset src/mergeplg/merge.py: - first implementation of merging src/mergeplg/interpolator.py and src/mergeplg/idw.py: - IDW interpolator functions from python * docs/notebooks/openMRG_case.ipynb: - changed 'import mergeplg' to 'import mergeplg.merge' src/mergeplg/idw.py: - replaced np.NaN with np.nan src/mergeplg/interpolator.py and src/mergeplg/merge.py - changed idw import to relative import * Added tests for calculate_cml_geometry and block_points_to_lengths * Nox cleaning up sytax * src/mergeplg/merge.py: - Move estimate_kriging_parameters to notebook. - Write docstrings to functions W.I.P. * fixed typos in merge_additive_IDW * updated notebook to run with changed funcitons * renaming variables to nox standards * renaming variables to nox standards * updated idw interpolator after suggestions made by RUF * disable mypy * updated precommit after running nox * delete chebank from top and fix file title, will need updates * replace dataarray.values with .data * clean up code according to nox * fixing naming conventions according to nox * spelling * disable codespell and spellcheck * disable --show diff on failure, this makes it possible to read output from nox without doing gid add for every step * added sklearn to dependencies * replaced IDW by sklearn KNeighborsRegressor * changes before merge * commit typos * replaced config files with upstream verison * replaced config files with upstream verison * fix config files for environment * Fix code syntax accoridng to pylint suggestions * added dependencies * updated notebook to run with RUFF complains and commented cnn wet dry detection * rerun create notebook * rerun notebook where CML with most rainfall is removed * implemented tests for additive idw and blockkriging * clean up RUFF complaints * drop pypy from ci.yml
- Loading branch information
Showing
12 changed files
with
2,441 additions
and
5 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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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.