Skip to content

JAX implementation of 'A Two-Layer model of Soil Hydrology' (Mahrt & Pan, 1984) for timeseries at a point location.

License

Notifications You must be signed in to change notification settings

BrandonSmithJ/jax-mahrt-pan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"A 2-layer model of soil hydrology" (Mahrt & Pan, 1984).

This repository contains a JAX implementation for computing timeseries of soil moisture and runoff surplus, vectorized over point locations.

As well, a Numpy implementation is provided as comparison: the JAX version resulting in ~3-4x speed up when run on a CPU, and 10-15x speed up on a GPU.

Implementation is validated in provided tests by comparing to sample data provided by the reference implementation at: https://github.com/ilyamaclean/ecohydrotools/tree/master/data

About

JAX implementation of 'A Two-Layer model of Soil Hydrology' (Mahrt & Pan, 1984) for timeseries at a point location.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages