Skip to content
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

Tickets/dm 46175 #24

Closed
wants to merge 5 commits into from
Closed

Tickets/dm 46175 #24

wants to merge 5 commits into from

Conversation

Vebop
Copy link
Contributor

@Vebop Vebop commented Sep 13, 2024

Added DDV,
Added accessing data from ConsDb for the plots requested. Some of the data still needs clarified.
We should talk about how to merge notebooks... It seemed unsuitable to rebase off of prototype, but we should discuss.

@Vebop Vebop requested a review from pothiers September 13, 2024 22:09
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -19,7 +19,8 @@
"# Times Square replaces this cell with the user's parameters.\n",
Copy link
Contributor

@pothiers pothiers Sep 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #6.    instrument = 'lsstcomcamsim' # Which instrument to query for data (consdb)

NightLog should report on ALL instruments. It shouldn't require the user to pick just one.


Reply via ReviewNB

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored to accommodate this

@@ -19,7 +19,8 @@
"# Times Square replaces this cell with the user's parameters.\n",
Copy link
Contributor

@pothiers pothiers Sep 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #5.    from lsst.summit.utils import ConsDbClient

ConsDB specialized code should be refactored into source_adapters.py


Reply via ReviewNB

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -19,7 +19,8 @@
"# Times Square replaces this cell with the user's parameters.\n",
Copy link
Contributor

@pothiers pothiers Sep 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #29.    CONSDB_URL = "http://consdb-pq.consdb:8080/consdb" # Don't use this one

Is this always the same for all environments (tucson-teststand, summit, usdf)? If not, it should be set based upon the EXTERNAL_INSTANCE_URL env var.


Reply via ReviewNB

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is the same for both summit and usdf. I also have the note 'don't use this' because some updates need to be made to ConsDbClient to accept headers towards authenticating in a copacetic way according to sqre.
Reference to consdb usage here: https://rubinobs.atlassian.net/wiki/spaces/~ktl/pages/55377993/ConsDB+Usage#ConsDBUsage-ConnectionInformation

@Vebop Vebop closed this Sep 19, 2024
@Vebop Vebop deleted the tickets/dm-46175 branch September 19, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants