Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Make PV system dropout type hint optional #297

Merged
merged 2 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ocf_datapipes/config/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def dropout_fraction_valid(cls, v):
class SystemDropoutMixin(Base):
"""Mixin class, to add independent system dropout"""

system_dropout_timedeltas_minutes: List[int] = Field(
system_dropout_timedeltas_minutes: Optional[List[int]] = Field(
None,
description="List of possible minutes before t0 where data availability may start. Must be "
"negative or zero. Each system in a sample is delayed independently from the other by "
Expand Down
2 changes: 1 addition & 1 deletion ocf_datapipes/load/nwp/providers/excarta.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Excarta Loading"""

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file has changes from the pre commit hook

import numpy as np
import pandas as pd
import xarray as xr
import datetime

from ocf_datapipes.load.nwp.providers.utils import open_zarr_paths

Expand Down