Project

General

Profile

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
                                <min><_rangeStart><value>$elev_min_m</value></_rangeStart></min>
17 4621 aaronmk
                            </_avg>
18
                        </2>
19
                    </_alt>
20 4753 aaronmk
                </elevation_m>
21
                <elevationrange_m>
22 4621 aaronmk
                    <_range>
23 4820 aaronmk
                        <from><_rangeStart><value>$elev_min_m</value></_rangeStart></from>
24 4621 aaronmk
                        <to>
25 4820 aaronmk
                            <_alt>
26
                                <1>$elev_max_m</1>
27
                                <2><_rangeEnd><value>$elev_min_m</value></_rangeEnd></2>
28
                            </_alt>
29 4621 aaronmk
                        </to>
30
                    </_range>
31 4753 aaronmk
                </elevationrange_m>
32 4726 aaronmk
                <locationcoords>
33 4753 aaronmk
                    <latitude_deg>
34 4621 aaronmk
                        <_nullIf>
35
                            <null>0</null>
36
                            <type>float</type>
37
                            <value>$lat_decimal</value>
38
                        </_nullIf>
39 4753 aaronmk
                    </latitude_deg>
40
                    <longitude_deg>
41 4621 aaronmk
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$long_decimal</value>
45
                        </_nullIf>
46 4753 aaronmk
                    </longitude_deg>
47 4726 aaronmk
                </locationcoords>
48 4621 aaronmk
                <locationevent>
49
                    <method_id><method><name>$plot_methodology</name></method></method_id>
50
                    <project_id><project><projectname>$project</projectname></project></project_id>
51
                    <commclass>
52
                        <commdetermination>
53
                            <commconcept_id>
54
                                <commconcept>
55
                                    <commname_id><commname><commname>$holdridge_life_zone</commname></commname></commname_id>
56
                                    <commdescription>$life_zone_code</commdescription>
57
                                </commconcept>
58
                            </commconcept_id>
59
                        </commdetermination>
60
                    </commclass>
61
                    <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
62
                    <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
63 4753 aaronmk
                    <precipitation_m>$precip_mm</precipitation_m>
64 4621 aaronmk
                    <soilobs>
65 4786 aaronmk
                        <acidity_fraction>
66 4621 aaronmk
                            <_units>
67
                                <default>%</default>
68
                                <to></to>
69
                                <value>
70
                                    <_map>
71
                                        <<0.05>0</<0.05>
72
                                        <*>*</*>
73
                                        <value>$soil_acidity</value>
74
                                    </_map>
75
                                </value>
76
                            </_units>
77 4786 aaronmk
                        </acidity_fraction>
78
                        <basesaturation_fraction>
79 4621 aaronmk
                            <_units>
80
                                <default>%</default>
81
                                <to></to>
82
                                <value>$soil_base</value>
83
                            </_units>
84 4786 aaronmk
                        </basesaturation_fraction>
85
                        <calcium_fraction>
86 4621 aaronmk
                            <_units>
87
                                <default>%</default>
88
                                <to></to>
89
                                <value>$soil_Ca</value>
90
                            </_units>
91 4786 aaronmk
                        </calcium_fraction>
92
                        <carbon_fraction>
93 4621 aaronmk
                            <_units>
94
                                <default>%</default>
95
                                <to></to>
96
                                <value>$soil_C</value>
97
                            </_units>
98 4786 aaronmk
                        </carbon_fraction>
99 4754 aaronmk
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
100 4786 aaronmk
                        <clay_fraction>
101 4621 aaronmk
                            <_units>
102
                                <default>%</default>
103
                                <to></to>
104
                                <value>$clay_percent</value>
105
                            </_units>
106 4786 aaronmk
                        </clay_fraction>
107 4621 aaronmk
                        <conductivity>$soil_conductivity</conductivity>
108 4786 aaronmk
                        <magnesium_fraction>
109 4621 aaronmk
                            <_units>
110
                                <default>%</default>
111
                                <to></to>
112
                                <value>$soil_Mg</value>
113
                            </_units>
114 4786 aaronmk
                        </magnesium_fraction>
115
                        <nitrogen_fraction>
116 4621 aaronmk
                            <_units>
117
                                <default>%</default>
118
                                <to></to>
119
                                <value>$soil_N</value>
120
                            </_units>
121 4786 aaronmk
                        </nitrogen_fraction>
122
                        <organic_fraction>
123 4621 aaronmk
                            <_units>
124
                                <default>%</default>
125
                                <to></to>
126
                                <value>$organic_percent</value>
127
                            </_units>
128 4786 aaronmk
                        </organic_fraction>
129 4621 aaronmk
                        <ph>$pH</ph>
130 4786 aaronmk
                        <phosphorus_fraction>
131 4621 aaronmk
                            <_units>
132
                                <default>%</default>
133
                                <to></to>
134
                                <value>
135
                                    <_map>
136
                                        <<1,5>0</<1,5>
137
                                        <*>*</*>
138
                                        <value>$soil_P</value>
139
                                    </_map>
140
                                </value>
141
                            </_units>
142 4786 aaronmk
                        </phosphorus_fraction>
143
                        <potassium_fraction>
144 4621 aaronmk
                            <_units>
145
                                <default>%</default>
146
                                <to></to>
147
                                <value>$soil_K</value>
148
                            </_units>
149 4786 aaronmk
                        </potassium_fraction>
150
                        <sand_fraction>
151 4621 aaronmk
                            <_units>
152
                                <default>%</default>
153
                                <to></to>
154
                                <value>$sand_percent</value>
155
                            </_units>
156 4786 aaronmk
                        </sand_fraction>
157
                        <silt_fraction>
158 4621 aaronmk
                            <_units>
159
                                <default>%</default>
160
                                <to></to>
161
                                <value>$silt_percent</value>
162
                            </_units>
163 4786 aaronmk
                        </silt_fraction>
164
                        <sodium_fraction>
165 4621 aaronmk
                            <_units>
166
                                <default>%</default>
167
                                <to></to>
168
                                <value>$soil_Na</value>
169
                            </_units>
170 4786 aaronmk
                        </sodium_fraction>
171 4621 aaronmk
                        <texture>$soil_texture</texture>
172
                    </soilobs>
173 4753 aaronmk
                    <temperature_c>$temp_c</temperature_c>
174 4621 aaronmk
                </locationevent>
175
                <locationnarrative>$locality_description</locationnarrative>
176 4726 aaronmk
                <locationplace>
177 4727 aaronmk
                    <placepath_id>
178
                        <placepath>
179
                            <continent>$major_geo</continent>
180
                            <country>$country</country>
181
                            <county>$pol2</county>
182
                            <stateprovince>$pol1</stateprovince>
183
                        </placepath>
184
                    </placepath_id>
185 4726 aaronmk
                </locationplace>
186 4753 aaronmk
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
187 4786 aaronmk
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
188 4621 aaronmk
            </location>
189
        </path>
190
    </_simplifyPath>
191 3641 aaronmk
</VegBIEN>
192 4727 aaronmk
Inserted 16 new rows into database