Name | glm-met JSON |
Version |
0.0.7
JSON |
| download |
home_page | |
Summary | Download meteorological data for the General Lake Model |
upload_time | 2023-12-13 04:52:15 |
maintainer | |
docs_url | None |
author | John Duncan |
requires_python | >=3.9 |
license | |
keywords |
glm
meterological
weather
climate
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# GLM-met
A Python package for downloading meteorological data and processing it to formats required for running the <a href="https://github.com/AquaticEcoDynamics/glm-aed/tree/main/binaries" target="_blank">GLM model</a> and other water balance models.
## GLM
GLM is a 1-dimensional lake water balance and stratification model. It is coupled with a powerful ecological modelling library to also support simulations of lake water quality and ecosystems processes.
GLM is suitable for a wide range of natural and engineered lakes, including shallow (well-mixed) and deep (stratified) systems. The model has been successfully applied to systems from the scale of individual ponds and wetlands to the scale of Great Lakes.
For more information about running GLM please see the model website's <a href="https://aed.see.uwa.edu.au/research/models/glm/overview.html" target="_blank">scientific basis description</a> and the <a href="https://aquaticecodynamics.github.io/glm-workbook/" target="_blank">GLM workbook</a>.
The <a href="https://github.com/AquaticEcoDynamics/glm-aed/tree/main/binaries" target="_blank">GLM model</a> is available as an executable for Linux (Ubuntu), MacOS, and Windows. It is actively developed by the
Aquatic EcoDynamics research group at The University of Western Australia.
## Install
```
pip install glm-met
```
## Use
Import the glm-met package into a Python program and use to download meteorological data from a supported data provider.
The following Jupyter notebook can be opened on Google Colab to demonstrate how glm-met can be used to download meteorological data from NASA POWER's API:
<a href="https://colab.research.google.com/github/WET-tool/glm-met/blob/main/example-use.ipynb" target="_blank">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
```
import os
import glm_met.nasa_power.nasa_power as nasa_power
# initialise a Power object
# the object attributes are set to:
# - query the NASA POWER API
# - query for hourly met data from 2020 to 2022
# - query a location in Western Australia
power = nasa_power.Power(
location=(116.6, -32.17),
date_range=("20200101", "20221231"),
met_data=None,
glm_met_data=None,
parameters=None,
)
# make a call to the NASA POWER API
# download requested data and store as DataFrame
# in the `power.met_data.data` attribute
power.get_variables(request_settings=None)
# convert downloaded data to GLM format
power.convert_to_glm()
# write downloaded data to disk
power.write_glm_met(path=os.getcwd(), zip_f=False, fname="met.csv")
```
## Data Providers
glm-met provides a base class that can be extended to support a range of meteorological data providers.
### SILO
<a href="https://www.longpaddock.qld.gov.au/silo/" target="_blank">SILO</a> is a database of daily, pre-processed Australian climate data from 1889 to the present day. The product is hosted by the Queensland Department of Environment and Science (DES) and is based on observational data from the Bureau of Meteorology and other providers. It is made available under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">Creative Commons Attribution 4.0 International (CC BY 4.0)</a> licence.
glm-met retrieves SILO data from the patched point dataset (weather station data) and the drill down (point-like data extracted from a gridded product).
### NASA POWER
<a href="https://power.larc.nasa.gov/docs/" target="_blank">NASA Prediction of Worldwide Energy Resources (POWER)</a> provides solar and meteorological data available at monthly, daily, and hourly time steps via the NASA POWER Data Services API. The NASA POWER project is funded by NASA's Applied Science Program and the data is available from the 1980s until near real time. The solar radiation data is derived from several remote sensing-based products at a 1.0° grid cell spatial resolution. The meteoroloical data is based on GMAO MERRA-2 reanalysis and assimilation of observations data at a 0.5° grid cell spatial resolution.
The hourly data from NASA POWER is available from 2001. Currently, glm-met provides tools to retrieve hourly data from the NASA POWER API.
Raw data
{
"_id": null,
"home_page": "",
"name": "glm-met",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "GLM,meterological,weather,climate",
"author": "John Duncan",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/0a/74/8234e8a9801b8dd0a9453498532cbde0d813bced0c6fea239f19e8520484/glm-met-0.0.7.tar.gz",
"platform": null,
"description": "# GLM-met\n\nA Python package for downloading meteorological data and processing it to formats required for running the <a href=\"https://github.com/AquaticEcoDynamics/glm-aed/tree/main/binaries\" target=\"_blank\">GLM model</a> and other water balance models.\n\n## GLM \n\nGLM is a 1-dimensional lake water balance and stratification model. It is coupled with a powerful ecological modelling library to also support simulations of lake water quality and ecosystems processes.\n\nGLM is suitable for a wide range of natural and engineered lakes, including shallow (well-mixed) and deep (stratified) systems. The model has been successfully applied to systems from the scale of individual ponds and wetlands to the scale of Great Lakes.\n\nFor more information about running GLM please see the model website's <a href=\"https://aed.see.uwa.edu.au/research/models/glm/overview.html\" target=\"_blank\">scientific basis description</a> and the <a href=\"https://aquaticecodynamics.github.io/glm-workbook/\" target=\"_blank\">GLM workbook</a>. \n\nThe <a href=\"https://github.com/AquaticEcoDynamics/glm-aed/tree/main/binaries\" target=\"_blank\">GLM model</a> is available as an executable for Linux (Ubuntu), MacOS, and Windows. It is actively developed by the \nAquatic EcoDynamics research group at The University of Western Australia.\n\n## Install\n\n```\npip install glm-met\n```\n\n## Use\n\nImport the glm-met package into a Python program and use to download meteorological data from a supported data provider.\n\nThe following Jupyter notebook can be opened on Google Colab to demonstrate how glm-met can be used to download meteorological data from NASA POWER's API:\n\n<a href=\"https://colab.research.google.com/github/WET-tool/glm-met/blob/main/example-use.ipynb\" target=\"_blank\">\n <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n</a>\n\n```\nimport os\nimport glm_met.nasa_power.nasa_power as nasa_power\n\n# initialise a Power object\n# the object attributes are set to:\n# - query the NASA POWER API \n# - query for hourly met data from 2020 to 2022\n# - query a location in Western Australia\n\npower = nasa_power.Power(\n location=(116.6, -32.17), \n date_range=(\"20200101\", \"20221231\"), \n met_data=None,\n glm_met_data=None,\n parameters=None,\n)\n\n# make a call to the NASA POWER API\n# download requested data and store as DataFrame\n# in the `power.met_data.data` attribute\npower.get_variables(request_settings=None)\n\n# convert downloaded data to GLM format\npower.convert_to_glm()\n\n# write downloaded data to disk\npower.write_glm_met(path=os.getcwd(), zip_f=False, fname=\"met.csv\")\n```\n\n## Data Providers\n\nglm-met provides a base class that can be extended to support a range of meteorological data providers. \n\n### SILO\n\n<a href=\"https://www.longpaddock.qld.gov.au/silo/\" target=\"_blank\">SILO</a> is a database of daily, pre-processed Australian climate data from 1889 to the present day. The product is hosted by the Queensland Department of Environment and Science (DES) and is based on observational data from the Bureau of Meteorology and other providers. It is made available under the <a href=\"https://creativecommons.org/licenses/by/4.0/\" target=\"_blank\">Creative Commons Attribution 4.0 International (CC BY 4.0)</a> licence. \n\nglm-met retrieves SILO data from the patched point dataset (weather station data) and the drill down (point-like data extracted from a gridded product). \n\n### NASA POWER\n\n<a href=\"https://power.larc.nasa.gov/docs/\" target=\"_blank\">NASA Prediction of Worldwide Energy Resources (POWER)</a> provides solar and meteorological data available at monthly, daily, and hourly time steps via the NASA POWER Data Services API. The NASA POWER project is funded by NASA's Applied Science Program and the data is available from the 1980s until near real time. The solar radiation data is derived from several remote sensing-based products at a 1.0\u00b0 grid cell spatial resolution. The meteoroloical data is based on GMAO MERRA-2 reanalysis and assimilation of observations data at a 0.5\u00b0 grid cell spatial resolution. \n\nThe hourly data from NASA POWER is available from 2001. Currently, glm-met provides tools to retrieve hourly data from the NASA POWER API. \n\n",
"bugtrack_url": null,
"license": "",
"summary": "Download meteorological data for the General Lake Model",
"version": "0.0.7",
"project_urls": {
"Homepage": "https://wet-tool.github.io/glm-met/"
},
"split_keywords": [
"glm",
"meterological",
"weather",
"climate"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2095cfec8ec3736ceb5137f4c6ddf97a6bad7575ba34ff069b0d19b40c29d8f3",
"md5": "d75c9e3506e64052fd73e2cc6e8da695",
"sha256": "2548225702ef25f3a47f3c3f16bf71d04748d19edf8f051250e0424337283d59"
},
"downloads": -1,
"filename": "glm_met-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d75c9e3506e64052fd73e2cc6e8da695",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 10509,
"upload_time": "2023-12-13T04:52:13",
"upload_time_iso_8601": "2023-12-13T04:52:13.916721Z",
"url": "https://files.pythonhosted.org/packages/20/95/cfec8ec3736ceb5137f4c6ddf97a6bad7575ba34ff069b0d19b40c29d8f3/glm_met-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0a748234e8a9801b8dd0a9453498532cbde0d813bced0c6fea239f19e8520484",
"md5": "9d835a7acb424c1e3c085be3e7e76dac",
"sha256": "981308248c8c502a87b10c816cc12fec8f8619d41bb46191739e1f57ec22ddb9"
},
"downloads": -1,
"filename": "glm-met-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "9d835a7acb424c1e3c085be3e7e76dac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 10962,
"upload_time": "2023-12-13T04:52:15",
"upload_time_iso_8601": "2023-12-13T04:52:15.632076Z",
"url": "https://files.pythonhosted.org/packages/0a/74/8234e8a9801b8dd0a9453498532cbde0d813bced0c6fea239f19e8520484/glm-met-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-13 04:52:15",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "glm-met"
}