Skip to content

Selection-specific metadata. #54

@tyralla

Description

@tyralla

So far, HydPy does not offer many standard ways to handle metadata. One exception is the property keywords of class Element and class Node, which, for example, allows marking specific nodes as gauges and simplifies performing operations on such subsets of nodes.

Class Selection does not provide any comparable documentation features but would be an obvious candidate to store more general project information. One simple first improvement could be to consider manually written module docstrings of individual network files and to read them during loading Selection objects (and to re-write them during saving). Eventually, we could enrich such manually written docstrings with automatically generated, spatial or statistical information. See method print_networkproperties for a possible starting point.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions