Skip to content

Use the newly incorporated Task 43 pydantic model within the repo #560

Description

@olivia-bentley

Recent work on the task 43 repo has involved the addition of a pydantic data model. The PR related to this work is here: IEA-Task-43/digital_wra_data_standard#281

It is planned that this branch will be merged into the master branch of the Task 43 repo once updates to the model are pulled in from the JSON schema.

Pydantic data models are a modern python framework centered around automatic data parsing, validation, and serialization. The objects themselves are similar to Python dataclass, that defines and stores data about an entity with annotated fields.

Incorporating this within the brighwind repo would involve replacing the MeasurementStation class and some of the validation that is currently handled within individual functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfunction improvementAdd improvements to an existing function or feature

    Fields

    No fields configured for Feature.

    Projects

    Status
    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions