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

Update dataset manager API for data-domain-impacting operations #608

Conversation

robertbartel
Copy link
Contributor

Updating DatasetManager and implementations to require a DataDomain parameter being provided when either adding data to or deleting data from an existing dataset. Implementing functions to allow for domain subtraction. Also fixing domain merge function for consistency, so that it only works on one constraint at a time.

Note that this PR depends on #566 and should remain in draft status until that one is merged.

@robertbartel robertbartel added enhancement New feature or request maas MaaS Workstream labels May 9, 2024
@robertbartel robertbartel force-pushed the f/dataset_domain_autodetect/3/push_domains branch 4 times, most recently from 8e8aee9 to 3887d50 Compare May 13, 2024 17:04
Add functions to support subtracting constraints and data domains.
Only allow for subtracting or merging domains if they have one
constraint different (with some caveats for subtraction).
Update dataset manager interface for add_data and delete_data (and
implementations) to require a DataDomain for the added/deleted data be
passed as an arg so that the dataset's domain can also be updated.
Bumping client to 0.7.0, core to 0.16.0, modeldata to 0.12.0, and
dataservice to 0.10.0; also, for each, updating any dependencies on
the others to account for the latest version.
@robertbartel robertbartel force-pushed the f/dataset_domain_autodetect/3/push_domains branch from 3887d50 to 583215c Compare May 13, 2024 18:54
@robertbartel robertbartel marked this pull request as ready for review May 13, 2024 18:54
robertbartel and others added 3 commits May 14, 2024 08:38
Fixing so everything is consistent with new adjusted test data and
updates to functionality, in particular requiring a domain be passed to
add_data().
Copy link
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for the changes, @robertbartel!

@aaraney aaraney merged commit f270955 into NOAA-OWP:master May 14, 2024
8 checks passed
@robertbartel robertbartel deleted the f/dataset_domain_autodetect/3/push_domains branch May 14, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maas MaaS Workstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants