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.
Metadata
Release files for agrometeo-geopy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agrometeo_geopy-0.2.0.tar.gz | 24.7 kB | Without provenance | Details for agrometeo_geopy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agrometeo_geopy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for agrometeo_geopy-0.2.0-py3-none-any.whl |
Total release size: 48.4 kB
Release files / agrometeo_geopy-0.2.0.tar.gz
| Download URL | agrometeo_geopy-0.2.0.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9d70450737fba4cac076c3b14329e42da30f061da6e074e5d477e58dd634991
|
|
BLAKE2b-256 checksum How to use checksums |
37b62d9d15998f83a443ebecfc2283e49c1cc3f4eceab51bf5ec45a169e5fcfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / agrometeo_geopy-0.2.0-py3-none-any.whl
| Download URL | agrometeo_geopy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d6f279a42f66bf97da7aebbcf962eb7331fe2864bf49b2d2c606d68734e50f2
|
|
BLAKE2b-256 checksum How to use checksums |
24bb72ed2e59fcceb133613da30e7de57bb29e4641e6b287c1d4c1b69d4ff415
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Security for agrometeo-geopy 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.