Skip to content

Enable validating user-supplied datasets against the pandera schema for a modelblock output dataset #18

Description

@brynpickering

Is this suggestion related to a problem? Please describe.
There are cases when users want to substitute a modelblock output with their own dataset. E.g., a hydropower flow timeseries that is equivalent in structure to the output of module_hydropower. Since there is strict enforcement of a table schema in the modelblocks, it would be great to have a setup that allows a user-defined dataset to validated against that same schema.

Describe the solution you'd like
A way to trigger the table validation / access the pandera schema class from a modelblock without actually needing to run the block.

Describe alternatives you've considered
Not considered anything yet...

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions