Skip to main content

TeamOverbyeWeather

Python client for the Team Overbye Weather Data API at Texas A&M University — ERA5 reanalysis, HRRR history and forecasts, and NOAA/GFS forecasts, as PowerWorld .pww files.

Download, crop to a region, and crop in time, in one call.

Installation

Not on PyPI yet — install from the repository (needs git on your PATH):

pip install "git+https://github.com/ChunSikPark/Weather_data_GUI.git#subdirectory=package"

Python 3.10 or newer. No credentials needed.

Quick start

from TeamOverbyeWeather import WeatherClient

client = WeatherClient()

# What is available?
client.sources()                        # ['era5', 'hrrr', 'noaa']
client.types("hrrr")                    # ['archive', 'current', 'forecast', ...]
client.list("hrrr", "hourly_current")   # ['2026-07-21', '2026-07-20', ...]

# Download, cropped to Texas and to a six-hour window
client.download(
    "hrrr",
    type="hourly_current",
    dates="2026-07-21",
    region="TX",
    time_start="2026-07-21T06:00",
    time_end="2026-07-21T18:00",
    dest="./data",
)

Cropping happens server-side, so only what you asked for crosses the network — a Texas six-hour NOAA slice is 240 KB instead of the 120 MB full file.

One file is written per date key, already cropped, ready to open in PowerWorld.

Selecting a region

Use exactly one of:

client.download(..., region="TX")                       # one state
client.download(..., region=["TX", "OK", "NM"])         # union bounding box
client.download(..., iso="ERCOT")                       # ISO zone
client.download(..., bbox=(33.0, -100.0, 30.0, -96.0))  # lat_max, lon_min, lat_min, lon_max

List valid ids with client.region_ids("states") and client.region_ids("iso"). Multiple states crop to the union rectangle, not to the state outlines.

Selecting a time window

client.download(..., time_start="2026-07-21T06:00", time_end="2026-07-21T18:00")
client.download(..., time_start="2026-07-21T06:00")   # to the end of the file
client.download(..., time_end="2026-07-21T18:00")     # from the start

Times are UTC and both bounds are inclusive. datetime objects work too.

Data sources

Source Types Date key
era5 historical, texas YYYY-Qn
hrrr current, archive (15-min), hourly_current, hourly_archive, forecast YYYY-MM-DD, YYYY-MM, YYYY-MM-DDTHHZ
noaa recent, archive YYYY-MM-DDTHHZ

Always take date keys from client.list(source, type) — formats differ per source, and NOAA recent / archive are separate folders rather than a date split.

Reading the data

from TeamOverbyeWeather import pww_io

header, stations, arr = pww_io.read_pww(open(path, "rb").read())
arr.shape        # (time, variable, latitude, longitude)

255 marks missing data. Latitude ascends, longitude descends.

Documentation

Full guides and API reference: https://teamoverbye-weather.readthedocs.io

Point-and-click alternative: https://weather-data-gui.pages.dev

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teamoverbyeweather-0.3.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teamoverbyeweather-0.3.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file teamoverbyeweather-0.3.0.tar.gz.

File metadata

  • Download URL: teamoverbyeweather-0.3.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for teamoverbyeweather-0.3.0.tar.gz
Algorithm Hash digest
SHA256 306c1e81a99c4c43335064d75be4be5f3554212fdc79ad50a8dcdf9deff8adec
MD5 c40a76c85e6ec77e537d9dc6e42657d8
BLAKE2b-256 2b4a5ed2614f8eac797d2fc9eedadb2fb4684dc7364093fbcfb981f0730b8d14

See more details on using hashes here.

File details

Details for the file teamoverbyeweather-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for teamoverbyeweather-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3a2613c3e32e7d83621e6dfd780bd94cc352a4c215cde3c026195df0cb0276
MD5 aed823625e5ec187f6da71e30bed9332
BLAKE2b-256 1f8c9dffda614494e00e277040ed70b4c2d9756e717d40c632f01c1148ef773b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

This release

0.3.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page