Skip to content

Code

See below for coding projects developed by the community that utilize HydroDL

Differentiable Models

LSTM Models

  • Starting point: Quick LSTM tutorial on soil moisture prediction


    This notebook is the starting point for new people to learn hydrologic time series prediction using deep neural networks. You can see how CudnnLSTMmodel and CpuLSTM models are trained and how data are formatted. Dataset is embedded in the hydroDL library so it is easy to run the example.

  • Updated, simplified LSTM tutorial for CAMELS streamflow


    This notebook is the "high-flow expert" listed on the benchmark page. We greatly simplified the LSTM interface, making it easy to reuse this code on your data. This is slightly more involved than the soil moisture tutorial as we are dealing with a larger and more complex dataset. Thanks to Yalan Song, Kamlesh Sawadekar and Dapeng Feng. Note that different pytorch versions could lead to slightly different performances.

  • Multiscale (Liu et al. 2022)


    A multiscale DL scheme A multiscale DL scheme learning simultaneously from satellite and in situ data to predict 9 km daily soil moisture (5 cm depth).