Examples
This page provides some short example code snippets and links to Jupyter Notebooks with more detailed examples.
Example snippets
Importing a single CSV-file downloaded from DINOLoket:
import hydropandas as hpd
fname = './tests/data/2019-Dino-test/Grondwaterstanden_Put/B33F0080001_1.csv'
gw = hpd.GroundwaterObs.from_dino(path=fname)
Or for a zipfile:
import hydropandas as hpd
dinozip = './tests/data/2019-Dino-test/dino.zip'
dino_gw = hpd.ObsCollection.from_dino(dirname=dinozip,
subdir='Grondwaterstanden_Put',
suffix='1.csv',
ObsClass=hpd.GroundwaterObs,
keep_all_obs=False)
Example notebooks
The links below link to Jupyter Notebooks with explanation and examples of the usage of the hydropandas module: