-
Notifications
You must be signed in to change notification settings - Fork 27
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
new features request for get_geodataframe method #97
Comments
@xldeltares Could you elaborate (with a short sentence) for each functionality what it should do, just to make it clear to everyone and make sure we're on the same page. With the "clip" functionality I guess you mean a spatial clip, but could you clarify how this is different from the current implementation. And with "slice", do you mean a filter/query on data properties? |
@DirkEilander Sure! see below. Please let me know if anything needs further clarification, cheers! Elaborated descriptions see the following:
|
Thanks for the detailed explanation @xldeltares! In general it would be good to carefully review what we expect to be done in a preprocessing, what in the DataAdapter classes and what by setup_* methods and workflows. Let's discuss this in a follow up meeting. We need to be careful that putting too many required switches in the yml file might complicate the setup.
|
this issue is also linked to #51 |
Sorry for this being dormant for very long. @hboisgon @xldeltares could you indicate if this is still relevant? And if so which of the above items specifically. This time we will put it on our planning to not forget. |
My thoughts but @xldeltares please add your own:
So to recap on proposed changes:
|
Hi @hboisgon and @DirkEilander, Nice that this is being discussed again! and thank you both for thinking along. It also gives some new perspectives. :) First of all, just to express my overall feeling that the objective of data_adaptor is not very clear. Sometimes I feel that the data_adaptor should just take care of the reading, sometimes I feel it should be a mix of preprocessing. That said, I have a preference of having more advanced functions in data_adaptor (both reading and preprocessing) motivated by use local data :). Even in the case of global data catalog, having more advanced functions can still be beneficial, as it will support refined data catalog by using a "wrapper" to the current global data catalogue. With the current trend of moving from global to local scale studies, it seems nice to have. Especially now hydromt is having a variety of plugins (also less hydro ones) that comes with different data requirements. Finally, it would help to keep model builder yml/ini more focus towards model building options only - now the data preprocessing options are either implemented as hardcoded in the workflows, or we have to mixin preprocessing options to model building options. See following regarding the requested functions: Opinions open to discussion :). Thanks! |
In hydrolib plugin, a few additional functions were needed, such as clip, retype, slice, set new columns and set id_col for geodataframe.
How these new features can be generalised and useful for other plugins could be discussed.
The text was updated successfully, but these errors were encountered: