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

Flexible datainput #67

Merged
merged 7 commits into from
Dec 19, 2024
Merged

Flexible datainput #67

merged 7 commits into from
Dec 19, 2024

Conversation

JakobBD
Copy link
Collaborator

@JakobBD JakobBD commented Nov 28, 2024

No description provided.

@JakobBD
Copy link
Collaborator Author

JakobBD commented Nov 28, 2024

Still needs tests, testing, adapted examples.

@SallyDa
Copy link
Collaborator

SallyDa commented Dec 2, 2024

Can we keep the current very flexible DataReader as is please? And then make this one a child class with an init that takes the DimensionReader and ParameterReader, and read_parameters that then calls self.parameter_reader.read_all? This way you also won't need to update the examples.

@JakobBD
Copy link
Collaborator Author

JakobBD commented Dec 2, 2024

Ah yes, that should work, nice suggestion. I will try it out.
I was going to ask you if you found a way that was closer to your current implementation, with no compromise on API. This actually seems to achieve it.

There's a few other things I'm going to ask your opinion/input on once I have a working version.

@SallyDa
Copy link
Collaborator

SallyDa commented Dec 2, 2024

Perfect, let me know when you have finished/tested :)

@JakobBD JakobBD marked this pull request as ready for review December 19, 2024 08:36
@JakobBD JakobBD merged commit 8685110 into pik-piam:main Dec 19, 2024
2 checks passed
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