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>$Elev</1>
13
                        <2>
14
                            <_avg>
15
                                <max>$elev_max_m</max>
16
                                <min><_rangeStart><value>$elev_min_m</value></_rangeStart></min>
17
                            </_avg>
18
                        </2>
19
                    </_alt>
20
                </elevation_m>
21
                <elevationrange_m>
22
                    <_range>
23
                        <from><_rangeStart><value>$elev_min_m</value></_rangeStart></from>
24
                        <to>
25
                            <_alt>
26
                                <1>$elev_max_m</1>
27
                                <2><_rangeEnd><value>$elev_min_m</value></_rangeEnd></2>
28
                            </_alt>
29
                        </to>
30
                    </_range>
31
                </elevationrange_m>
32
                <locationcoords>
33
                    <latitude_deg>
34
                        <_nullIf>
35
                            <null>0</null>
36
                            <type>float</type>
37
                            <value>$LatDec</value>
38
                        </_nullIf>
39
                    </latitude_deg>
40
                    <longitude_deg>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$LongDec</value>
45
                        </_nullIf>
46
                    </longitude_deg>
47
                </locationcoords>
48
                <locationevent>
49
                    <method_id><method><name>$PlotMethod</name></method></method_id>
50
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
51
                    <commclass>
52
                        <commdetermination>
53
                            <commconcept_id>
54
                                <commconcept>
55
                                    <commname_id><commname><commname>$life_zone_code</commname></commname></commname_id>
56
                                    <commdescription>$life_zone</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
                    <precipitation_m>$Precip</precipitation_m>
64
                    <soilobs>
65
                        <acidity_fraction>
66
                            <_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
                        </acidity_fraction>
78
                        <basesaturation_fraction>
79
                            <_units>
80
                                <default>%</default>
81
                                <to></to>
82
                                <value>$soil_base</value>
83
                            </_units>
84
                        </basesaturation_fraction>
85
                        <calcium_fraction>
86
                            <_units>
87
                                <default>%</default>
88
                                <to></to>
89
                                <value>$soil_Ca</value>
90
                            </_units>
91
                        </calcium_fraction>
92
                        <carbon_fraction>
93
                            <_units>
94
                                <default>%</default>
95
                                <to></to>
96
                                <value>$soil_C</value>
97
                            </_units>
98
                        </carbon_fraction>
99
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
100
                        <clay_fraction>
101
                            <_units>
102
                                <default>%</default>
103
                                <to></to>
104
                                <value>$clay_percent</value>
105
                            </_units>
106
                        </clay_fraction>
107
                        <conductivity>$soil_conductivity</conductivity>
108
                        <magnesium_fraction>
109
                            <_units>
110
                                <default>%</default>
111
                                <to></to>
112
                                <value>$soil_Mg</value>
113
                            </_units>
114
                        </magnesium_fraction>
115
                        <nitrogen_fraction>
116
                            <_units>
117
                                <default>%</default>
118
                                <to></to>
119
                                <value>$soil_N</value>
120
                            </_units>
121
                        </nitrogen_fraction>
122
                        <organic_fraction>
123
                            <_units>
124
                                <default>%</default>
125
                                <to></to>
126
                                <value>$organic_percent</value>
127
                            </_units>
128
                        </organic_fraction>
129
                        <ph>$pH</ph>
130
                        <phosphorus_fraction>
131
                            <_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
                        </phosphorus_fraction>
143
                        <potassium_fraction>
144
                            <_units>
145
                                <default>%</default>
146
                                <to></to>
147
                                <value>$soil_K</value>
148
                            </_units>
149
                        </potassium_fraction>
150
                        <sand_fraction>
151
                            <_units>
152
                                <default>%</default>
153
                                <to></to>
154
                                <value>$sand_percent</value>
155
                            </_units>
156
                        </sand_fraction>
157
                        <silt_fraction>
158
                            <_units>
159
                                <default>%</default>
160
                                <to></to>
161
                                <value>$silt_percent</value>
162
                            </_units>
163
                        </silt_fraction>
164
                        <sodium_fraction>
165
                            <_units>
166
                                <default>%</default>
167
                                <to></to>
168
                                <value>$soil_Na</value>
169
                            </_units>
170
                        </sodium_fraction>
171
                        <texture>
172
                            <_units>
173
                                <default>%</default>
174
                                <to></to>
175
                                <value>$soil_texture</value>
176
                            </_units>
177
                        </texture>
178
                    </soilobs>
179
                    <temperature_c>$Temp</temperature_c>
180
                </locationevent>
181
                <locationnarrative>
182
                    <_merge>
183
                        <1>$Locality_Description</1>
184
                        <3>
185
                            <_label>
186
                                <label>habitat</label>
187
                                <value>$Habitat</value>
188
                            </_label>
189
                        </3>
190
                    </_merge>
191
                </locationnarrative>
192
                <locationplace>
193
                    <placepath_id>
194
                        <placepath>
195
                            <continent>$MajorGeo</continent>
196
                            <country>$Country</country>
197
                            <county>$pol2</county>
198
                            <stateprovince>$PolDiv1</stateprovince>
199
                        </placepath>
200
                    </placepath_id>
201
                </locationplace>
202
                <notespublic>$plot_notes</notespublic>
203
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
204
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
205
            </location>
206
        </path>
207
    </_simplifyPath>
208
</VegBIEN>
209
Inserted 23 new rows into database
(6-6/7)