Skip to content

Discussion: towards consistent API #583

Description

@bdestombe

Let us use this issue as a discussion board.

  • Storing boundary condition information in geojsons
    • Currently I am storing most of the boundary condition information in geosjons as they are git-trackable.
    • Maybe we can publish under the gwtransport umbrella example geosjons for each boundary condition that are guaranteed to support all functionality of nlmod.
    • Validation functions that verify the geojson is valid
  • For every boundary condition (RIV, DRN, HFB, LAK, etc) a XXX_from_gdf() function should exist.
    • gdf is used inconsistently here in nlmod, it is used for both gidded and ungridded geodataframes. My wish would be to use gdf for the ungridded geodataframes and that the XXX_from_gdf() functions do the gridding and aggregation. This allows us to use the data from the bullet above directly.
    • A module (XXX.py) should exist for every module in gwf
  • The surfacewater module is a special beast. I think this module should be split. Part of this code would move to the riv.py and drn.py modules, and the other part to nlmod.read.waterboards. Such that nlmod.read.waterboards exposes an ungridded gdf that can be fed to the riv_from_gdf and drn_from_gdf from the riv.py and drn.py modules.

Probably these points are a bit short sighted, but I am very interested in your take on this. Maybe it is time to book select a date for heidedagen in Noordwijk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions