rileyhales / river-route

Hydrologic river routing of gridded runoff depths or catchment volumes on vector stream networks
https://river-route.hales.app
BSD 3-Clause Clear License
0 stars 2 forks source link

Alternative options for reading runoff volume arrays #20

Open rileyhales opened 4 months ago

rileyhales commented 4 months ago

Allow options for alternative methods for reading the runoff volumes array.

Runoff volumes array incremental reader generator instead of in memory array

Do you want to read the entire array in memory up front and then route it or do you want to incrementally read from the array/file on disc?

To reduce memory consumption (but maybe be slower?) you can incrementally read from the array if the data are provided in a chunked format that is optimized for it.