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

Temporary branch for Stelios to test SIAv2 from #20

Closed
wants to merge 47 commits into from

Conversation

dhirving
Copy link
Contributor

This is a merge of DM-46363 with DM-45860 and depends on unreleased changes in daf_butler DM-46363

timj added 30 commits August 23, 2024 14:43
Comes from sdm_schemas
Uses felis to describe the table metadata.
Supports POS, BAND, TIME, INSTRUMENT
Now track the WHERE and bind information discretely and combine
as needed.
Use WhereBind class to specify the specific query for export.
This will allow in the future a handler that doesn't use the
default dimension universe.
* SIAv2Parameters parses the standard parameters into Python form.
* Interval represents a floating point interval such as that used
  by BAND and TIME.
Was region_dim and timespan_dim, now region_dimension and
timespan_dimension and they return str | None.
* Can now specify multiple --pos --time etc on command-line
* Can now call the query API with a pre-parsed SIAv2Parameters
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

Attention: Patch coverage is 92.26974% with 47 lines in your changes missing coverage. Please review.

Project coverage is 81.86%. Comparing base (dc276c4) to head (d5c37c8).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
python/lsst/dax/obscore/siav2.py 93.84% 8 Missing and 8 partials ⚠️
python/lsst/dax/obscore/obscore_exporter.py 90.08% 9 Missing and 3 partials ⚠️
python/lsst/dax/obscore/config.py 86.11% 3 Missing and 2 partials ⚠️
python/lsst/dax/obscore/script/obscore_siav2.py 64.28% 5 Missing ⚠️
python/lsst/dax/obscore/script/obscore_export.py 20.00% 4 Missing ⚠️
...on/lsst/dax/obscore/script/obscore_update_table.py 0.00% 2 Missing ⚠️
tests/test_siav2.py 98.07% 1 Missing and 1 partial ⚠️
python/lsst/dax/obscore/cli/cmd/commands.py 93.75% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #20       +/-   ##
===========================================
+ Coverage   62.07%   81.86%   +19.78%     
===========================================
  Files          11       15        +4     
  Lines         472     1020      +548     
  Branches      108      262      +154     
===========================================
+ Hits          293      835      +542     
+ Misses        169      163        -6     
- Partials       10       22       +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dhirving dhirving closed this Sep 17, 2024
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