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.2

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.2
File Size Uploaded Provenance Actions
hot_open-0.2.2.tar.gz 36.4 kB With provenance Details for hot_open-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 72.6 kB

Release files / hot_open-0.2.2.tar.gz

Download URL hot_open-0.2.2.tar.gz
Size 36.4 kB
Tags Source
SHA-256 checksum
How to use checksums
75c48892f4c09576484c9adf6bb66d2bc51b9ea9941c674b0b868dde11206d32
BLAKE2b-256 checksum
How to use checksums
49278c34f080f088bd5465901fe33a40c9557b7e499bd183d6718e82ec1bb1ce
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 19, 2026.

Transparency log

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

Download URL hot_open-0.2.2-py3-none-any.whl
Size 36.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5d668fc25e246fb6b41cb53fa4c9104845f83bdcaf27f3216887d24f84c0eb3
BLAKE2b-256 checksum
How to use checksums
80c8d8d9db5c9fed0d00ef37620aa05d6780ddfbda3d563622912b6c563aa8bd
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 19, 2026.

Transparency log

Security for hot-open 0.2.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hot_open-0.2.2.tar.gz

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 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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