Skip to content

Instantly share code, notes, and snippets.


Guillaume Attard guiattard

View GitHub Profile
# Import precipitation.
pr = (
.filterDate(i_date, f_date)
# Import potential evaporation PET and its quality indicator ET_QC.
pet = (
# We build our kriging model:
ok = OrdinaryKriging(V, min_points=2, max_points=10, mode='exact')
# We calculate the hydraulic head on our regular grid,
# and we make the result in a good shape
hh_hat = ok.transform(xx.flatten(), yy.flatten()).reshape(xx.shape)
# We calculate the kriging error on our grid:
s2 = ok.sigma.reshape(xx.shape)
!apt install gdal-bin python-gdal python3-gdal
!pip install fiona shapely pyproj
!apt install python3-rtree
!pip install git+git://
!pip install descartes
!pip install git+
import pandas as pd
import geopandas as gpd
import zipfile
View example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.