r3v1 / python-euskalmet Goto Github PK
View Code? Open in Web Editor NEWPython API for Euskalmet
License: MIT License
Python API for Euskalmet
License: MIT License
Hola,
estaba buscando algo parecido, interesante proyecto!
Tras instalar la librería, al ejecutarlo con multiprocess=False (con True se queda en ejecución sin mostrar nada), me aparece:
[C017] Obteniendo lecturas para 2022-09-17 16:00:00+02:00 - 2022-09-17 21:00:00+02:00: 0%| | 0/120 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/root/meteo.py", line 3, in
estacion.automatic_download(multiprocess=False) # Descarga la información de la estación
File "/usr/local/lib/python3.9/dist-packages/euskalmet/stations.py", line 266, in automatic_download
df = pd.concat([self.get_readings_from(dt) for dt in dates[i : i + 6]])
File "/usr/local/lib/python3.9/dist-packages/euskalmet/stations.py", line 266, in
df = pd.concat([self.get_readings_from(dt) for dt in dates[i : i + 6]])
File "/usr/local/lib/python3.9/dist-packages/euskalmet/stations.py", line 145, in get_readings_from
sensors_info = self.get_station_sensors()
File "/usr/local/lib/python3.9/dist-packages/euskalmet/stations.py", line 104, in get_station_sensors
info = self.get_current_station_data()
File "/usr/local/lib/python3.9/dist-packages/euskalmet/stations.py", line 34, in get_current_station_data
data = self._download(endpoint)
File "/usr/local/lib/python3.9/dist-packages/euskalmet/euskalmet.py", line 130, in _download
raise EuskalmetException(
euskalmet.exceptions.EuskalmetException: Error 403 - Unknown error - https://api.euskadi.eus/euskalmet/stations/C017/current
He probado con algún otro código de estación e igual resultado.
Gracias!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.