phd-scraper

Scraping toolkit to generate PhD dataset


Keywords
scraper
License
GPL-3.0
Install
pip install phd-scraper==0.1.3

Documentation

Python 3.6 PyPI version

phd_scraper

Description

This package offers a complete module that makes download daily and hourly LatinAmerica Hydrometeorological datasets unpainless.

Mode of use

SENAMHI - hydrometeorological

$ cd ~/phd_scraper/phd_scraper/
$ python3 se_hydrometeo.py --station_code 100090 --init_date 2019-01-01 --last_date 2019-02-02

from phd_scraper import se_hydrometeo
se_hydrometeo.download(station_code=100090, init_date=2019-01-01, last_date=2019-02-02)

SENAMHI - historic

$ cd ~/phd_scraper/phd_scraper/
$ python3 se_historic.py --station_code 152204 --outfile test.csv
from phd_scraper import se_historic
se_historic.download(code='152204')