Pythonic interface to access Agrometeo data.
Project description
agrometeo-geopy
Pythonic interface to access agrometeo.ch data.
Installation
The agrometeo-geopy library requires geopandas, which can be installed using conda/mamba as in:
conda install -c conda-forge geopandas
Then, agrometeo-geopy can be installed using pip:
pip install agrometeo-geopy
Overview
import agrometeo as agm
start_date = "2021-08-13"
end_date = "2021-08-16"
agm_ds = agm.AgrometeoDataset(region="Canton de Genève")
ts_df = agm_ds.get_ts_df(start_date=start_date, end_date=end_date)
ts_df
name | DARDAGNY | LA-PLAINE | SATIGNY | PEISSY | ANIERES | LULLY | LULLIER | BERNEX | TROINEX | MEINIER |
---|---|---|---|---|---|---|---|---|---|---|
time | ||||||||||
2021-08-13 00:00:00 | 19.3 | 17.8 | 18.5 | 17.9 | 20.6 | 18.4 | 20.3 | 18.6 | 19.4 | 25.8 |
2021-08-13 00:10:00 | 19.6 | 17.9 | 18.4 | 17.7 | 20.0 | 18.3 | 19.6 | 18.7 | 19.1 | 28.6 |
2021-08-13 00:20:00 | 19.0 | 17.7 | 18.2 | 17.6 | 19.4 | 18.4 | 19.1 | 18.7 | 19.2 | 24.1 |
2021-08-13 00:30:00 | 18.3 | 18.0 | 18.1 | 17.4 | 19.1 | 18.3 | 19.1 | 18.6 | 18.9 | 22.5 |
2021-08-13 00:40:00 | 18.7 | 18.0 | 18.1 | 17.6 | 19.1 | 18.0 | 19.0 | 18.7 | 18.5 | 21.5 |
... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
2021-08-16 23:10:00 | 17.5 | 17.8 | 17.3 | 16.9 | 17.9 | 17.6 | 17.3 | 17.2 | 17.9 | 22.2 |
2021-08-16 23:20:00 | 17.4 | 17.9 | 17.4 | 17.1 | 17.9 | 17.6 | 17.3 | 17.2 | 18.0 | 22.0 |
2021-08-16 23:30:00 | 17.2 | 17.9 | 17.5 | 17.3 | 17.8 | 17.6 | 17.3 | 17.3 | 18.0 | 21.7 |
2021-08-16 23:40:00 | 17.2 | 17.9 | 17.7 | 17.1 | 17.7 | 17.4 | 17.2 | 17.1 | 18.1 | 21.9 |
2021-08-16 23:50:00 | 17.1 | 17.8 | 17.5 | 17.1 | 17.7 | 17.3 | 17.1 | 17.1 | 18.1 | 22.0 |
576 rows × 10 columns
See the user guide for more details.
Acknowledgements
- This package was created with Cookiecutter and the zillionare/cookiecutter-pypackage project template.
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
agrometeo_geopy-0.2.0.tar.gz
(24.7 kB
view details)
Built Distribution
File details
Details for the file agrometeo_geopy-0.2.0.tar.gz
.
File metadata
- Download URL: agrometeo_geopy-0.2.0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d70450737fba4cac076c3b14329e42da30f061da6e074e5d477e58dd634991 |
|
MD5 | 3ab0f58cfe09aef9b538c2d8d80b1cef |
|
BLAKE2b-256 | 37b62d9d15998f83a443ebecfc2283e49c1cc3f4eceab51bf5ec45a169e5fcfc |
File details
Details for the file agrometeo_geopy-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: agrometeo_geopy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d6f279a42f66bf97da7aebbcf962eb7331fe2864bf49b2d2c606d68734e50f2 |
|
MD5 | 6aab6728b765199f867bb050d46ed1df |
|
BLAKE2b-256 | 24bb72ed2e59fcceb133613da30e7de57bb29e4641e6b287c1d4c1b69d4ff415 |