{
"cells": [
{
"cell_type": "markdown",
"id": "32a1a143",
"metadata": {},
"source": [
"# 2. Get data of a SoilProfile"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "0",
"metadata": {},
"outputs": [],
"source": [
"import dutchsoils as ds"
]
},
{
"cell_type": "markdown",
"id": "287d50bf",
"metadata": {},
"source": [
"## 2.0. Get soil profile"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "c483a006",
"metadata": {},
"outputs": [],
"source": [
"# Get soil profile\n",
"sp = ds.SoilProfile.from_bofekcluster(1008)"
]
},
{
"cell_type": "markdown",
"id": "5",
"metadata": {},
"source": [
"## 2.1. Get all data (default)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "6",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.microsoft.datawrangler.viewer.v0+json": {
"columns": [
{
"name": "index",
"rawType": "int64",
"type": "integer"
},
{
"name": "layernumber",
"rawType": "int64",
"type": "integer"
},
{
"name": "faohorizonnotation",
"rawType": "object",
"type": "string"
},
{
"name": "ztop",
"rawType": "float64",
"type": "float"
},
{
"name": "zbottom",
"rawType": "float64",
"type": "float"
},
{
"name": "staringseriesblock",
"rawType": "object",
"type": "string"
},
{
"name": "organicmattercontent",
"rawType": "float64",
"type": "float"
},
{
"name": "organicmattercontent10p",
"rawType": "float64",
"type": "float"
},
{
"name": "organicmattercontent90p",
"rawType": "float64",
"type": "float"
},
{
"name": "acidity",
"rawType": "float64",
"type": "float"
},
{
"name": "acidity10p",
"rawType": "float64",
"type": "float"
},
{
"name": "acidity90p",
"rawType": "float64",
"type": "float"
},
{
"name": "cnratio",
"rawType": "int64",
"type": "integer"
},
{
"name": "peattype",
"rawType": "object",
"type": "unknown"
},
{
"name": "calciccontent",
"rawType": "float64",
"type": "float"
},
{
"name": "fedith",
"rawType": "float64",
"type": "float"
},
{
"name": "loamcontent",
"rawType": "int64",
"type": "integer"
},
{
"name": "loamcontent10p",
"rawType": "int64",
"type": "integer"
},
{
"name": "loamcontent90p",
"rawType": "int64",
"type": "integer"
},
{
"name": "lutitecontent",
"rawType": "int64",
"type": "integer"
},
{
"name": "lutitecontent10p",
"rawType": "int64",
"type": "integer"
},
{
"name": "lutitecontent90p",
"rawType": "int64",
"type": "integer"
},
{
"name": "sandmedian",
"rawType": "int64",
"type": "integer"
},
{
"name": "sandmedian10p",
"rawType": "int64",
"type": "integer"
},
{
"name": "sandmedian90p",
"rawType": "int64",
"type": "integer"
},
{
"name": "siltcontent",
"rawType": "int64",
"type": "integer"
},
{
"name": "density",
"rawType": "float64",
"type": "float"
},
{
"name": "wcres",
"rawType": "float64",
"type": "float"
},
{
"name": "wcsat",
"rawType": "float64",
"type": "float"
},
{
"name": "vgmalpha",
"rawType": "float64",
"type": "float"
},
{
"name": "vgmnpar",
"rawType": "float64",
"type": "float"
},
{
"name": "vgmlambda",
"rawType": "float64",
"type": "float"
},
{
"name": "ksatfit",
"rawType": "float64",
"type": "float"
},
{
"name": "staringblockdescription",
"rawType": "object",
"type": "string"
},
{
"name": "staringblocklabel",
"rawType": "object",
"type": "string"
}
],
"ref": "6e70a927-ff84-4de1-a2c0-5a052a507297",
"rows": [
[
"0",
"1",
"Ahg",
"0.0",
"0.1",
"B17",
"20.0",
"10.0",
"30.0",
"5.0",
"4.5",
"5.5",
"12",
null,
"0.0",
"2.1",
"75",
"40",
"90",
"40",
"25",
"60",
"140",
"110",
"170",
"35",
"0.641",
"0.0",
"0.71862598",
"0.01906191",
"1.1366583",
"0.0001",
"4.48373535",
"venige klei",
"venige klei"
],
[
"1",
"2",
"Cwg",
"0.1",
"0.35",
"O13",
"7.0",
"5.0",
"30.0",
"5.0",
"4.5",
"5.5",
"14",
null,
"0.0",
"2.0",
"90",
"70",
"100",
"55",
"40",
"70",
"110",
"90",
"130",
"35",
"1.044",
"0.01",
"0.573268",
"0.02785405",
"1.07995207",
"-6.09131057",
"9.68929074",
"zeer zware klei",
"z.zw. klei"
],
[
"2",
"3",
"Cw",
"0.35",
"0.8",
"O17",
"75.0",
"60.0",
"90.0",
"5.0",
"4.7",
"5.5",
"22",
"zeggeveen",
"0.0",
"1.4",
"75",
"45",
"85",
"18",
"6",
"30",
"125",
"110",
"140",
"57",
"0.232",
"0.01",
"0.84863548",
"0.01192909",
"1.27153561",
"-1.24929996",
"3.40200949",
"mesotroof en eutroof veen",
"meso-eutroof veen"
],
[
"3",
"4",
"BCb",
"0.8",
"0.95",
"O01",
"3.0",
"1.0",
"8.0",
"4.8",
"4.5",
"5.2",
"22",
null,
"0.0",
"0.4",
"8",
"5",
"20",
"2",
"1",
"4",
"160",
"140",
"180",
"6",
"1.545",
"0.01",
"0.36584689",
"0.01598691",
"2.16275113",
"2.8679672",
"22.32215442",
"leemarm zeer fijn tot matig fijn zand",
"leemarm z.f.-m.f. zand"
],
[
"4",
"5",
"Cu",
"0.95",
"1.2",
"O01",
"0.4",
"0.1",
"3.0",
"4.8",
"4.5",
"5.2",
"22",
null,
"0.0",
"0.3",
"8",
"5",
"20",
"2",
"1",
"4",
"160",
"140",
"180",
"6",
"1.668",
"0.01",
"0.36584689",
"0.01598691",
"2.16275113",
"2.8679672",
"22.32215442",
"leemarm zeer fijn tot matig fijn zand",
"leemarm z.f.-m.f. zand"
]
],
"shape": {
"columns": 34,
"rows": 5
}
},
"text/html": [
"
\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" layernumber | \n",
" faohorizonnotation | \n",
" ztop | \n",
" zbottom | \n",
" staringseriesblock | \n",
" organicmattercontent | \n",
" organicmattercontent10p | \n",
" organicmattercontent90p | \n",
" acidity | \n",
" acidity10p | \n",
" ... | \n",
" siltcontent | \n",
" density | \n",
" wcres | \n",
" wcsat | \n",
" vgmalpha | \n",
" vgmnpar | \n",
" vgmlambda | \n",
" ksatfit | \n",
" staringblockdescription | \n",
" staringblocklabel | \n",
"
\n",
" \n",
" \n",
" \n",
" | 0 | \n",
" 1 | \n",
" Ahg | \n",
" 0.00 | \n",
" 0.10 | \n",
" B17 | \n",
" 20.0 | \n",
" 10.0 | \n",
" 30.0 | \n",
" 5.0 | \n",
" 4.5 | \n",
" ... | \n",
" 35 | \n",
" 0.641 | \n",
" 0.00 | \n",
" 0.718626 | \n",
" 0.019062 | \n",
" 1.136658 | \n",
" 0.000100 | \n",
" 4.483735 | \n",
" venige klei | \n",
" venige klei | \n",
"
\n",
" \n",
" | 1 | \n",
" 2 | \n",
" Cwg | \n",
" 0.10 | \n",
" 0.35 | \n",
" O13 | \n",
" 7.0 | \n",
" 5.0 | \n",
" 30.0 | \n",
" 5.0 | \n",
" 4.5 | \n",
" ... | \n",
" 35 | \n",
" 1.044 | \n",
" 0.01 | \n",
" 0.573268 | \n",
" 0.027854 | \n",
" 1.079952 | \n",
" -6.091311 | \n",
" 9.689291 | \n",
" zeer zware klei | \n",
" z.zw. klei | \n",
"
\n",
" \n",
" | 2 | \n",
" 3 | \n",
" Cw | \n",
" 0.35 | \n",
" 0.80 | \n",
" O17 | \n",
" 75.0 | \n",
" 60.0 | \n",
" 90.0 | \n",
" 5.0 | \n",
" 4.7 | \n",
" ... | \n",
" 57 | \n",
" 0.232 | \n",
" 0.01 | \n",
" 0.848635 | \n",
" 0.011929 | \n",
" 1.271536 | \n",
" -1.249300 | \n",
" 3.402009 | \n",
" mesotroof en eutroof veen | \n",
" meso-eutroof veen | \n",
"
\n",
" \n",
" | 3 | \n",
" 4 | \n",
" BCb | \n",
" 0.80 | \n",
" 0.95 | \n",
" O01 | \n",
" 3.0 | \n",
" 1.0 | \n",
" 8.0 | \n",
" 4.8 | \n",
" 4.5 | \n",
" ... | \n",
" 6 | \n",
" 1.545 | \n",
" 0.01 | \n",
" 0.365847 | \n",
" 0.015987 | \n",
" 2.162751 | \n",
" 2.867967 | \n",
" 22.322154 | \n",
" leemarm zeer fijn tot matig fijn zand | \n",
" leemarm z.f.-m.f. zand | \n",
"
\n",
" \n",
" | 4 | \n",
" 5 | \n",
" Cu | \n",
" 0.95 | \n",
" 1.20 | \n",
" O01 | \n",
" 0.4 | \n",
" 0.1 | \n",
" 3.0 | \n",
" 4.8 | \n",
" 4.5 | \n",
" ... | \n",
" 6 | \n",
" 1.668 | \n",
" 0.01 | \n",
" 0.365847 | \n",
" 0.015987 | \n",
" 2.162751 | \n",
" 2.867967 | \n",
" 22.322154 | \n",
" leemarm zeer fijn tot matig fijn zand | \n",
" leemarm z.f.-m.f. zand | \n",
"
\n",
" \n",
"
\n",
"
5 rows × 34 columns
\n",
"
"
],
"text/plain": [
" layernumber faohorizonnotation ztop zbottom staringseriesblock \\\n",
"0 1 Ahg 0.00 0.10 B17 \n",
"1 2 Cwg 0.10 0.35 O13 \n",
"2 3 Cw 0.35 0.80 O17 \n",
"3 4 BCb 0.80 0.95 O01 \n",
"4 5 Cu 0.95 1.20 O01 \n",
"\n",
" organicmattercontent organicmattercontent10p organicmattercontent90p \\\n",
"0 20.0 10.0 30.0 \n",
"1 7.0 5.0 30.0 \n",
"2 75.0 60.0 90.0 \n",
"3 3.0 1.0 8.0 \n",
"4 0.4 0.1 3.0 \n",
"\n",
" acidity acidity10p ... siltcontent density wcres wcsat vgmalpha \\\n",
"0 5.0 4.5 ... 35 0.641 0.00 0.718626 0.019062 \n",
"1 5.0 4.5 ... 35 1.044 0.01 0.573268 0.027854 \n",
"2 5.0 4.7 ... 57 0.232 0.01 0.848635 0.011929 \n",
"3 4.8 4.5 ... 6 1.545 0.01 0.365847 0.015987 \n",
"4 4.8 4.5 ... 6 1.668 0.01 0.365847 0.015987 \n",
"\n",
" vgmnpar vgmlambda ksatfit staringblockdescription \\\n",
"0 1.136658 0.000100 4.483735 venige klei \n",
"1 1.079952 -6.091311 9.689291 zeer zware klei \n",
"2 1.271536 -1.249300 3.402009 mesotroof en eutroof veen \n",
"3 2.162751 2.867967 22.322154 leemarm zeer fijn tot matig fijn zand \n",
"4 2.162751 2.867967 22.322154 leemarm zeer fijn tot matig fijn zand \n",
"\n",
" staringblocklabel \n",
"0 venige klei \n",
"1 z.zw. klei \n",
"2 meso-eutroof veen \n",
"3 leemarm z.f.-m.f. zand \n",
"4 leemarm z.f.-m.f. zand \n",
"\n",
"[5 rows x 34 columns]"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sp.get_data_horizons()"
]
},