Skip to content

x-malet/gc_hydrometricdata

Repository files navigation

GC_HydrometricData

This project intend to provide an interface that can be used to extract the data from the web site https://eau.ec.gc.ca/.

Run with

  • python 2.7
  • python 3.4
  • python 3.6

Dependency

Usage

The main interface is HydrometricDataInterface located in HydrometricData.py

from HydrometricData import HydrometricDataInterface
webStation = HydrometricDataInterface()

# getting station for the Quebec Province
webStation.getStationsForProvince('Quebec')

stationName = "01BF004"

# getting station info
print(webStation.getStationInfo(stationName))

# getting station coordinates 
print(webStation.getStationCoordinates(stationName))

# getting station data

webStation.getHistoricalStation(stationName).getData()
print(webStation.getHistoricalStation(stationName).data)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages