Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$SiteCode</authorlocationcode>
8
                <sourceaccessioncode>$PlotID</sourceaccessioncode>
9
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
10
                <elevation_m>
11
                    <_alt>
12
                        <1>
13
                            <_replace>
14
                                <\bca\.?></\bca\.?>
15
                                <value>$Elev</value>
16
                            </_replace>
17
                        </1>
18
                        <2>
19
                            <_avg>
20
                                <max>
21
                                    <_units>
22
                                        <default>m</default>
23
                                        <to>m</to>
24
                                        <to></to>
25
                                        <value>
26
                                            <_replace>
27
                                                <\bca\.?></\bca\.?>
28
                                                <value>$elev_max_m</value>
29
                                            </_replace>
30
                                        </value>
31
                                    </_units>
32
                                </max>
33
                                <min>
34
                                    <_units>
35
                                        <default>m</default>
36
                                        <to>m</to>
37
                                        <to></to>
38
                                        <value>
39
                                            <_rangeStart>
40
                                                <value>
41
                                                    <_replace>
42
                                                        <\bca\.?></\bca\.?>
43
                                                        <value>$elev_min_m</value>
44
                                                    </_replace>
45
                                                </value>
46
                                            </_rangeStart>
47
                                        </value>
48
                                    </_units>
49
                                </min>
50
                            </_avg>
51
                        </2>
52
                    </_alt>
53
                </elevation_m>
54
                <elevationrange_m>
55
                    <_range>
56
                        <from>
57
                            <_units>
58
                                <default>m</default>
59
                                <to>m</to>
60
                                <to></to>
61
                                <value>
62
                                    <_rangeStart>
63
                                        <value>
64
                                            <_replace>
65
                                                <\bca\.?></\bca\.?>
66
                                                <value>$elev_min_m</value>
67
                                            </_replace>
68
                                        </value>
69
                                    </_rangeStart>
70
                                </value>
71
                            </_units>
72
                        </from>
73
                        <to>
74
                            <_units>
75
                                <default>m</default>
76
                                <to>m</to>
77
                                <to></to>
78
                                <value>
79
                                    <_alt>
80
                                        <1>
81
                                            <_replace>
82
                                                <\bca\.?></\bca\.?>
83
                                                <value>$elev_max_m</value>
84
                                            </_replace>
85
                                        </1>
86
                                        <2>
87
                                            <_rangeEnd>
88
                                                <value>
89
                                                    <_replace>
90
                                                        <\bca\.?></\bca\.?>
91
                                                        <value>$elev_min_m</value>
92
                                                    </_replace>
93
                                                </value>
94
                                            </_rangeEnd>
95
                                        </2>
96
                                    </_alt>
97
                                </value>
98
                            </_units>
99
                        </to>
100
                    </_range>
101
                </elevationrange_m>
102
                <locationcoords>
103
                    <latitude_deg>
104
                        <_nullIf>
105
                            <null>0</null>
106
                            <type>float</type>
107
                            <value>$LatDec</value>
108
                        </_nullIf>
109
                    </latitude_deg>
110
                    <longitude_deg>
111
                        <_nullIf>
112
                            <null>0</null>
113
                            <type>float</type>
114
                            <value>$LongDec</value>
115
                        </_nullIf>
116
                    </longitude_deg>
117
                </locationcoords>
118
                <locationevent>
119
                    <method_id><method><name>$PlotMethod</name></method></method_id>
120
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
121
                    <commclass>
122
                        <commdetermination>
123
                            <commconcept_id>
124
                                <commconcept>
125
                                    <commname_id><commname><commname>$life_zone_code</commname></commname></commname_id>
126
                                    <commdescription>$life_zone</commdescription>
127
                                </commconcept>
128
                            </commconcept_id>
129
                        </commdetermination>
130
                    </commclass>
131
                    <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
132
                    <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
133
                    <precipitation_m>$Precip</precipitation_m>
134
                    <soilobs>
135
                        <acidity_fraction>
136
                            <_units>
137
                                <default>%</default>
138
                                <to></to>
139
                                <value>
140
                                    <_map>
141
                                        <<0.05>0</<0.05>
