Skip to content
Kyle Palmquist edited this page Jan 29, 2020 · 6 revisions

In this file you can provide cell-specific inputs for soil parameters.

  • This file will only be read if the corresponding flag in grid_setup.in is turned on.
  • For every cell there must be N rows where N is the number of soil layers you would like.
  • There must be at least M entires where M is the number of cells specified in grid_setup.in.

The columns of the file are

cell copy_cell num_layers layer depth matricd gravel_content evco trco_grass trco_shrub trco_tree trco_forb sand clay imperm soiltemp sxw_roots

cell

The number of the cell that this soil layer applies to. Remember, cells are 0-indexed and numbered by row, so a 4 x 4 grid is numbered

0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15

copy_cell

This column should be left blank if you do not want to copy another cell. If you do want to copy another cell put the cell number of the other cell here.

If you do choose to copy another cell you do not need to provide any other inputs for the current cell.

num_layers

The number of soil layers that the current cell has. This value must match the number of rows containing inputs for the current cell (see example).

layer

The soil layer that the current row is describing. This value must be between 1 and num_layers where 1 is the topmost layer.

depth

The depth, in centimeters, of the layer currently being described.

matricd

The bulk density (g/cm^3) of the layer currently being described.

gravel_content

A value between 0 and 1. The percent of the layer comprised of gravel.

evco

The proportion of total baresoil evaporation of the layer currently being described.

trco_grass

The proportion of total transpiration from this soil layer for grasses.

trco_shrub

The proportion of total transpiration from this soil layer for shrubs.

trco_tree

The proportion of total transpiration from this soil layer for trees.

trco_forb

The proportion of total transpiration from this soil layer for forbs.

sand

A value between 0 and 1. The percentage of the layer comprised of sand.

clay

A value between 0 and 1. The percentage of the layer comprised of clay.

imperm

The impermeability of the soil layer.

soiltemp

The temperature of the soil layer.

sxw_roots

The name of the sxwroots.in file that this cell should use.

Example

Here is an example file for a 3 x 3 grid.

cell copy_cell num_layers layer depth matricd gravel_content evco trco_grass trco_shrub trco_tree trco_forb sand clay imperm soiltemp sxw_roots
0 8 1 10 1.43 0 0.5 0.1 0.1 0.1 0.1 .45 0.18 0 0.186 sxwroots1.in
0 8 2 20 1.41 0 0.35 0.25 0.25 0.25 0.25 .48 0.19 0 0.372 sxwroots1.in
0 8 3 30 1.39 0 0.15 0.3 0.3 0.3 0.3 .53 0.16 0 0.744 sxwroots1.in
0 8 4 40 1.39 0 0 0.2 0.2 0.2 0.2 .53 0.16 0 1.116 sxwroots1.in
0 8 5 60 1.38 0 0 0.1 0.1 0.1 0.1 .53 0.16 0 1.488 sxwroots1.in
0 8 6 80 1.15 0 0 0.05 0.05 0.05 0.05 .53 0.16 0 2.232 sxwroots1.in
0 8 7 100 1.31 0 0 0 0 0 0 .53 0.16 0 2.975 sxwroots1.in
0 8 7 150 1.31 0 0 0 0 0 0 .53 0.16 0 2.975 sxwroots1.in
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
  • This example contains 1 soil type described for cell 0 then copied to all other cells.
  • Notice that depth is additive, meaning layer 2 is 10 cm deep, plus the 10 from layer 1, making the input 20 cm.
Clone this wiki locally