
{
"cell_type": "markdown",
"id": "deaa7e16",
"metadata": {},
"source": [
"## 2.2. Get chemical data"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "35f72c2a",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.microsoft.datawrangler.viewer.v0+json": {
"columns": [
{
"name": "index",
"rawType": "int64",
"type": "integer"
},
{
"name": "layernumber",
"rawType": "int64",
"type": "integer"
},
{
"name": "faohorizonnotation",
"rawType": "object",
"type": "string"
},
{
"name": "ztop",
"rawType": "float64",
"type": "float"
},
{
"name": "zbottom",
"rawType": "float64",
"type": "float"
},
{
"name": "organicmattercontent",
"rawType": "float64",
"type": "float"
},
{
"name": "organicmattercontent10p",
"rawType": "float64",
"type": "float"
},
{
"name": "organicmattercontent90p",
"rawType": "float64",
"type": "float"
},
{
"name": "acidity",
"rawType": "float64",
"type": "float"
},
{
"name": "acidity10p",
"rawType": "float64",
"type": "float"
},
{
"name": "acidity90p",
"rawType": "float64",
"type": "float"
},
{
"name": "cnratio",
"rawType": "int64",
"type": "integer"
},
{
"name": "peattype",
"rawType": "object",
"type": "unknown"
},
{
"name": "calciccontent",
"rawType": "float64",
"type": "float"
},
{
"name": "fedith",
"rawType": "float64",
"type": "float"
}
],
"ref": "5973e6d3-0487-4fea-9974-3da598381b66",
"rows": [
[
"0",
"1",
"Ahg",
"0.0",
"0.1",
"20.0",
"10.0",
"30.0",
"5.0",
"4.5",
"5.5",
"12",
null,
"0.0",
"2.1"
],
[
"1",
"2",
"Cwg",
"0.1",
"0.35",
"7.0",
"5.0",
"30.0",
"5.0",
"4.5",
"5.5",
"14",
null,
"0.0",
"2.0"
],
[
"2",
"3",
"Cw",
"0.35",
"0.8",
"75.0",
"60.0",
"90.0",
"5.0",
"4.7",
"5.5",
"22",
"zeggeveen",
"0.0",
"1.4"
],
[
"3",
"4",
"BCb",
"0.8",
"0.95",
"3.0",
"1.0",
"8.0",
"4.8",
"4.5",
"5.2",
"22",
null,
"0.0",
"0.4"
],
[
"4",
"5",
"Cu",
"0.95",
"1.2",
"0.4",
"0.1",
"3.0",
"4.8",
"4.5",
"5.2",
"22",
null,
"0.0",
"0.3"
]
],
"shape": {
"columns": 14,
"rows": 5
}
},
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" layernumber | \n",
" faohorizonnotation | \n",
" ztop | \n",
" zbottom | \n",
" organicmattercontent | \n",
" organicmattercontent10p | \n",
" organicmattercontent90p | \n",
" acidity | \n",
" acidity10p | \n",
" acidity90p | \n",
" cnratio | \n",
" peattype | \n",
" calciccontent | \n",
" fedith | \n",
"
\n",
" \n",
" \n",
" \n",
" | 0 | \n",
" 1 | \n",
" Ahg | \n",
" 0.00 | \n",
" 0.10 | \n",
" 20.0 | \n",
" 10.0 | \n",
" 30.0 | \n",
" 5.0 | \n",
" 4.5 | \n",
" 5.5 | \n",
" 12 | \n",
" NaN | \n",
" 0.0 | \n",
" 2.1 | \n",
"
\n",
" \n",
" | 1 | \n",
" 2 | \n",
" Cwg | \n",
" 0.10 | \n",
" 0.35 | \n",
" 7.0 | \n",
" 5.0 | \n",
" 30.0 | \n",
" 5.0 | \n",
" 4.5 | \n",
" 5.5 | \n",
" 14 | \n",
" NaN | \n",
" 0.0 | \n",
" 2.0 | \n",
"
\n",
" \n",
" | 2 | \n",
" 3 | \n",
" Cw | \n",
" 0.35 | \n",
" 0.80 | \n",
" 75.0 | \n",
" 60.0 | \n",
" 90.0 | \n",
" 5.0 | \n",
" 4.7 | \n",
" 5.5 | \n",
" 22 | \n",
" zeggeveen | \n",
" 0.0 | \n",
" 1.4 | \n",
"
\n",
" \n",
" | 3 | \n",
" 4 | \n",
" BCb | \n",
" 0.80 | \n",
" 0.95 | \n",
" 3.0 | \n",
" 1.0 | \n",
" 8.0 | \n",
" 4.8 | \n",
" 4.5 | \n",
" 5.2 | \n",
" 22 | \n",
" NaN | \n",
" 0.0 | \n",
" 0.4 | \n",
"
\n",
" \n",
" | 4 | \n",
" 5 | \n",
" Cu | \n",
" 0.95 | \n",
" 1.20 | \n",
" 0.4 | \n",
" 0.1 | \n",
" 3.0 | \n",
" 4.8 | \n",
" 4.5 | \n",
" 5.2 | \n",
" 22 | \n",
" NaN | \n",
" 0.0 | \n",
" 0.3 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" layernumber faohorizonnotation ztop zbottom organicmattercontent \\\n",
"0 1 Ahg 0.00 0.10 20.0 \n",
"1 2 Cwg 0.10 0.35 7.0 \n",
"2 3 Cw 0.35 0.80 75.0 \n",
"3 4 BCb 0.80 0.95 3.0 \n",
"4 5 Cu 0.95 1.20 0.4 \n",
"\n",
" organicmattercontent10p organicmattercontent90p acidity acidity10p \\\n",
"0 10.0 30.0 5.0 4.5 \n",
"1 5.0 30.0 5.0 4.5 \n",
"2 60.0 90.0 5.0 4.7 \n",
"3 1.0 8.0 4.8 4.5 \n",
"4 0.1 3.0 4.8 4.5 \n",
"\n",
" acidity90p cnratio peattype calciccontent fedith \n",
"0 5.5 12 NaN 0.0 2.1 \n",
"1 5.5 14 NaN 0.0 2.0 \n",
"2 5.5 22 zeggeveen 0.0 1.4 \n",
"3 5.2 22 NaN 0.0 0.4 \n",
"4 5.2 22 NaN 0.0 0.3 "
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sp.get_data_horizons(which=\"chemical\")"
]
},