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 map
  • tnetwork=name [required] β€” name of the input thinned ridge network raster map
  • output=name [required] β€” name for the output raster map
  • number=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.outlet
  • r.watershed
  • wxGUI 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