Project

General

Profile

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