s-goldman / Dusty-Evolved-Star-Kit

SED-fitting python package for fitting evolved stars
https://dusty-evolved-star-kit.readthedocs.io
Other
15 stars 2 forks source link

Function added to verify model file sizes. #158

Closed s-goldman closed 3 years ago

s-goldman commented 3 years ago

Function 'check_file_size' was added to 'get_models' submodule. The function checks and compares the selected model grid file sizes to those in a table in models directory ('desk_model_grid_size'). If the size of the model grid already downloaded automatically by the user is different from what it should be (listed in table) the models are re-downloaded. This avoids the error when the models grids exists but the download was interrupted.