-
Notifications
You must be signed in to change notification settings - Fork 17
DatasetRestoring only via Metadata #486
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
Conversation
Isn't it convenient not to have to always build the metadata? I vote to keep the constructor with the variable name |
I see this as important for the user interface. I think we may want users to have metadata explicitly available for any dataset being used during a simulation. I think we need to keep developing features for metadata. So it's not about the "burden of maintaining a constructor", but rather the detrimental effect / loss of clarity to user scripts. Too much convenience has the effect of obscuring how things work. I could see us putting this back but the thing is that Metadata has been evolving very rapidly over the past few months. This indicates that we have not really figured out a good design for Metadata yet. So I feel we are not at the stage where we can clearly motivate conveniences like this. |
Should the examples be updated, or do they already all use explicit metadata? |
All examples use explicit metadata. I checked. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #486 +/- ##
==========================================
+ Coverage 25.48% 25.52% +0.03%
==========================================
Files 47 47
Lines 2586 2586
==========================================
+ Hits 659 660 +1
+ Misses 1927 1926 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@simone-silvestri this PR deletes the extra DatasetRestoring constructor but adds convenience in Metadata constructor to provide start and end date as you suggested in #485. |
Only allow DatasetRestoring to be constructed via providing Metadata.
Closes #485