Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dados do Hidroweb vêm apenas com o mês de janeiro dos anos #18

Open
yuriishizawa opened this issue Apr 15, 2023 · 4 comments
Open

Dados do Hidroweb vêm apenas com o mês de janeiro dos anos #18

yuriishizawa opened this issue Apr 15, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@yuriishizawa
Copy link
Contributor

Describe the bug
Ao tentar puxar os dados de precipitação da ANA, só é possível obter os dados do mês de janeiro.

Python Version:
3.8.16

@yuriishizawa yuriishizawa added the bug Something isn't working label Apr 15, 2023
@marracaprog
Copy link

estou tendo o mesmo problema

@yuriishizawa
Copy link
Contributor Author

@marracaprog este erro foi corrigido em um PR que eu abri. Se você instalar o pacote via git, deve resolver.

pip install git+https://github.com/wallissoncarvalho/hydrobr.git

@marracaprog
Copy link

deu certo quando vc baixou o pacote via git?

@yuriishizawa
Copy link
Contributor Author

A instalação aqui deu certo.

➜  python3 -m pip install git+https://github.com/wallissoncarvalho/hydrobr.git          
Collecting git+https://github.com/wallissoncarvalho/hydrobr.git
  Cloning https://github.com/wallissoncarvalho/hydrobr.git to /private/var/folders/qy/yp2r0rpn4h995fn802xksst40000gq/T/pip-req-build-015143er
  Running command git clone --filter=blob:none --quiet https://github.com/wallissoncarvalho/hydrobr.git /private/var/folders/qy/yp2r0rpn4h995fn802xksst40000gq/T/pip-req-build-015143er
  Resolved https://github.com/wallissoncarvalho/hydrobr.git to commit 2b5608b319b0138847d55a36ca321b32c52bb0eb
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pandas>=0.25 (from hydrobr==0.1.1)
  Downloading pandas-2.2.3-cp311-cp311-macosx_11_0_arm64.whl.metadata (89 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.9/89.9 kB 559.2 kB/s eta 0:00:00
Collecting tqdm>=4.31 (from hydrobr==0.1.1)
  Using cached tqdm-4.66.5-py3-none-any.whl.metadata (57 kB)
Collecting requests>=2.21 (from hydrobr==0.1.1)
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting plotly>=4.6.0 (from hydrobr==0.1.1)
  Downloading plotly-5.24.1-py3-none-any.whl.metadata (7.3 kB)
Collecting numpy>=1.23.2 (from pandas>=0.25->hydrobr==0.1.1)
  Downloading numpy-2.1.2-cp311-cp311-macosx_14_0_arm64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB 876.1 kB/s eta 0:00:00
Collecting python-dateutil>=2.8.2 (from pandas>=0.25->hydrobr==0.1.1)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas>=0.25->hydrobr==0.1.1)
  Downloading pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas>=0.25->hydrobr==0.1.1)
  Downloading tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting tenacity>=6.2.0 (from plotly>=4.6.0->hydrobr==0.1.1)
  Downloading tenacity-9.0.0-py3-none-any.whl.metadata (1.2 kB)
Collecting packaging (from plotly>=4.6.0->hydrobr==0.1.1)
  Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.21->hydrobr==0.1.1)
  Downloading charset_normalizer-3.4.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests>=2.21->hydrobr==0.1.1)
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.21->hydrobr==0.1.1)
  Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests>=2.21->hydrobr==0.1.1)
  Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=0.25->hydrobr==0.1.1)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Downloading pandas-2.2.3-cp311-cp311-macosx_11_0_arm64.whl (11.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 832.7 kB/s eta 0:00:00
Downloading plotly-5.24.1-py3-none-any.whl (19.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.1/19.1 MB 1.2 MB/s eta 0:00:00
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached tqdm-4.66.5-py3-none-any.whl (78 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Downloading charset_normalizer-3.4.0-cp311-cp311-macosx_11_0_arm64.whl (118 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.9/118.9 kB 1.3 MB/s eta 0:00:00
Using cached idna-3.10-py3-none-any.whl (70 kB)
Downloading numpy-2.1.2-cp311-cp311-macosx_14_0_arm64.whl (5.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 1.6 MB/s eta 0:00:00
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading pytz-2024.2-py2.py3-none-any.whl (508 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.0/508.0 kB 1.6 MB/s eta 0:00:00
Downloading tenacity-9.0.0-py3-none-any.whl (28 kB)
Downloading tzdata-2024.2-py2.py3-none-any.whl (346 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.6/346.6 kB 1.6 MB/s eta 0:00:00
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: hydrobr
  Building wheel for hydrobr (pyproject.toml) ... done
  Created wheel for hydrobr: filename=hydrobr-0.1.1-py3-none-any.whl size=17052 sha256=8786266896d68dd30479770e006faff17a268e209c297b507d9dead9d1fd67c6
  Stored in directory: /private/var/folders/qy/yp2r0rpn4h995fn802xksst40000gq/T/pip-ephem-wheel-cache-07yt4sdu/wheels/59/8b/57/8a18def79da986517878669e5e4ae1ead5bc3a69669d382ed9
Successfully built hydrobr
Installing collected packages: pytz, urllib3, tzdata, tqdm, tenacity, six, packaging, numpy, idna, charset-normalizer, certifi, requests, python-dateutil, plotly, pandas, hydrobr
Successfully installed certifi-2024.8.30 charset-normalizer-3.4.0 hydrobr-0.1.1 idna-3.10 numpy-2.1.2 packaging-24.1 pandas-2.2.3 plotly-5.24.1 python-dateutil-2.9.0.post0 pytz-2024.2 requests-2.32.3 six-1.16.0 tenacity-9.0.0 tqdm-4.66.5 tzdata-2024.2 urllib3-2.2.3

Python Version:
3.11.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants