GithubHelp home page GithubHelp logo

python-euskalmet's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

python-euskalmet's Issues

Error 403 - Unknown error

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.