![E.ON EBC RWTH Aachen University](./docs/source/_static/EBC_Logo.png)
[![pylint](https://rwth-ebc.github.io/AixWeather//main//pylint/pylint.svg )](https://rwth-ebc.github.io/AixWeather//main//pylint/pylint.html)
[![documentation](https://rwth-ebc.github.io/AixWeather//main//docs/doc.svg)](https://rwth-ebc.github.io/AixWeather//main//docs/index.html)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
<div align="center">
<img src="./docs/aixweather_logo/AixWeather_Logo.png" alt="AixWeather Logo" width="50%">
</div>
# AixWeather
**A weather data generation tool for building energy system simulations. Pull, Transform, Export.**
It is being developed at RWTH Aachen University, E.ON Energy Research Center,
Institute for Energy Efficient Buildings and Indoor Climate (EBC) in Aachen, Germany.
As the library is developed at RWTH Aachen University's EBC, the library's name AixWeather is derived from the
city's French name Aix-la-Chapelle, which the people of Aachen are very fond of and use a lot.
With the name AixWeather we follow this local tradition.
If you have any questions regarding AixWeather, feel free to contact us at aixweather@eonerc.rwth-aachen.de.
## WebApp
For fast access without setup, use the WebApp.
The repository [AixWeather-WebApp](https://github.com/RWTH-EBC/AixWeather-WebApp) contains the corresponding WebApp for this repo.
This repository contains the functionalities useful for, e.g., automation of tasks.
## How to use
For each data origin, a class is defined. Use generic functions to create the desired output file.
See the examples to know how to use them.
## Tool structure and overview
**This tool consists of three layers:**
1. Import raw weather data from several sources
2. Transform the weather data to a defined core format with consideration of:
2.1. Time zone
2.2. Time of measurement (whether a value at a certain time stamp is for the indicated time or, e.g., the average of the preceding hour)
2.3. Avoidance of smoothing through interpolation (pass through variables without interpolation if possible)
2.4. Units
2.5. Calculate missing variables from available ones, e.g., horizontal direct radiation from diffuse and global radiation
2.6. Missing data.
3. Transform the core-format data to your desired output format
**Overview**
![Weather Data Tool Diagram](docs/Overview_WeatherTool.drawio.png)
**Known limitations:**
- only hourly data
**Chances:**
- generic code base that allows for fast and easy extensions to both other import formats and output formats
# DWD station IDs and DWD MOSMIX station IDs
The station IDs for the DWD weather stations to pull historical data from are listed [here](https://www.dwd.de/DE/leistungen/klimadatendeutschland/stationsliste.html). Only german stations available. Aachen would be 15000.
The DWD MOSMIX station IDs for the DWD forecast are listed [here](https://www.dwd.de/DE/leistungen/met_verfahren_mosmix/mosmix_stationskatalog.cfg?view=nasPublication&nn=16102) or located on a map [here](https://wettwarn.de/mosmix/mosmix.html). Worldwide station available. Aachen would be 10505.
You may use the imported package [Wetterdienst](https://github.com/earthobservations/wetterdienst) to search for stations automatically, as described [here](https://bookdown.org/brry/rdwd/station-selection.html).
# Sources of information for corresponding data formats
## Input
**Test Reference Years (TRY)**:
[Handbuch](https://www.bbsr.bund.de/BBSR/DE/forschung/programme/zb/Auftragsforschung/5EnergieKlimaBauen/2013/testreferenzjahre/try-handbuch.pdf).
TRY data can be downloaded from the DWD (sign up required but for free) [TRY data sets](https://www.bbsr.bund.de/BBSR/DE/forschung/programme/zb/Auftragsforschung/5EnergieKlimaBauen/2013/testreferenzjahre/01-start.html;jsessionid=5D9912D230EB887C1F831671303A8A0F.live21304?nn=2544408&pos=2).
Additional information on the suitability of TRY data (last update: 2019):
There are typical TRY datasets grouped by the year of publication:
- 2004 datasets: (DWD; some errors in solar radiation; dataset should be avoided).
- 2010 datasets: suitable for EnEV and GEG, not for solar thermal simulations.
- 2015 datasets: not suitable for EnEV and GEG, but for solar thermal simulations
- Overall: Reliable quantities in TRYs are only the air temperature
and the global radiation!
**DWD historical**: [open data website](https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/)
**DWD forecasts (MOSMIX i.e. KML files)**: [open data website](https://opendata.dwd.de/weather/local_forecasts/) go to content.log.bz2.
**EnergyPlus (EPW)**:
For format information, see the corresponding output format description.
Online sources for EPW data: https://climate.onebuilding.org/default.html and https://www.ladybug.tools/epwmap/
**ERC data:**
This data is from the weather station of the Institute for Energy Efficient Buildings and Indoor Climate (RWTH). Access requires user credentials. Such credentials are pre-defined if you use the WebApp.
## Output formats
**EnergyPlus (EPW):**
[3rd party format description](https://designbuilder.co.uk/cahelp/Content/EnergyPlusWeatherFileFormat.htm)
**Modelica ReaderTMY3:**
TMY3 reader from the [IBPSA](https://github.com/ibpsa/modelica-ibpsa) library used in the [AixLib](https://github.com/RWTH-EBC/AixLib) library. Model info at [OpenModelica](https://build.openmodelica.org/Documentation/Buildings.BoundaryConditions.WeatherData.ReaderTMY3.html).
It claims to use mainly [TMY3 data](https://www.nrel.gov/docs/fy08osti/43156.pdf), though we found that the pressure is used in mbar instead of Pa. Further deviations possible.
Additional information for AixLib users.
Weather data usage in the low order model (LOM):
Used in LOM:
- TDryBul
- RelHum
- TBlaSky (calculated via HInfHor, TDryBul, TDewPoi, and OpaSkyCov)
- HGloHor
- HDifHor
- HDirNor
Not used in the LOM:
- total sky cover
- ceiling height
- wind direction
- wind speed
- atmospheric pressure
**Unconverted to x**
exports the core data without conversion to .csv, .json, or .pickle files.
# How to contribute to the development
You are invited to contribute to the development of this weather tool.
Issues can be reported using this site's Issues section.
Furthermore, you are welcome to contribute via Pull Requests.
More info on how to contribute can be found [here](docs/source/Contribution.md).
<!-- This section is a work in progress and needs further editing
# How to cite
[ToDo]()
DOI: ToDo
```
@inproceedings{ToDo}
```
-->
# License
The weather tool is released by RWTH Aachen University, E.ON Energy Research Center, Institute for Energy Efficient Buildings and Indoor Climate and is available under a 3-clause BSD license.
See [license](LICENSE).
Raw data
{
"_id": null,
"home_page": "https://github.com/RWTH-EBC/AixWeather",
"name": "AixWeather",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "weather, BES, converter, simulation, building, energy",
"author": "RWTH Aachen University, E.ON Energy Research Center, Institute of Energy Efficient Buildings and Indoor Climate",
"author_email": "ebc-abos@eonerc.rwth-aachen.de",
"download_url": "https://files.pythonhosted.org/packages/7e/25/04a288d504f7b96f789f4b676515924af48c531c8c0e7ed580b729f26507/aixweather-0.1.7.tar.gz",
"platform": null,
"description": "![E.ON EBC RWTH Aachen University](./docs/source/_static/EBC_Logo.png)\n\n[![pylint](https://rwth-ebc.github.io/AixWeather//main//pylint/pylint.svg )](https://rwth-ebc.github.io/AixWeather//main//pylint/pylint.html)\n[![documentation](https://rwth-ebc.github.io/AixWeather//main//docs/doc.svg)](https://rwth-ebc.github.io/AixWeather//main//docs/index.html)\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\n<div align=\"center\">\n <img src=\"./docs/aixweather_logo/AixWeather_Logo.png\" alt=\"AixWeather Logo\" width=\"50%\">\n</div>\n\n# AixWeather\n**A weather data generation tool for building energy system simulations. Pull, Transform, Export.**\n\nIt is being developed at RWTH Aachen University, E.ON Energy Research Center, \nInstitute for Energy Efficient Buildings and Indoor Climate (EBC) in Aachen, Germany.\n\nAs the library is developed at RWTH Aachen University's EBC, the library's name AixWeather is derived from the \ncity's French name Aix-la-Chapelle, which the people of Aachen are very fond of and use a lot. \nWith the name AixWeather we follow this local tradition.\n\nIf you have any questions regarding AixWeather, feel free to contact us at aixweather@eonerc.rwth-aachen.de.\n\n## WebApp\n\nFor fast access without setup, use the WebApp.\nThe repository [AixWeather-WebApp](https://github.com/RWTH-EBC/AixWeather-WebApp) contains the corresponding WebApp for this repo.\nThis repository contains the functionalities useful for, e.g., automation of tasks. \n\n## How to use\nFor each data origin, a class is defined. Use generic functions to create the desired output file.\nSee the examples to know how to use them. \n\n## Tool structure and overview\n\n**This tool consists of three layers:**\n\n1. Import raw weather data from several sources\n\n2. Transform the weather data to a defined core format with consideration of:\n\n 2.1. Time zone\n\n 2.2. Time of measurement (whether a value at a certain time stamp is for the indicated time or, e.g., the average of the preceding hour)\n\n 2.3. Avoidance of smoothing through interpolation (pass through variables without interpolation if possible)\n\n 2.4. Units\n\n 2.5. Calculate missing variables from available ones, e.g., horizontal direct radiation from diffuse and global radiation\n\n 2.6. Missing data.\n\n3. Transform the core-format data to your desired output format\n\n**Overview**\n\n![Weather Data Tool Diagram](docs/Overview_WeatherTool.drawio.png)\n\n**Known limitations:**\n\n- only hourly data\n\n**Chances:**\n\n- generic code base that allows for fast and easy extensions to both other import formats and output formats\n\n\n# DWD station IDs and DWD MOSMIX station IDs\n\nThe station IDs for the DWD weather stations to pull historical data from are listed [here](https://www.dwd.de/DE/leistungen/klimadatendeutschland/stationsliste.html). Only german stations available. Aachen would be 15000.\n\nThe DWD MOSMIX station IDs for the DWD forecast are listed [here](https://www.dwd.de/DE/leistungen/met_verfahren_mosmix/mosmix_stationskatalog.cfg?view=nasPublication&nn=16102) or located on a map [here](https://wettwarn.de/mosmix/mosmix.html). Worldwide station available. Aachen would be 10505.\n\nYou may use the imported package [Wetterdienst](https://github.com/earthobservations/wetterdienst) to search for stations automatically, as described [here](https://bookdown.org/brry/rdwd/station-selection.html).\n\n\n# Sources of information for corresponding data formats\n\n## Input\n\n**Test Reference Years (TRY)**: \n\n[Handbuch](https://www.bbsr.bund.de/BBSR/DE/forschung/programme/zb/Auftragsforschung/5EnergieKlimaBauen/2013/testreferenzjahre/try-handbuch.pdf). \n\nTRY data can be downloaded from the DWD (sign up required but for free) [TRY data sets](https://www.bbsr.bund.de/BBSR/DE/forschung/programme/zb/Auftragsforschung/5EnergieKlimaBauen/2013/testreferenzjahre/01-start.html;jsessionid=5D9912D230EB887C1F831671303A8A0F.live21304?nn=2544408&pos=2). \n\nAdditional information on the suitability of TRY data (last update: 2019):\nThere are typical TRY datasets grouped by the year of publication:\n- 2004 datasets: (DWD; some errors in solar radiation; dataset should be avoided).\n- 2010 datasets: suitable for EnEV and GEG, not for solar thermal simulations.\n- 2015 datasets: not suitable for EnEV and GEG, but for solar thermal simulations\n- Overall: Reliable quantities in TRYs are only the air temperature\nand the global radiation!\n\n\n**DWD historical**: [open data website](https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/)\n\n**DWD forecasts (MOSMIX i.e. KML files)**: [open data website](https://opendata.dwd.de/weather/local_forecasts/) go to content.log.bz2.\n\n**EnergyPlus (EPW)**: \n\nFor format information, see the corresponding output format description. \n\nOnline sources for EPW data: https://climate.onebuilding.org/default.html and https://www.ladybug.tools/epwmap/\n\n**ERC data:**\n\nThis data is from the weather station of the Institute for Energy Efficient Buildings and Indoor Climate (RWTH). Access requires user credentials. Such credentials are pre-defined if you use the WebApp.\n\n## Output formats\n\n**EnergyPlus (EPW):**\n\n[3rd party format description](https://designbuilder.co.uk/cahelp/Content/EnergyPlusWeatherFileFormat.htm)\n\n**Modelica ReaderTMY3:**\n\nTMY3 reader from the [IBPSA](https://github.com/ibpsa/modelica-ibpsa) library used in the [AixLib](https://github.com/RWTH-EBC/AixLib) library. Model info at [OpenModelica](https://build.openmodelica.org/Documentation/Buildings.BoundaryConditions.WeatherData.ReaderTMY3.html).\nIt claims to use mainly [TMY3 data](https://www.nrel.gov/docs/fy08osti/43156.pdf), though we found that the pressure is used in mbar instead of Pa. Further deviations possible.\n\nAdditional information for AixLib users.\n\nWeather data usage in the low order model (LOM):\n\nUsed in LOM:\n- TDryBul\n- RelHum\n- TBlaSky (calculated via HInfHor, TDryBul, TDewPoi, and OpaSkyCov)\n- HGloHor\n- HDifHor\n- HDirNor\n\nNot used in the LOM:\n- total sky cover\n- ceiling height\n- wind direction\n- wind speed\n- atmospheric pressure\n\n**Unconverted to x**\n\nexports the core data without conversion to .csv, .json, or .pickle files.\n\n# How to contribute to the development\n\nYou are invited to contribute to the development of this weather tool.\nIssues can be reported using this site's Issues section.\nFurthermore, you are welcome to contribute via Pull Requests.\nMore info on how to contribute can be found [here](docs/source/Contribution.md).\n\n<!-- This section is a work in progress and needs further editing\n\n# How to cite\n\n[ToDo]()\nDOI: ToDo \n\n```\n@inproceedings{ToDo}\n```\n -->\n\n# License\n\nThe weather tool is released by RWTH Aachen University, E.ON Energy Research Center, Institute for Energy Efficient Buildings and Indoor Climate and is available under a 3-clause BSD license.\nSee [license](LICENSE).\n",
"bugtrack_url": null,
"license": "BSD 3-Clause",
"summary": "A weather data generation tool for building energy system simulations.Pull, Transform, Export.",
"version": "0.1.7",
"project_urls": {
"Download": "https://github.com/RWTH-EBC/AixWeather/archive/refs/tags/0.1.7.tar.gz",
"Homepage": "https://github.com/RWTH-EBC/AixWeather"
},
"split_keywords": [
"weather",
" bes",
" converter",
" simulation",
" building",
" energy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e80d4abc2c783bc2ff7153c36ac5fe61e151edd93e0eaf940ff5bd9225af34f4",
"md5": "898bb719b54f94d235f56cf85c0e5a58",
"sha256": "5ba1cc6e39a2fcd97c9d2f626b8e4b27d5b03d1b5da326b04586345e7b3a7e95"
},
"downloads": -1,
"filename": "AixWeather-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "898bb719b54f94d235f56cf85c0e5a58",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 57034,
"upload_time": "2024-05-03T16:33:09",
"upload_time_iso_8601": "2024-05-03T16:33:09.203190Z",
"url": "https://files.pythonhosted.org/packages/e8/0d/4abc2c783bc2ff7153c36ac5fe61e151edd93e0eaf940ff5bd9225af34f4/AixWeather-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7e2504a288d504f7b96f789f4b676515924af48c531c8c0e7ed580b729f26507",
"md5": "132cc6e0c8af4cee3c0ca00f53b51704",
"sha256": "01fbb66ea43ff78b539c2cb80baa4a6d12ddeeeba9da0555313a7596888c3ee5"
},
"downloads": -1,
"filename": "aixweather-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "132cc6e0c8af4cee3c0ca00f53b51704",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 45511,
"upload_time": "2024-05-03T16:33:11",
"upload_time_iso_8601": "2024-05-03T16:33:11.245766Z",
"url": "https://files.pythonhosted.org/packages/7e/25/04a288d504f7b96f789f4b676515924af48c531c8c0e7ed580b729f26507/aixweather-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-03 16:33:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "RWTH-EBC",
"github_project": "AixWeather",
"travis_ci": false,
"coveralls": true,
"github_actions": false,
"requirements": [
{
"name": "wetterdienst",
"specs": [
[
"<=",
"0.72.0"
],
[
">=",
"0.65.0"
]
]
},
{
"name": "unidecode",
"specs": [
[
"~=",
"1.3.7"
]
]
},
{
"name": "parameterized",
"specs": [
[
"~=",
"0.9.0"
]
]
},
{
"name": "geopandas",
"specs": [
[
"~=",
"0.14.0"
]
]
},
{
"name": "geopy",
"specs": [
[
"~=",
"2.4.0"
]
]
},
{
"name": "pvlib",
"specs": [
[
"~=",
"0.10.2"
]
]
},
{
"name": "matplotlib",
"specs": [
[
"~=",
"3.8.1"
]
]
},
{
"name": "seaborn",
"specs": [
[
"~=",
"0.13.0"
]
]
},
{
"name": "shapely",
"specs": [
[
"~=",
"2.0.3"
]
]
}
],
"lcname": "aixweather"
}