Skip to main content

A generator for Typical Meteorological Year (TMY) files and weather data management.

Project description

pyweatherfiles

A Python package to manage weather files and generate Typical Meteorological Year (TMY) data from historical records.

Installation

pip install pyweatherfiles

Usage

from pyweatherfiles import tmy

# See examples/using_tmy_generator.py for a complete example.
generator = tmy.TMYGenerator("path/to/your/weather_data.csv")
# ... check the example file for more details

Description

This tool allows you to:

  • Load weather data from CSV or Excel.
  • Calculate CDFs using daily or hourly methods.
  • Apply weighting statistics (Sandia or TMY3).
  • Select candidate months based on Finkelstein-Schafer statistics.
  • Apply persistence criteria.
  • Smooth the data at monthly junctions.
  • Generate a final TMY file.

License

MIT

Project details


Download files

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

Source Distribution

pyweatherfiles-0.0.0.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

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

pyweatherfiles-0.0.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file pyweatherfiles-0.0.0.tar.gz.

File metadata

  • Download URL: pyweatherfiles-0.0.0.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for pyweatherfiles-0.0.0.tar.gz
Algorithm Hash digest
SHA256 99dca4df97726a1f3b1358057c1c4dffe13b015a8299f34055bf2e592c9b0f1b
MD5 772e86e53e4fc4a0e83a5134ca7791be
BLAKE2b-256 e9bbb799b6f29aa1935fb62ddf783fd8a97c51723de82225d6f3e31979195c0d

See more details on using hashes here.

File details

Details for the file pyweatherfiles-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyweatherfiles-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for pyweatherfiles-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d8c9c841690dba7e0ee0eebbd5da07f22f9096c2ac2ce7d8fd0288c0cabd402
MD5 0018b716844c4a31b894ff613bb1e7c6
BLAKE2b-256 951c4e6d60b0bdf469233b8785e09c0d968bbffb50827190cd73d68ad00d305d

See more details on using hashes here.

Supported by

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