Skip to content

Soil Module

In agriculture simulations, such as those conducted using the EPIC model, soil data directly influences water availability, nutrient supply, and overall crop growth predictions. Soil input files to the model contain detailed information about the soil properties of a specific location, depth wise. GeoEPIC helps in generating soil files required by the EPIC Model from two soil data sources:

soilg

Usage


USDA SSURGO

The USDA Soil Survey Geographic (SSURGO) database is a comprehensive resource for soil data collected by the Natural Resources Conservation Service (NRCS) across the United States and the Territories. This database provides detailed information on soil properties and classifications. The data is collected through extensive field surveys and laboratory analysis. For more detailed information, visit the USDA NRCS SSURGO page.

To fetch and output soil files using the USDA SSURGO database, following commands could be used. For a specific location, specify the latitude and longitude coordinates to generate a soil file named {mukey}.SOL.

# Fetch and output soil files for a specific latitude and longitude
geo_epic soil usda --fetch {lat} {lon} --out {out_path}
# Fetch for a list of locations in a csv file with lat, lon
geo_epic soil usda --fetch {list.csv} --out {out_dir}
# Fetch for crop sequence boundaries shape file.
geo_epic soil usda --fetch {aoi_csb.shp} --out {out_dir}

Note: This command will write Soil IDs (mukeys) corresponding to each location as an attribute into the input file, when used with a CSV file or crop sequence boundary shapefile.

Processing ssurgo gdb file:

To process a SSURGO GDB file and generate soil files for all unique soils contained in it, follow these steps. For instance, if you require soil files for Maryland, navigate to the 'State Database - Soils' section, and download the 'gSSURGO_MD.zip' file. Once the download is complete, extract the contents and place the GDB file in the 'soil' folder within your workspace. Use the following command to generate the soil files for all mukeys.

Link: https://www.nrcs.usda.gov/resources/data-and-reports/gridded-soil-survey-geographic-gssurgo-database

geo_epic soil process_gdb -i {path/to/ssurgo.gdb} -o {out_dir}