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

Commit 50da11a

Browse files
committed
More docstring work
1 parent 85f6876 commit 50da11a

File tree

17 files changed

+17
-0
lines changed

17 files changed

+17
-0
lines changed

ocf_datapipes/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Datapipes"""

ocf_datapipes/batch/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Datapipes for batching together data"""
12
from .merge_numpy_examples_to_batch import (
23
MergeNumpyExamplesToBatchIterDataPipe as MergeNumpyExamplesToBatch,
34
)

ocf_datapipes/config/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Configuration model"""

ocf_datapipes/convert/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Various conversion datapipes"""
12
from .coordinates import ConvertGeostationaryToLatLonIterDataPipe as ConvertGeostationaryToLatLon
23
from .coordinates import ConvertLatLonToOSGBIterDataPipe as ConvertLatLonToOSGB
34
from .coordinates import ConvertOSGBToLatLonIterDataPipe as ConvertOSGBToLatLon

ocf_datapipes/fake/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Fake data generators for testing"""

ocf_datapipes/load/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Loading datapipes from the raw data"""
12
from .configuration import OpenConfigurationIterDataPipe as OpenConfiguration
23
from .gsp import OpenGSPIterDataPipe as OpenGSP
34
from .nwp import OpenNWPIterDataPipe as OpenNWP

ocf_datapipes/production/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Wrappers to make complete data pipelines for production systems"""

ocf_datapipes/select/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Selection datapipes"""
12
from .location_picker import LocationPickerIterDataPipe as LocationPicker
23
from .offset_t0 import OffsetT0IterDataPipe as OffsetT0
34
from .select_live_t0_time import SelectLiveT0TimeIterDataPipe as SelectLiveT0Time

ocf_datapipes/transform/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Transforms for the data in both xarray and numpy formats"""

ocf_datapipes/transform/numpy/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Numpy transforms"""
12
from .add_topographic_data import AddTopographicDataIterDataPipe as AddTopographicData
23
from .align_gsp_to_5_min import AlignGSPto5MinIterDataPipe as AlignGSPto5Min
34
from .encode_space_time import EncodeSpaceTimeIterDataPipe as EncodeSpaceTime

ocf_datapipes/transform/xarray/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Xarray transforms"""
12
from .add_t0idx_and_sample_period_duration import (
23
AddT0IdxAndSamplePeriodDurationIterDataPipe as AddT0IdxAndSamplePeriodDuration,
34
)

ocf_datapipes/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Various utilities for use in datapipes"""

ocf_datapipes/utils/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Various utilites that didn't fit elsewhere"""
12
from pathlib import Path
23
from typing import Sequence, Union
34

ocf_datapipes/validation/check_equality.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Datapipes to check equalities"""
12
import logging
23
from typing import Optional, Union
34

ocf_datapipes/validation/check_for_nans.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Datapipe to check and optionally fill NaNs in data"""
12
from typing import Union
23

34
import numpy as np
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Datapipe to check statistical properties of inputs"""

ocf_datapipes/validation/check_vars_and_dims.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Datapipe to check variable and dimension names exist"""
12
from typing import Iterable, Optional, Union
23

34
import xarray as xr

0 commit comments

Comments
 (0)