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

Old CDS-ADS fashion constraints #72

Merged
merged 4 commits into from
Dec 12, 2023
Merged

Conversation

ecmwf-cobarzan
Copy link
Contributor

The major contribution is in constraints.py:apply_constraints_in_old_cds_fashion.
The old logic is a bit complicated (especially due to the needs of some CAMS datasets), but it makes sense. If required we can explain it before the merge.
The date range logic is factored it (maybe a bit hardcoded for now).
The OGC version of the date range widget might need to be adjusted (i.e. not sure if correct as it is).

@EddyCMWF
Copy link
Contributor

Hi @ecmwf-cobarzan ,
To make it pass the distribution test can you include the datetimerange dependancy in the pyproject.toml.

FYI, the environment.yaml is for conda and pyproject.toml is for pip, that's why we have the repitition.

I think you may need to merge main into your branch too as there were some other changes merged last week
Eddy

Copy link
Contributor

@EddyCMWF EddyCMWF left a comment

Choose a reason for hiding this comment

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

I'm happy if B-open are happy, B-open indicated they are happy for us to manage independently

@EddyCMWF EddyCMWF requested a review from alexamici December 12, 2023 21:43
@EddyCMWF EddyCMWF merged commit 9fb29b9 into main Dec 12, 2023
8 checks passed
@malmans2 malmans2 mentioned this pull request Dec 21, 2023
@EddyCMWF EddyCMWF deleted the feature/old-cds-fashion-constraints branch September 30, 2024 08:11
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