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.1.3.tar.gz
(21.9 kB
view details)
Built Distribution
File details
Details for the file agrometeo_geopy-0.1.3.tar.gz
.
File metadata
- Download URL: agrometeo_geopy-0.1.3.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26b9f2fec06299e254b20b34a1fe970f5deacac21917b4490183d9ee9d470db3 |
|
MD5 | a959f1e5bf7ab0f7c0f012e53f58aed4 |
|
BLAKE2b-256 | ff34e518a41c4b3b5eb7b8adfc52bdf0d981c668e76b8ac764c62deb5d42a9a1 |
File details
Details for the file agrometeo_geopy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: agrometeo_geopy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ac45805adf5868db9402a8a0764924b7b584fdbc98aa5958d642f984d0fdc9d |
|
MD5 | be5e579b1a2ee884465454b6da59ed82 |
|
BLAKE2b-256 | c70a5de3ff3cc006a094ddebfcb446d3bbc97528aaf189e3f28485cfe09d1832 |