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>$SiteCode</authorlocationcode>
8
                <sourceaccessioncode>$PlotID</sourceaccessioncode>
9 6239 aaronmk
                <accesslevel>
10
                    <_map>
11
                        <1>private</1>
12
                        <2>metadata only</2>
13
                        <3>public</3>
14
                        <value>$AccessCode</value>
15
                    </_map>
16
                </accesslevel>
17 4767 aaronmk
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
18 4753 aaronmk
                <elevation_m>
19 4621 aaronmk
                    <_alt>
20 4809 aaronmk
                        <1>$Elev</1>
21 4621 aaronmk
                        <2>
22
                            <_avg>
23 4820 aaronmk
                                <max>$elev_max_m</max>
24 4822 aaronmk
                                <min>$elev_min_m</min>
25 4621 aaronmk
                            </_avg>
26
                        </2>
27
                    </_alt>
28 4753 aaronmk
                </elevation_m>
29 6154 aaronmk
                <landform>$topography_desc</landform>
30 4621 aaronmk
                <locationevent>
31 6140 aaronmk
                    <method_id>
32
                        <method>
33
                            <name>$PlotMethod</name>
34
                            <observationmeasure>$lookup_MethodCode_Description</observationmeasure>
35
                        </method>
36
                    </method_id>
37 4621 aaronmk
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
38
                    <commclass>
39
                        <commdetermination>
40
                            <commconcept_id>
41
                                <commconcept>
42 6154 aaronmk
                                    <commname_id>
43
                                        <commname>
44
                                            <commname>
45
                                                <_alt>
46
                                                    <1>$vegetation_2</1>
47
                                                    <2>$vegetation_1</2>
48
                                                    <3>$life_zone</3>
49
                                                    <4>$life_zone_code</4>
50
                                                </_alt>
51
                                            </commname>
52
                                        </commname>
53
                                    </commname_id>
54 4621 aaronmk
                                </commconcept>
55
                            </commconcept_id>
56
                        </commdetermination>
57
                    </commclass>
58 6217 aaronmk
                    <obsenddate>$date_finish</obsenddate>
59
                    <obsstartdate>$date_start</obsstartdate>
60 4753 aaronmk
                    <precipitation_m>$Precip</precipitation_m>
61 4621 aaronmk
                    <soilobs>
62 4786 aaronmk
                        <acidity_fraction>
63 4908 aaronmk
                            <_percent_to_fraction>
64 4621 aaronmk
                                <value>
65 4912 aaronmk
                                    <_map>
66
                                        <<0.05>0</<0.05>
67
                                        <*>*</*>
68
                                        <value>$soil_acidity</value>
69
                                    </_map>
70 4621 aaronmk
                                </value>
71 4908 aaronmk
                            </_percent_to_fraction>
72 4786 aaronmk
                        </acidity_fraction>
73 4912 aaronmk
                        <basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
74
                        <calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
75
                        <carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
76 4754 aaronmk
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
77 4912 aaronmk
                        <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
78 4621 aaronmk
                        <conductivity>$soil_conductivity</conductivity>
79 4912 aaronmk
                        <magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
80
                        <nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
81
                        <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
82 4621 aaronmk
                        <ph>$pH</ph>
83 4786 aaronmk
                        <phosphorus_fraction>
84 4908 aaronmk
                            <_percent_to_fraction>
85 4621 aaronmk
                                <value>
86 4912 aaronmk
                                    <_map>
87
                                        <<1,5>0</<1,5>
88
                                        <*>*</*>
89
                                        <value>$soil_P</value>
90
                                    </_map>
91 4621 aaronmk
                                </value>
92 4908 aaronmk
                            </_percent_to_fraction>
93 4786 aaronmk
                        </phosphorus_fraction>
94 4912 aaronmk
                        <potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
95
                        <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
96
                        <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
97
                        <sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
98
                        <texture>$soil_texture</texture>
99 4621 aaronmk
                    </soilobs>
100 4753 aaronmk
                    <temperature_c>$Temp</temperature_c>
101 4621 aaronmk
                </locationevent>
102 4627 aaronmk
                <locationnarrative>
103
                    <_merge>
104
                        <1>$Locality_Description</1>
105
                        <3>
106
                            <_label>
107
                                <label>habitat</label>
108
                                <value>$Habitat</value>
109
                            </_label>
110
                        </3>
111
                    </_merge>
112
                </locationnarrative>
113 4726 aaronmk
                <locationplace>
114 5855 aaronmk
                    <place_id>
115
                        <place>
116 5861 aaronmk
                            <coordinates_id>
117
                                <coordinates>
118
                                    <latitude_deg>
119
                                        <_nullIf>
120
                                            <null>0</null>
121
                                            <type>float</type>
122
                                            <value>$LatDec</value>
123
                                        </_nullIf>
124
                                    </latitude_deg>
125
                                    <longitude_deg>
126
                                        <_nullIf>
127
                                            <null>0</null>
128
                                            <type>float</type>
129
                                            <value>$LongDec</value>
130
                                        </_nullIf>
131
                                    </longitude_deg>
132 6154 aaronmk
                                    <verbatimlatitude>$lat_string</verbatimlatitude>
133
                                    <verbatimlongitude>$long_string</verbatimlongitude>
134 5861 aaronmk
                                </coordinates>
135
                            </coordinates_id>
136 4727 aaronmk
                            <continent>$MajorGeo</continent>
137
                            <country>$Country</country>
138
                            <county>$pol2</county>
139 5958 aaronmk
                            <matched_place_id>
140
                                <place>
141 6179 aaronmk
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
142 5958 aaronmk
                                    <coordinates_id>
143
                                        <coordinates>
144 6179 aaronmk
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
145 5969 aaronmk
                                            <latitude_deg>
146
                                                <_nullIf>
147
                                                    <null>0</null>
148
                                                    <type>float</type>
149
                                                    <value>$LatDec</value>
150
                                                </_nullIf>
151
                                            </latitude_deg>
152
                                            <longitude_deg>
153
                                                <_nullIf>
154
                                                    <null>0</null>
155
                                                    <type>float</type>
156
                                                    <value>$LongDec</value>
157
                                                </_nullIf>
158
                                            </longitude_deg>
159 5958 aaronmk
                                        </coordinates>
160
                                    </coordinates_id>
161
                                    <country>$Country</country>
162
                                    <stateprovince>$PolDiv1</stateprovince>
163
                                </place>
164
                            </matched_place_id>
165 4727 aaronmk
                            <stateprovince>$PolDiv1</stateprovince>
166 5855 aaronmk
                        </place>
167
                    </place_id>
168 4726 aaronmk
                </locationplace>
169 4627 aaronmk
                <notespublic>$plot_notes</notespublic>
170 4753 aaronmk
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
171 4786 aaronmk
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
172 4621 aaronmk
            </location>
173
        </path>
174
    </_simplifyPath>
175 3641 aaronmk
</VegBIEN>
176 6167 aaronmk
Inserted 16 new rows into database