mceq-project / MCEq

Matrix cascade equation core code
BSD 3-Clause "New" or "Revised" License
30 stars 33 forks source link

Retry on failed downloads #22

Closed afedynitch closed 2 years ago

afedynitch commented 4 years ago

Check if local database matches online version can be opened and if not restart download. Either compare an MD5 or SHA hash to some value stored in config or ... to check the validity of the file. Or try opening it with hdf, without reading here in mceq_config.py.

jncots commented 2 years ago

The issue is fixed by adding a sha256 checksum validation of mceq_db file in b45ef4eb9d3afe67522099d84d6e5e7239473c26. The issue will be closed after a pull request.