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/SP-1667: Merge the Times Square OR4 nightsum with the nightly nightsum #114

Merged
merged 8 commits into from
Nov 4, 2024

Conversation

ehneilsen
Copy link
Collaborator

Add wrapper code that can figure out how to load what the user asks for, whether it is a sim or data from an instrument in consdb.

Copy link
Member

@rhiannonlynne rhiannonlynne left a comment

Choose a reason for hiding this comment

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

Some questions, but mostly for clarification.
I am curious though if dayobs means the same thing (in UTC) even if the timezone used is something like Australia.

@@ -65,6 +65,9 @@ def read_ddf_visits(*args, **kwargs) -> pd.DataFrame:
all_visits = read_visits(*args, **kwargs)

ddf_field_names = tuple(ddf_locations().keys())
# Different versions of the schedule include a DD: prefix, or not.
# Catch them all.
ddf_field_names = ddf_field_names + tuple([f"DD:{n}" for n in ddf_field_names])
Copy link
Member

Choose a reason for hiding this comment

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

In new baselines, the Roman field shows up as "DD: RGES" .. although it's not really a DDF.
This is probably something to fix in the rubin_scheduler outputs, but it's worth noting here too.
Creating similar kinds of plots for the Roman field is likely not terrible.

schedview/dayobs.py Show resolved Hide resolved
schedview/collect/consdb.py Show resolved Hide resolved
@ehneilsen ehneilsen merged commit d280762 into main Nov 4, 2024
7 checks passed
@ehneilsen ehneilsen deleted the tickets/SP-1667 branch November 4, 2024 20:09
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