r.basins.fill(1grass)
β¨ r.basins.fill β¨
okay bestie, welcome to the GRASS User's Manual</p> page for r.basins.fill β she's a raster module and she's here to generate watershed subbasins raster maps π§π
πΈ KEYWORDS πΈ
raster, hydrology, watershed
π SYNOPSIS π
r.basins.fill
r.basins.fill --help
r.basins.fill cnetwork=name tnetwork=name output=name number=integer
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
β¨ Flags β¨
--overwriteβ bestie this one lets your output files just go ahead and overwrite files that already exist. permission granted π--helpβ prints the usage summary, aka the little cheat sheet--verboseβ verbose module output, she's gonna talk more--quietβ quiet module output, she's gonna talk less π€«--uiβ force launching the GUI dialog, for when you want the pretty buttons
π¦ Parameters π¦
cnetwork=name[required] β name of the input coded stream network raster maptnetwork=name[required] β name of the input thinned ridge network raster mapoutput=name[required] β name for the output raster mapnumber=integer[required] β number of passes through the dataset (yes you must give her a number, no she will not guess)
π DESCRIPTION π
so, r.basins.fill generates a raster map layer depicting subbasins, based on input raster map layers β one for the coded stream network (where each channel segment has been "coded" with a unique category value) and one for the ridges within a given watershed. ποΈ
the raster map layer depicting ridges should include the ridge which defines the perimeter of the watershed, okay? don't skip the perimeter ridge, she needs it fr fr.
the coded stream network can be generated as part of the r.watershed program, but the map layer of ridges will need to be created by hand (for example, through digitizing done in wxGUI vector digitizer). yes bestie, manually. iykyk πβοΈ
the resulting output raster map layer will code the subbasins with category values matching those of the channel segments passing through them. a user-supplied number of passes through the data is made in an attempt to fill in these subbasins.
if the resulting map layer from this program appears to have holes within a subbasin, the program should be rerun with a higher number of passes. no cap β holes mean bump up number and run her again π³οΈβ‘οΈβ¨
π NOTES π
the current geographic region setting is ignored. instead, the geographic region for the entire input stream's map layer is used. so don't come for her about your region settings, she's got her own vibe check going on π
π SEE ALSO π
see Appendix A of the GRASS Tutorial: r.watershed for further details on the combined use of r.basins.fill and r.watershed. π
r.water.outletr.watershedwxGUI vector digitizer
π«Ά AUTHORS π«Ά
- Dale White, Dept. of Geography, Pennsylvania State University
- Larry Band, Dept. of Geography, University of Toronto, Canada
β SOURCE CODE β
available at: r.basins.fill source code (history)
latest change: Tuesday Mar 04 21:25:20 2025 in commit: 9227329b2af8a13e1ab2730b5c863bf096510a46
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page, bestie π huge thanks to the legends above β source code Β© 2003-2026 GRASS Development Team, and this is the GRASS 8.5.0 Reference Manual, last touched Tuesday Mar 04 21:25:20 2025. slay, hydrate, and go fill some subbasins π β¨π
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms