Copying `load_secoora_models.m` logic to python.