Skip to content

Commit

Permalink
fixing ESUS connection and elasticsearch requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
daid-tw committed Jun 2, 2022
1 parent 14ff459 commit 8cf8523
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ If you use PySUS for a publication, please use the bibtex below to cite it:
month = may,
year = 2021,
publisher = {Zenodo},
version = {0.5.9},
version = {0.5.17},
doi = {10.5281/zenodo.4883502},
url = {https://doi.org/10.5281/zenodo.4883502}
}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ wget = "==3.2"
colorcet = "==3.0.0"
datashader = "==0.13.0"
#rasterstats = "==0.16.0"
elasticsearch = "==8.1.2"
elasticsearch = "==7.16.2"
tqdm = "==4.64.0"
gdal = "3.4.1"
geopandas = "==0.7.0"
Expand Down
2 changes: 1 addition & 1 deletion pysus/online_data/ESUS.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def download(uf, cache=True, checkmemory=True):
pwd = "Za4qNXdyQNSa9YaA"
today = date.today()
dt = today.strftime("_%d_%m_%Y")
base = f"desc-notificacoes-esusve-{uf}" # desc-notificacoes-esusve-
base = f"desc-esus-notifica-estado-{uf}" # desc-notificacoes-esusve-
url = f"https://{user}:{pwd}@elasticsearch-saps.saude.gov.br"
out = f"ESUS_{uf}_{dt}.parquet"

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ colorcet==3.0.0
datashader==0.13.0
xarray==2022.3.0
georasters
elasticsearch==8.1.2
elasticsearch==7.16.2
pyarrow==7.0.0
tqdm==4.64.0

2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build_sphinx]
project = 'PySUS'
version = 0.5
release = 0.5.16
release = 0.5.17
source-dir = './docs/source'

[flake8]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

setup(
name="PySUS",
version="0.5.16",
version="0.5.17",
packages=find_packages(),
package_data={"": ["*.c", "*.h", "*.o", "*.so", "*.md", "*.txt"]},
include_package_data=True,
Expand Down

0 comments on commit 8cf8523

Please sign in to comment.