Skip to content

Helpful functions for dealing with xarray and geopandas.

Notifications You must be signed in to change notification settings

alisonpeard/geospatial_utils

Repository files navigation

Geospatial utilities

Useful operations for manipulating xarray, geopandas, and numpy geospatial data

Creating grids from geospatial data

Grids are specified by centroid, height, width, rotation, and mesh. For numerical simulations, transform to numpy is always done such that causality goes from $[0,0]->[n,m]$ (red dot in diagram represents $[0,0]$ location). E.g., for modelling waves the rotation should be chosen depending on the angle of the coastline as follows:

Gaussian random fields

Sample GRF from $$\mathcal{N}(0, (\Delta + \tau I)^{-\alpha})$$

Examples for $\alpha=2$

About

Helpful functions for dealing with xarray and geopandas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published