SSC ROMAN-3776 Update GDPS data models for G1DP#701
Conversation
…aving id appear at the end of the keyname Rename PROGNUM with program to match rad field. Rename PROGRAM_COMPLETE with program_complete to have all keys be lower case. Remove ID_OBS, FILESET_ID, SEGMENT, and VISNUM from observation file, because the catalog is not tied to a specific OBS_ID. Those keys have been moved to g2dp_common for G2DP to provide feedback on.
for more information, see https://pre-commit.ci
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #701 +/- ##
=======================================
Coverage 97.48% 97.48%
=======================================
Files 8 8
Lines 716 716
=======================================
Hits 698 698
Misses 18 18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks for the PR. Would you add a changelog entry? The romancal test failure is unrelated. |
|
Perhaps @cjarnold can review this one. Do the changes here align with the other SSC schema updates? |
|
This comment can be part of a different PR if you prefer. If this is a redundant question, please point me to where I should be looking. I'm trying to test that this data model matches what I expect. Here's an example json for both the wfi_spec_catalog_level_4-1.0.0 and wfi_spec_data_quality_level_4-1.0.0 models titled And then I ran this little test script:
|
|
Related to #699 (replaces tag with $ref to fix validation for JSON serializables) |
|
Yeah this is related to #699 as @ketozhang mentioned. It appears that the manifest does not contain tagged times (so the tag validator will always fail). Instead this manifest contains the string "2023-08-05T12:53:27.658" which appears to be an iso formatted time.
What did you have in mind for this test? Is the code that you use to generate manifest public so that we could generate a manifest and test it with the schema? |
Added a couple comments- thank you for the PR @gduggan-caltech. I have a GDPS PR https://github.com/spacetelescope/rad/pull/699/files which I suspect I should limit to just the changes I have made so far there and get that merged into main, along with your PR so we have a clean start for G2DP. |
Providing the generation code is unlikely needing to publish our internal data models. We can provide and maintain a set of example static manifest for each model. We have been providing examples for the past few months now, and having these be integrated into tests serves as a good contract testing between the SSC science pipelines & RAD (w/o having to involve the exchange system). |
|
Let me know if there's anything your waiting on me for! It's fine with me if these changes are merged as-is and testing scripts are dealt with in a future PR. |
|
All SSC tickets are waiting for review by @ejoliet. |
ejoliet
left a comment
There was a problem hiding this comment.
Changes/updates look fine to me.
|
Needs a review from @jbrookens or @kdupriestsci for the archive. |
…h these values elsewhere in RAD. Brought in changes to remove the 'meta' nesting
for more information, see https://pre-commit.ci
|
Changes look good to me. Here's the current wfi_spec_catalog_level_4 and wfi_spec_data_quality_level_4 example: |
|
Can we make progress on this PR? It would be nice to have this merged before G2DP starts making their own PR. However, if that's not feasible, just let us know. |
|
Archive changes aren't in a stable enough place where approval is appropriate. We're still trying to figure out what the file types are and where the metadata will live in the archive. |
Thanks. Do you have a timeline for this approval to occur? Thanks again. |
|
Approved and merged. |
Resolves SSC's ROMAN-3776
This PR addresses the feedback from SSC GDPS G1DP on the wfi_spec_catalog_level_4.yaml and wfi_spec_data_quality_level_4.yaml data models.
Details:
Tasks
Not sure which of the following tasks need to be performed:
radtests.docs/page.no-changelog-entry-needed.)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see below for change types).romancalregression test (https://github.com/spacetelescope/RegressionTests/actions/workflows/romancal.yml) with this branch installed ("git+https://github.com/<fork>/rad@<branch>").roman_datamodelsutilities and tests.News fragment change types:
changes/<PR#>.feature.rst: new featurechanges/<PR#>.bugfix.rst: fixes an issuechanges/<PR#>.doc.rst: documentation changechanges/<PR#>.removal.rst: deprecation or removal of public APIchanges/<PR#>.misc.rst: infrastructure or miscellaneous change