1 |
3641
|
aaronmk
|
Put template:
|
2 |
|
|
<VegBIEN>
|
3 |
4621
|
aaronmk
|
<_simplifyPath id="-1">
|
4 |
|
|
<next>parent_id</next>
|
5 |
|
|
<path>
|
6 |
|
|
<location>
|
7 |
|
|
<authorlocationcode>$plot_code</authorlocationcode>
|
8 |
|
|
<sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
|
9 |
4767
|
aaronmk
|
<area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
|
10 |
4753
|
aaronmk
|
<elevation_m>
|
11 |
4621
|
aaronmk
|
<_alt>
|
12 |
4809
|
aaronmk
|
<1>$elev_m</1>
|
13 |
4621
|
aaronmk
|
<2>
|
14 |
|
|
<_avg>
|
15 |
4820
|
aaronmk
|
<max>$elev_max_m</max>
|
16 |
4822
|
aaronmk
|
<min>$elev_min_m</min>
|
17 |
4621
|
aaronmk
|
</_avg>
|
18 |
|
|
</2>
|
19 |
|
|
</_alt>
|
20 |
4753
|
aaronmk
|
</elevation_m>
|
21 |
4621
|
aaronmk
|
<locationevent>
|
22 |
|
|
<method_id><method><name>$plot_methodology</name></method></method_id>
|
23 |
|
|
<project_id><project><projectname>$project</projectname></project></project_id>
|
24 |
|
|
<commclass>
|
25 |
|
|
<commdetermination>
|
26 |
|
|
<commconcept_id>
|
27 |
|
|
<commconcept>
|
28 |
|
|
<commname_id><commname><commname>$holdridge_life_zone</commname></commname></commname_id>
|
29 |
|
|
<commdescription>$life_zone_code</commdescription>
|
30 |
|
|
</commconcept>
|
31 |
|
|
</commconcept_id>
|
32 |
|
|
</commdetermination>
|
33 |
|
|
</commclass>
|
34 |
|
|
<obsenddate><_date><date>$date_finish</date></_date></obsenddate>
|
35 |
|
|
<obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
|
36 |
4753
|
aaronmk
|
<precipitation_m>$precip_mm</precipitation_m>
|
37 |
4621
|
aaronmk
|
<soilobs>
|
38 |
4786
|
aaronmk
|
<acidity_fraction>
|
39 |
4908
|
aaronmk
|
<_percent_to_fraction>
|
40 |
4621
|
aaronmk
|
<value>
|
41 |
4912
|
aaronmk
|
<_map>
|
42 |
|
|
<<0.05>0</<0.05>
|
43 |
|
|
<*>*</*>
|
44 |
|
|
<value>$soil_acidity</value>
|
45 |
|
|
</_map>
|
46 |
4621
|
aaronmk
|
</value>
|
47 |
4908
|
aaronmk
|
</_percent_to_fraction>
|
48 |
4786
|
aaronmk
|
</acidity_fraction>
|
49 |
4912
|
aaronmk
|
<basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
|
50 |
|
|
<calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
|
51 |
|
|
<carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
|
52 |
4754
|
aaronmk
|
<cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
|
53 |
4912
|
aaronmk
|
<clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
|
54 |
4621
|
aaronmk
|
<conductivity>$soil_conductivity</conductivity>
|
55 |
4912
|
aaronmk
|
<magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
|
56 |
|
|
<nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
|
57 |
|
|
<organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
|
58 |
4621
|
aaronmk
|
<ph>$pH</ph>
|
59 |
4786
|
aaronmk
|
<phosphorus_fraction>
|
60 |
4908
|
aaronmk
|
<_percent_to_fraction>
|
61 |
4621
|
aaronmk
|
<value>
|
62 |
4912
|
aaronmk
|
<_map>
|
63 |
|
|
<<0.05>0</<0.05>
|
64 |
|
|
<*>*</*>
|
65 |
|
|
<value>$soil_P</value>
|
66 |
|
|
</_map>
|
67 |
4621
|
aaronmk
|
</value>
|
68 |
4908
|
aaronmk
|
</_percent_to_fraction>
|
69 |
4786
|
aaronmk
|
</phosphorus_fraction>
|
70 |
4912
|
aaronmk
|
<potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
|
71 |
|
|
<sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
|
72 |
|
|
<silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
|
73 |
|
|
<sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
|
74 |
4621
|
aaronmk
|
<texture>$soil_texture</texture>
|
75 |
|
|
</soilobs>
|
76 |
4753
|
aaronmk
|
<temperature_c>$temp_c</temperature_c>
|
77 |
4621
|
aaronmk
|
</locationevent>
|
78 |
|
|
<locationnarrative>$locality_description</locationnarrative>
|
79 |
4726
|
aaronmk
|
<locationplace>
|
80 |
5855
|
aaronmk
|
<place_id>
|
81 |
|
|
<place>
|
82 |
5861
|
aaronmk
|
<coordinates_id>
|
83 |
|
|
<coordinates>
|
84 |
|
|
<latitude_deg>
|
85 |
|
|
<_nullIf>
|
86 |
|
|
<null>0</null>
|
87 |
|
|
<type>float</type>
|
88 |
|
|
<value>$lat_decimal</value>
|
89 |
|
|
</_nullIf>
|
90 |
|
|
</latitude_deg>
|
91 |
|
|
<longitude_deg>
|
92 |
|
|
<_nullIf>
|
93 |
|
|
<null>0</null>
|
94 |
|
|
<type>float</type>
|
95 |
|
|
<value>$long_decimal</value>
|
96 |
|
|
</_nullIf>
|
97 |
|
|
</longitude_deg>
|
98 |
|
|
</coordinates>
|
99 |
|
|
</coordinates_id>
|
100 |
4727
|
aaronmk
|
<continent>$major_geo</continent>
|
101 |
|
|
<country>$country</country>
|
102 |
|
|
<county>$pol2</county>
|
103 |
5958
|
aaronmk
|
<matched_place_id>
|
104 |
|
|
<place>
|
105 |
|
|
<reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
|
106 |
|
|
<coordinates_id>
|
107 |
|
|
<coordinates>
|
108 |
|
|
<latitude_deg>$lat_decimal</latitude_deg>
|
109 |
|
|
<longitude_deg>$long_decimal</longitude_deg>
|
110 |
|
|
</coordinates>
|
111 |
|
|
</coordinates_id>
|
112 |
|
|
<country>$country</country>
|
113 |
|
|
<stateprovince>$pol1</stateprovince>
|
114 |
|
|
</place>
|
115 |
|
|
</matched_place_id>
|
116 |
4727
|
aaronmk
|
<stateprovince>$pol1</stateprovince>
|
117 |
5855
|
aaronmk
|
</place>
|
118 |
|
|
</place_id>
|
119 |
4726
|
aaronmk
|
</locationplace>
|
120 |
4753
|
aaronmk
|
<slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
|
121 |
4786
|
aaronmk
|
<slopegradient_fraction>$slope_gradient</slopegradient_fraction>
|
122 |
4621
|
aaronmk
|
</location>
|
123 |
|
|
</path>
|
124 |
|
|
</_simplifyPath>
|
125 |
3641
|
aaronmk
|
</VegBIEN>
|
126 |
5958
|
aaronmk
|
Inserted 17 new rows into database
|