142
                                        <*>*</*>
143
                                        <value>$soil_acidity</value>
144
                                    </_map>
145
                                </value>
146
                            </_units>
147
                        </acidity_fraction>
148
                        <basesaturation_fraction>
149
                            <_units>
150
                                <default>%</default>
151
                                <to></to>
152
                                <value>$soil_base</value>
153
                            </_units>
154
                        </basesaturation_fraction>
155
                        <calcium_fraction>
156
                            <_units>
157
                                <default>%</default>
158
                                <to></to>
159
                                <value>$soil_Ca</value>
160
                            </_units>
161
                        </calcium_fraction>
162
                        <carbon_fraction>
163
                            <_units>
164
                                <default>%</default>
165
                                <to></to>
166
                                <value>$soil_C</value>
167
                            </_units>
168
                        </carbon_fraction>
169
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
170
                        <clay_fraction>
171
                            <_units>
172
                                <default>%</default>
173
                                <to></to>
174
                                <value>$clay_percent</value>
175
                            </_units>
176
                        </clay_fraction>
177
                        <conductivity>$soil_conductivity</conductivity>
178
                        <magnesium_fraction>
179
                            <_units>
180
                                <default>%</default>
181
                                <to></to>
182
                                <value>$soil_Mg</value>
183
                            </_units>
184
                        </magnesium_fraction>
185
                        <nitrogen_fraction>
186
                            <_units>
187
                                <default>%</default>
188
                                <to></to>
189
                                <value>$soil_N</value>
190
                            </_units>
191
                        </nitrogen_fraction>
192
                        <organic_fraction>
193
                            <_units>
194
                                <default>%</default>
195
                                <to></to>
196
                                <value>$organic_percent</value>
197
                            </_units>
198
                        </organic_fraction>
199
                        <ph>$pH</ph>
200
                        <phosphorus_fraction>
201
                            <_units>
202
                                <default>%</default>
203
                                <to></to>
204
                                <value>
205
                                    <_map>
206
                                        <<1,5>0</<1,5>
207
                                        <*>*</*>
208
                                        <value>$soil_P</value>
209
                                    </_map>
210
                                </value>
211
                            </_units>
212
                        </phosphorus_fraction>
213
                        <potassium_fraction>
214
                            <_units>
215
                                <default>%</default>
216
                                <to></to>
217
                                <value>$soil_K</value>
218
                            </_units>
219
                        </potassium_fraction>
220
                        <sand_fraction>
221
                            <_units>
222
                                <default>%</default>
223
                                <to></to>
224
                                <value>$sand_percent</value>
225
                            </_units>
226
                        </sand_fraction>
227
                        <silt_fraction>
228
                            <_units>
229
                                <default>%</default>
230
                                <to></to>
231
                                <value>$silt_percent</value>
232
                            </_units>
233
                        </silt_fraction>
234
                        <sodium_fraction>
235
                            <_units>
236
                                <default>%</default>
237
                                <to></to>
238
                                <value>$soil_Na</value>
239
                            </_units>
240
                        </sodium_fraction>
241
                        <texture>
242
                            <_units>
243
                                <default>%</default>
244
                                <to></to>
245
                                <value>$soil_texture</value>
246
                            </_units>
247
                        </texture>
248
                    </soilobs>
249
                    <temperature_c>$Temp</temperature_c>
250
                </locationevent>
251
                <locationnarrative>
252
                    <_merge>
253
                        <1>$Locality_Description</1>
254
                        <3>
255
                            <_label>
256
                                <label>habitat</label>
257
                                <value>$Habitat</value>
258
                            </_label>
259
                        </3>
260
                    </_merge>
261
                </locationnarrative>
262
                <locationplace>
263
                    <placepath_id>
264
                        <placepath>
265
                            <continent>$MajorGeo</continent>
266
                            <country>$Country</country>
267
                            <county>$pol2</county>
268
                            <stateprovince>$PolDiv1</stateprovince>
269
                        </placepath>
270
                    </placepath_id>
271
                </locationplace>
272
                <notespublic>$plot_notes</notespublic>
273
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
274
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
275
            </location>
276
        </path>
277
    </_simplifyPath>
278
</VegBIEN>
279
Inserted 23 new rows into database
(6-6/7)