-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read grid acq probability model data from in chandra models repo #140
Conversation
I'm wondering if it makes sense to have this compatible with THERMAL_MODELS_DIR_FOR_MATLAB_TOOLS_SW |
Genius, great catch! |
@jeanconn - ready for review again. |
Overall, I was trying to figure out if the testing for star_probs is sufficient for the relocation of the grid model files. I think it is OK? The star probs tests don't have the 2020-02 grid data in the regression data (
|
Per conversation, we don't need equivalent monkeypatch testing of "how do you set where the model comes from" stuff for the acq probability as the cases are handled in https://github.com/sot/ska_helpers/pull/30/files#diff-2dabbe1538d162ce5904aeb803b58c266799f45f8c825c7d734c6344585ad807 |
Description
In order to facilitate more agile updates of the acquisition probability model, this PR takes the grid data file out of this repo and instead reads it from the
chandra_models
repo. The location of that repo is delegated to functions inska_helpers.paths
.'This also now uses
ska_helpers.paths
to get the location of theaca_drift
model fromchandra_models
.Related required PR's
paths
module for global path definitions ska_helpers#30Interface impacts
None
Testing
Unit tests
Independent check of unit tests by [REVIEWER NAME]
Functional tests
On my Mac, I checked out the
$SKA/data/chandra_models
repo to theaca-acq-prob
branch from sot/chandra_models#100.With this update the unit tests passed.