NOAA-OWP / hydrotools

Suite of tools for retrieving USGS NWIS observations and evaluating National Water Model (NWM) data.
Other
53 stars 12 forks source link

Make map conversions more efficient alternative #191

Closed jarq6c closed 2 years ago

jarq6c commented 2 years ago

This is an alternative to #188 . This PR removes the conversion step when checking contingency tables, resulting in much faster computations for categorical metrics.

Additions

Removals

Changes

Testing

  1. Removed test for convert_mapping_values

Notes

-

Todos

-

Checklist

jarq6c commented 2 years ago

@groutr hopefully you don't mind reviewing this PR? :)

jarq6c commented 2 years ago

@aaraney any comments on this?

aaraney commented 2 years ago

@aaraney any comments on this?

Looks good! Thanks for tagging me!

jarq6c commented 2 years ago

These tests passed locally and also passed on GH prior to pip version 22.1. The tests on main will pass once #169 is merged in.