cgq-qgc / pyhelp

A Python library for the assessment of spatially distributed groundwater recharge and hydrological components with HELP
MIT License
17 stars 5 forks source link

PR: Save connect tables in a json file instead of a numpy binary #64

Closed jnsebgosselin closed 2 years ago

jnsebgosselin commented 2 years ago

It doesn't make sense to save dictionaries to a numpy binary, since it have to be done with pickle behind the scenes.

Saving the connect tables in a json makes more sense: it is human readable, super quick and should be less prone to bugs.

Anyway, with more recent version of numpy, the code used to save and loads the connect tables with numpy was causing a bug.