[GRASS-git] [OSGeo/grass-addons] b22d0c: r.in.ssurgo: Feat imports USDA NRCS SSURGO soil da...

Corey White noreply at github.com
Mon Jun 1 13:14:06 PDT 2026


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: b22d0caf398d3988178e23c2882f84e26f670a6c
      https://github.com/OSGeo/grass-addons/commit/b22d0caf398d3988178e23c2882f84e26f670a6c
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    A src/raster/r.in.ssurgo/CMakeLists.txt
    A src/raster/r.in.ssurgo/Makefile
    A src/raster/r.in.ssurgo/r.in.ssurgo.html
    A src/raster/r.in.ssurgo/r.in.ssurgo.ipynb
    A src/raster/r.in.ssurgo/r.in.ssurgo.md
    A src/raster/r.in.ssurgo/r.in.ssurgo.py
    A src/raster/r.in.ssurgo/requirements.txt
    A src/raster/r.in.ssurgo/tests/conftest.py
    A src/raster/r.in.ssurgo/tests/r_in_ssurgo_test.py

  Log Message:
  -----------
  r.in.ssurgo: Feat imports USDA NRCS SSURGO soil data (#1630)

* r.in.ssurgo: Feat imports USDA NRCS SSURGO soil data

* Fixed the SDA query, refactored import logic to be usedfor local and sda querys, added tests

* Fix descrepency between queries

* Added Todo fields

* Apply suggestions from code review

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>

* Added links to data download

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Removed unused function

* Removed leftover print statement

* Converted print to gs.verbose

* Removed global Tools and clean up import functions

* Removed old unused function

* Added more detail to docs and changed soils_area param to soils

* Removed d flag and updated documentation

* Normalized dominant component queries

* Started SQLite fallabck

* Switch from grass.tools to grass.script

* Added clip vector to region

* Fixed issue with switching session

* Added flag to force sqlite over duckdb for testing

* Fixed issue with uploading local gdb with sqlite

* Fixed soil depth bug

* Made constants from reused ssurgo parts

* Condenced queries into reusable components

* Added additional SSURGO fields to output silt, clay, etc

* Added 3D raster (r3) output for ksat based on user define depth slices

* Clean up

* Updated docs

* removed old comments

* Fixed filename typo

* Removed uneeded parameter section

* Corrected duckdb version

* Removed limit to only accepting A as the master soil horizion

* Apply suggestions from code review

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>

* Updated HSG color scheme to include zero

* Added default bottom depth to parameters'set to 25.4 cm or 10 inches to match master horizon A

* Removed uneeded parts of notebook that were copied from the NRCS notebooks

* Added raster3d keyword

* Renamed variable ssurgo_areas to ssurgo_vector

* Added gs.temp_region calls to raster3d creation

* Updated docs to reflect switching hzdept_r and hzdept_b to type float

* Rephrased docstring to indicate the funtion isn't importing the data

* Reduced sqlite commands into a single execute statement

* Normalized ksat color scheeme accross low, regular, and high values

* Switch function to return vs pass when Weighted component aggregation is selected

* Cleaned up some comments

* Fixed bug with setting ksat raster3d color scheme

* Removed old parameter

* Updated notebook examples

---------

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list