Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$plot_code</authorlocationcode>
8
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
9
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
10
                <elevation_m>
11
                    <_alt>
12
                        <1>$elev_m</1>
13
                        <2>
14
                            <_avg>
15
                                <max>$elev_max_m</max>
16
                                <min>$elev_min_m</min>
17
                            </_avg>
18
                        </2>
19
                    </_alt>
20
                </elevation_m>
21
                <locationcoords>
22
                    <latitude_deg>
23
                        <_nullIf>
24
                            <null>0</null>
25
                            <type>float</type>
26
                            <value>$lat_decimal</value>
27
                        </_nullIf>
28
                    </latitude_deg>
29
                    <longitude_deg>
30
                        <_nullIf>
31
                            <null>0</null>
32
                            <type>float</type>
33
                            <value>$long_decimal</value>
34
                        </_nullIf>
35
                    </longitude_deg>
36
                </locationcoords>
37
                <locationevent>
38
                    <method_id><method><name>$plot_methodology</name></method></method_id>
39
                    <project_id><project><projectname>$project</projectname></project></project_id>
40
                    <commclass>
41
                        <commdetermination>
42
                            <commconcept_id>
43
                                <commconcept>
44
                                    <commname_id><commname><commname>$holdridge_life_zone</commname></commname></commname_id>
45
                                    <commdescription>$life_zone_code</commdescription>
46
                                </commconcept>
47
                            </commconcept_id>
48
                        </commdetermination>
49
                    </commclass>
50
                    <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
51
                    <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
52
                    <precipitation_m>$precip_mm</precipitation_m>
53
                    <soilobs>
54
                        <acidity_fraction>
55
                            <_percent_to_fraction>
56
                                <value>
57
                                    <_units>
58
                                        <default>%</default>
59
                                        <to></to>
60
                                        <value>
61
                                            <_map>
62
                                                <<0.05>0</<0.05>
63
                                                <*>*</*>
64
                                                <value>$soil_acidity</value>
65
                                            </_map>
66
                                        </value>
67
                                    </_units>
68
                                </value>
69
                            </_percent_to_fraction>
70
                        </acidity_fraction>
71
                        <basesaturation_fraction>
72
                            <_percent_to_fraction>
73
                                <value>
74
                                    <_units>
75
                                        <default>%</default>
76
                                        <to></to>
77
                                        <value>$soil_base</value>
78
                                    </_units>
79
                                </value>
80
                            </_percent_to_fraction>
81
                        </basesaturation_fraction>
82
                        <calcium_fraction>
83
                            <_percent_to_fraction>
84
                                <value>
85
                                    <_units>
86
                                        <default>%</default>
87
                                        <to></to>
88
                                        <value>$soil_Ca</value>
89
                                    </_units>
90
                                </value>
91
                            </_percent_to_fraction>
92
                        </calcium_fraction>
93
                        <carbon_fraction>
94
                            <_percent_to_fraction>
95
                                <value>
96
                                    <_units>
97
                                        <default>%</default>
98
                                        <to></to>
99
                                        <value>$soil_C</value>
100
                                    </_units>
101
                                </value>
102
                            </_percent_to_fraction>
103
                        </carbon_fraction>
104
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
105
                        <clay_fraction>
106
                            <_percent_to_fraction>
107
                                <value>
108
                                    <_units>
109
                                        <default>%</default>
110
                                        <to></to>
111
                                        <value>$clay_percent</value>
112
                                    </_units>
113
                                </value>
114
                            </_percent_to_fraction>
115
                        </clay_fraction>
116
                        <conductivity>$soil_conductivity</conductivity>
117
                        <magnesium_fraction>
118
                            <_percent_to_fraction>
119
                                <value>
120
                                    <_units>
121
                                        <default>%</default>
122
                                        <to></to>
123
                                        <value>$soil_Mg</value>
124
                                    </_units>
125
                                </value>
126
                            </_percent_to_fraction>
127
                        </magnesium_fraction>
128
                        <nitrogen_fraction>
129
                            <_percent_to_fraction>
130
                                <value>
131
                                    <_units>
132
                                        <default>%</default>
133
                                        <to></to>
134
                                        <value>$soil_N</value>
135
                                    </_units>
136
                                </value>
137
                            </_percent_to_fraction>
138
                        </nitrogen_fraction>
139
                        <organic_fraction>
140
                            <_percent_to_fraction>
141
                                <value>
142
                                    <_units>
143
                                        <default>%</default>
144
                                        <to></to>
145
                                        <value>$organic_percent</value>
146
                                    </_units>
147
                                </value>
148
                            </_percent_to_fraction>
149
                        </organic_fraction>
150
                        <ph>$pH</ph>
151
                        <phosphorus_fraction>
152
                            <_percent_to_fraction>
153
                                <value>
154
                                    <_units>
155
                                        <default>%</default>
156
                                        <to></to>
157
                                        <value>
158
                                            <_map>
159
                                                <<1,5>0</<1,5>
160
                                                <*>*</*>
161
                                                <value>$soil_P</value>
162
                                            </_map>
163
                                        </value>
164
                                    </_units>
165
                                </value>
166
                            </_percent_to_fraction>
167
                        </phosphorus_fraction>
168
                        <potassium_fraction>
169
                            <_percent_to_fraction>
170
                                <value>
171
                                    <_units>
172
                                        <default>%</default>
173
                                        <to></to>
174
                                        <value>$soil_K</value>
175
                                    </_units>
176
                                </value>
177
                            </_percent_to_fraction>
178
                        </potassium_fraction>
179
                        <sand_fraction>
180
                            <_percent_to_fraction>
181
                                <value>
182
                                    <_units>
183
                                        <default>%</default>
184
                                        <to></to>
185
                                        <value>$sand_percent</value>
186
                                    </_units>
187
                                </value>
188
                            </_percent_to_fraction>
189
                        </sand_fraction>
190
                        <silt_fraction>
191
                            <_percent_to_fraction>
192
                                <value>
193
                                    <_units>
194
                                        <default>%</default>
195
                                        <to></to>
196
                                        <value>$silt_percent</value>
197
                                    </_units>
198
                                </value>
199
                            </_percent_to_fraction>
200
                        </silt_fraction>
201
                        <sodium_fraction>
202
                            <_percent_to_fraction>
203
                                <value>
204
                                    <_units>
205
                                        <default>%</default>
206
                                        <to></to>
207
                                        <value>$soil_Na</value>
208
                                    </_units>
209
                                </value>
210
                            </_percent_to_fraction>
211
                        </sodium_fraction>
212
                        <texture>$soil_texture</texture>
213
                    </soilobs>
214
                    <temperature_c>$temp_c</temperature_c>
215
                </locationevent>
216
                <locationnarrative>$locality_description</locationnarrative>
217
                <locationplace>
218
                    <placepath_id>
219
                        <placepath>
220
                            <continent>$major_geo</continent>
221
                            <country>$country</country>
222
                            <county>$pol2</county>
223
                            <stateprovince>$pol1</stateprovince>
224
                        </placepath>
225
                    </placepath_id>
226
                </locationplace>
227
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
228
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
229
            </location>
230
        </path>
231
    </_simplifyPath>
232
</VegBIEN>
233
Inserted 16 new rows into database
(5-5/6)