Skip to main content

hot-open

Helpers for loading the Hill of Towie open wind farm dataset into pandas: 10-minute SCADA, ~1 Hz turbine fastlog, ZX300/ZXTM LiDAR, turbine metadata and ERA5 reanalysis. Input files are downloaded from Zenodo on first use, and intermediate results are cached as parquet.

The package is developed alongside the analyses in resgroup/hill-of-towie-open-source-analysis, which uses it with wind-up to assess upgrades at Hill of Towie.

Installation

pip install hot-open

Python 3.10 or newer is required. The import name is hot_open.

Example

import pandas as pd

from hot_open.fastlog_helpers import load_hot_fl_data
from hot_open.scada_helpers import load_hot_10min_data
from hot_open.settings import get_data_dir, get_filestore_dir

start_dt = pd.Timestamp("2026-02-20", tz="UTC")
end_dt_excl = pd.Timestamp("2026-02-21", tz="UTC")

# 10-minute SCADA, wide format with (turbine, field) columns
scada_df = load_hot_10min_data(
    data_dir=get_data_dir(), wtg_numbers=[3, 7], start_dt=start_dt, end_dt_excl=end_dt_excl
)

# ~1 Hz controller fastlog for the same turbines
fastlog_df = load_hot_fl_data(
    data_dir=get_filestore_dir(), wtg_numbers=[3, 7], start_dt=start_dt, end_dt_excl=end_dt_excl
)

The first call downloads the files it needs from Zenodo (~12 GB for the fastlog).

What's in the package

Module Main entry points
hot_open.scada_helpers load_hot_10min_data(): 10-minute SCADA for selected turbines and dates
hot_open.fastlog_helpers load_hot_fl_data(): ~1 Hz turbine fastlog, resampled and cached by day (details)
hot_open.lidar_helpers load_zx_lidar_10min_data(), load_zx_lidar_fl_data(), add_shear_and_veer()
hot_open.unpack unpack_local_scada_data_v2(), unpack_local_meta_data(): the whole SCADA dataset and metadata in wind-up format
hot_open.era5_helpers get_hot_era5_hourly_df(), get_hot_reanalysis_datasets(): ERA5 for the site via the Open-Meteo archive API
hot_open.sourcing_data ensure_hot_data_files(): download specific dataset files from Zenodo

Field definitions, reference frames and known data quality issues are documented in Hill_of_Towie_data_dictionary.md in the Zenodo data pack.

Configuration

All paths are set by optional environment variables, which can also go in a .env file. If a variable isn't set, a folder under ~/temp/hill-of-towie-open-source-analysis/ is used.

Variable Used for
HOT_OPEN_DATA_DIR Downloaded dataset files
HOT_OPEN_CACHE_DIR Parquet caches; safe to delete to force a rebuild
HOT_OPEN_OUTPUT_DIR Per-script outputs
HOT_OPEN_FILESTORE_DIR An existing fastlog Filestore tree; when set, the fastlog zip isn't downloaded
WINDUP_OUTPUT_DIR wind-up assessment outputs

Versioning

Releases follow semantic versioning. While the version is 0.x, a minor version bump may contain breaking changes. Release notes are on the GitHub releases page.

License

BSD 3-Clause. Contact: Alex.Clerc@res-group.com

Metadata

Release files for hot-open 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hot-open 0.2.1
File Size Uploaded
hot_open-0.2.1.tar.gz 36.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hot-open 0.2.1
File Interpreter ABI Platform
hot_open-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 72.3 kB

Release files / hot_open-0.2.1.tar.gz

Download URL hot_open-0.2.1.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d55e1cb91725b8ee6901660d3ae6f00de7fc1f8a4b4fb47deb2e408aa40f5691
BLAKE2b-256 checksum
How to use checksums
fef1c02161315682336085a228c1bc51625e29c8c2f3dd245a03096c40b2c71d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / hot_open-0.2.1-py3-none-any.whl

Download URL hot_open-0.2.1-py3-none-any.whl
Size 36.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e21e7e488bc77016983c45129aee7c3cac705866cd122d7ac928fdbb8a038038
BLAKE2b-256 checksum
How to use checksums
46826a08eea820a70d6034f9b928c3874fdec6339f90b1fd1584527d2fab4712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page