
{
"cell_type": "markdown",
"id": "5fd2bc4f",
"metadata": {},
"source": [
"## 2.3. Get physical/textural data"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "92d0a2d6",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.microsoft.datawrangler.viewer.v0+json": {
"columns": [
{
"name": "index",
"rawType": "int64",
"type": "integer"
},
{
"name": "layernumber",
"rawType": "int64",
"type": "integer"
},
{
"name": "faohorizonnotation",
"rawType": "object",
"type": "string"
},
{
"name": "ztop",
"rawType": "float64",
"type": "float"
},
{
"name": "zbottom",
"rawType": "float64",
"type": "float"
},
{
"name": "loamcontent",
"rawType": "int64",
"type": "integer"
},
{
"name": "loamcontent10p",
"rawType": "int64",
"type": "integer"
},
{
"name": "loamcontent90p",
"rawType": "int64",
"type": "integer"
},
{
"name": "lutitecontent",
"rawType": "int64",
"type": "integer"
},
{
"name": "lutitecontent10p",
"rawType": "int64",
"type": "integer"
},
{
"name": "lutitecontent90p",
"rawType": "int64",
"type": "integer"
},
{
"name": "sandmedian",
"rawType": "int64",
"type": "integer"
},
{
"name": "sandmedian10p",
"rawType": "int64",
"type": "integer"
},
{
"name": "sandmedian90p",
"rawType": "int64",
"type": "integer"
},
{
"name": "siltcontent",
"rawType": "int64",
"type": "integer"
},
{
"name": "density",
"rawType": "float64",
"type": "float"
}
],
"ref": "c628e355-25e6-44f9-8037-514cb5e91f9d",
"rows": [
[
"0",
"1",
"Ahg",
"0.0",
"0.1",
"75",
"40",
"90",
"40",
"25",
"60",
"140",
"110",
"170",
"35",
"0.641"
],
[
"1",
"2",
"Cwg",
"0.1",
"0.35",
"90",
"70",
"100",
"55",
"40",
"70",
"110",
"90",
"130",
"35",
"1.044"
],
[
"2",
"3",
"Cw",
"0.35",
"0.8",
"75",
"45",
"85",
"18",
"6",
"30",
"125",
"110",
"140",
"57",
"0.232"
],
[
"3",
"4",
"BCb",
"0.8",
"0.95",
"8",
"5",
"20",
"2",
"1",
"4",
"160",
"140",
"180",
"6",
"1.545"
],
[
"4",
"5",
"Cu",
"0.95",
"1.2",
"8",
"5",
"20",
"2",
"1",
"4",
"160",
"140",
"180",
"6",
"1.668"
]
],
"shape": {
"columns": 15,
"rows": 5
}
},
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" layernumber | \n",
" faohorizonnotation | \n",
" ztop | \n",
" zbottom | \n",
" loamcontent | \n",
" loamcontent10p | \n",
" loamcontent90p | \n",
" lutitecontent | \n",
" lutitecontent10p | \n",
" lutitecontent90p | \n",
" sandmedian | \n",
" sandmedian10p | \n",
" sandmedian90p | \n",
" siltcontent | \n",
" density | \n",
"
\n",
" \n",
" \n",
" \n",
" | 0 | \n",
" 1 | \n",
" Ahg | \n",
" 0.00 | \n",
" 0.10 | \n",
" 75 | \n",
" 40 | \n",
" 90 | \n",
" 40 | \n",
" 25 | \n",
" 60 | \n",
" 140 | \n",
" 110 | \n",
" 170 | \n",
" 35 | \n",
" 0.641 | \n",
"
\n",
" \n",
" | 1 | \n",
" 2 | \n",
" Cwg | \n",
" 0.10 | \n",
" 0.35 | \n",
" 90 | \n",
" 70 | \n",
" 100 | \n",
" 55 | \n",
" 40 | \n",
" 70 | \n",
" 110 | \n",
" 90 | \n",
" 130 | \n",
" 35 | \n",
" 1.044 | \n",
"
\n",
" \n",
" | 2 | \n",
" 3 | \n",
" Cw | \n",
" 0.35 | \n",
" 0.80 | \n",
" 75 | \n",
" 45 | \n",
" 85 | \n",
" 18 | \n",
" 6 | \n",
" 30 | \n",
" 125 | \n",
" 110 | \n",
" 140 | \n",
" 57 | \n",
" 0.232 | \n",
"
\n",
" \n",
" | 3 | \n",
" 4 | \n",
" BCb | \n",
" 0.80 | \n",
" 0.95 | \n",
" 8 | \n",
" 5 | \n",
" 20 | \n",
" 2 | \n",
" 1 | \n",
" 4 | \n",
" 160 | \n",
" 140 | \n",
" 180 | \n",
" 6 | \n",
" 1.545 | \n",
"
\n",
" \n",
" | 4 | \n",
" 5 | \n",
" Cu | \n",
" 0.95 | \n",
" 1.20 | \n",
" 8 | \n",
" 5 | \n",
" 20 | \n",
" 2 | \n",
" 1 | \n",
" 4 | \n",
" 160 | \n",
" 140 | \n",
" 180 | \n",
" 6 | \n",
" 1.668 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" layernumber faohorizonnotation ztop zbottom loamcontent loamcontent10p \\\n",
"0 1 Ahg 0.00 0.10 75 40 \n",
"1 2 Cwg 0.10 0.35 90 70 \n",
"2 3 Cw 0.35 0.80 75 45 \n",
"3 4 BCb 0.80 0.95 8 5 \n",
"4 5 Cu 0.95 1.20 8 5 \n",
"\n",
" loamcontent90p lutitecontent lutitecontent10p lutitecontent90p \\\n",
"0 90 40 25 60 \n",
"1 100 55 40 70 \n",
"2 85 18 6 30 \n",
"3 20 2 1 4 \n",
"4 20 2 1 4 \n",
"\n",
" sandmedian sandmedian10p sandmedian90p siltcontent density \n",
"0 140 110 170 35 0.641 \n",
"1 110 90 130 35 1.044 \n",
"2 125 110 140 57 0.232 \n",
"3 160 140 180 6 1.545 \n",
"4 160 140 180 6 1.668 "
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sp.get_data_horizons(which=\"physical\")"
]
},