SciTools / iris-esmf-regrid

A collection of structured and unstructured ESMF regridding schemes for Iris.
https://iris-esmf-regrid.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

Regridder load/saving #130

Closed stephenworsley closed 2 years ago

stephenworsley commented 2 years ago

Adds a save/load function for the unstructured regridders. Also, allows initialisation of regridders from precomputed weights.

codecov[bot] commented 2 years ago

Codecov Report

Merging #130 (11bc7f5) into unstructured_scheme (7d09381) will increase coverage by 0.05%. The diff coverage is 100.00%.

Impacted file tree graph

@@                   Coverage Diff                   @@
##           unstructured_scheme     #130      +/-   ##
=======================================================
+ Coverage                99.48%   99.53%   +0.05%     
=======================================================
  Files                       24       27       +3     
  Lines                     1550     1717     +167     
=======================================================
+ Hits                      1542     1709     +167     
  Misses                       8        8              
Impacted Files Coverage Δ
esmf_regrid/experimental/io.py 100.00% <100.00%> (ø)
esmf_regrid/experimental/unstructured_scheme.py 100.00% <100.00%> (ø)
.../tests/unit/experimental/io/test_round_tripping.py 100.00% <100.00%> (ø)
.../tests/unit/experimental/io/test_save_regridder.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7d09381...11bc7f5. Read the comment docs.