
{
"cell_type": "markdown",
"id": "f3983381",
"metadata": {},
"source": [
"## 2.4. Get hydraulic data"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "88aa3fe1",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.microsoft.datawrangler.viewer.v0+json": {
"columns": [
{
"name": "index",
"rawType": "int64",
"type": "integer"
},
{
"name": "layernumber",
"rawType": "int64",
"type": "integer"
},
{
"name": "faohorizonnotation",
"rawType": "object",
"type": "string"
},
{
"name": "ztop",
"rawType": "float64",
"type": "float"
},
{
"name": "zbottom",
"rawType": "float64",
"type": "float"
},
{
"name": "staringseriesblock",
"rawType": "object",
"type": "string"
},
{
"name": "wcres",
"rawType": "float64",
"type": "float"
},
{
"name": "wcsat",
"rawType": "float64",
"type": "float"
},
{
"name": "vgmalpha",
"rawType": "float64",
"type": "float"
},
{
"name": "vgmnpar",
"rawType": "float64",
"type": "float"
},
{
"name": "vgmlambda",
"rawType": "float64",
"type": "float"
},
{
"name": "ksatfit",
"rawType": "float64",
"type": "float"
},
{
"name": "staringblockdescription",
"rawType": "object",
"type": "string"
},
{
"name": "staringblocklabel",
"rawType": "object",
"type": "string"
}
],
"ref": "6cb5c4ce-e7ac-44be-a335-61b390b49d34",
"rows": [
[
"0",
"1",
"Ahg",
"0.0",
"0.1",
"B17",
"0.0",
"0.71862598",
"0.01906191",
"1.1366583",
"0.0001",
"4.48373535",
"venige klei",
"venige klei"
],
[
"1",
"2",
"Cwg",
"0.1",
"0.35",
"O13",
"0.01",
"0.573268",
"0.02785405",
"1.07995207",
"-6.09131057",
"9.68929074",
"zeer zware klei",
"z.zw. klei"
],
[
"2",
"3",
"Cw",
"0.35",
"0.8",
"O17",
"0.01",
"0.84863548",
"0.01192909",
"1.27153561",
"-1.24929996",
"3.40200949",
"mesotroof en eutroof veen",
"meso-eutroof veen"
],
[
"3",
"4",
"BCb",
"0.8",
"0.95",
"O01",
"0.01",
"0.36584689",
"0.01598691",
"2.16275113",
"2.8679672",
"22.32215442",
"leemarm zeer fijn tot matig fijn zand",
"leemarm z.f.-m.f. zand"
],
[
"4",
"5",
"Cu",
"0.95",
"1.2",
"O01",
"0.01",
"0.36584689",
"0.01598691",
"2.16275113",
"2.8679672",
"22.32215442",
"leemarm zeer fijn tot matig fijn zand",
"leemarm z.f.-m.f. zand"
]
],
"shape": {
"columns": 13,
"rows": 5
}
},
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" | \n",
" layernumber | \n",
" faohorizonnotation | \n",
" ztop | \n",
" zbottom | \n",
" staringseriesblock | \n",
" wcres | \n",
" wcsat | \n",
" vgmalpha | \n",
" vgmnpar | \n",
" vgmlambda | \n",
" ksatfit | \n",
" staringblockdescription | \n",
" staringblocklabel | \n",
"
\n",
" \n",
" \n",
" \n",
" | 0 | \n",
" 1 | \n",
" Ahg | \n",
" 0.00 | \n",
" 0.10 | \n",
" B17 | \n",
" 0.00 | \n",
" 0.718626 | \n",
" 0.019062 | \n",
" 1.136658 | \n",
" 0.000100 | \n",
" 4.483735 | \n",
" venige klei | \n",
" venige klei | \n",
"
\n",
" \n",
" | 1 | \n",
" 2 | \n",
" Cwg | \n",
" 0.10 | \n",
" 0.35 | \n",
" O13 | \n",
" 0.01 | \n",
" 0.573268 | \n",
" 0.027854 | \n",
" 1.079952 | \n",
" -6.091311 | \n",
" 9.689291 | \n",
" zeer zware klei | \n",
" z.zw. klei | \n",
"
\n",
" \n",
" | 2 | \n",
" 3 | \n",
" Cw | \n",
" 0.35 | \n",
" 0.80 | \n",
" O17 | \n",
" 0.01 | \n",
" 0.848635 | \n",
" 0.011929 | \n",
" 1.271536 | \n",
" -1.249300 | \n",
" 3.402009 | \n",
" mesotroof en eutroof veen | \n",
" meso-eutroof veen | \n",
"
\n",
" \n",
" | 3 | \n",
" 4 | \n",
" BCb | \n",
" 0.80 | \n",
" 0.95 | \n",
" O01 | \n",
" 0.01 | \n",
" 0.365847 | \n",
" 0.015987 | \n",
" 2.162751 | \n",
" 2.867967 | \n",
" 22.322154 | \n",
" leemarm zeer fijn tot matig fijn zand | \n",
" leemarm z.f.-m.f. zand | \n",
"
\n",
" \n",
" | 4 | \n",
" 5 | \n",
" Cu | \n",
" 0.95 | \n",
" 1.20 | \n",
" O01 | \n",
" 0.01 | \n",
" 0.365847 | \n",
" 0.015987 | \n",
" 2.162751 | \n",
" 2.867967 | \n",
" 22.322154 | \n",
" leemarm zeer fijn tot matig fijn zand | \n",
" leemarm z.f.-m.f. zand | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" layernumber faohorizonnotation ztop zbottom staringseriesblock wcres \\\n",
"0 1 Ahg 0.00 0.10 B17 0.00 \n",
"1 2 Cwg 0.10 0.35 O13 0.01 \n",
"2 3 Cw 0.35 0.80 O17 0.01 \n",
"3 4 BCb 0.80 0.95 O01 0.01 \n",
"4 5 Cu 0.95 1.20 O01 0.01 \n",
"\n",
" wcsat vgmalpha vgmnpar vgmlambda ksatfit \\\n",
"0 0.718626 0.019062 1.136658 0.000100 4.483735 \n",
"1 0.573268 0.027854 1.079952 -6.091311 9.689291 \n",
"2 0.848635 0.011929 1.271536 -1.249300 3.402009 \n",
"3 0.365847 0.015987 2.162751 2.867967 22.322154 \n",
"4 0.365847 0.015987 2.162751 2.867967 22.322154 \n",
"\n",
" staringblockdescription staringblocklabel \n",
"0 venige klei venige klei \n",
"1 zeer zware klei z.zw. klei \n",
"2 mesotroof en eutroof veen meso-eutroof veen \n",
"3 leemarm zeer fijn tot matig fijn zand leemarm z.f.-m.f. zand \n",
"4 leemarm zeer fijn tot matig fijn zand leemarm z.f.-m.f. zand "
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sp.get_data_horizons(which=\"hydraulic\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": ".venv",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}