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>$plot_code</authorlocationcode>
8
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
9 4767 aaronmk
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
10 4753 aaronmk
                <elevation_m>
11 4621 aaronmk
                    <_alt>
12 4809 aaronmk
                        <1>$elev_m</1>
13 4621 aaronmk
                        <2>
14
                            <_avg>
15 4820 aaronmk
                                <max>$elev_max_m</max>
16 4822 aaronmk
                                <min>$elev_min_m</min>
17 4621 aaronmk
                            </_avg>
18
                        </2>
19
                    </_alt>
20 4753 aaronmk
                </elevation_m>
21 4726 aaronmk
                <locationcoords>
22 4753 aaronmk
                    <latitude_deg>
23 4621 aaronmk
                        <_nullIf>
24
                            <null>0</null>
25
                            <type>float</type>
26
                            <value>$lat_decimal</value>
27
                        </_nullIf>
28 4753 aaronmk
                    </latitude_deg>
29
                    <longitude_deg>
30 4621 aaronmk
                        <_nullIf>
31
                            <null>0</null>
32
                            <type>float</type>
33
                            <value>$long_decimal</value>
34
                        </_nullIf>
35 4753 aaronmk
                    </longitude_deg>
36 4726 aaronmk
                </locationcoords>
37 4621 aaronmk
                <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 4753 aaronmk
                    <precipitation_m>$precip_mm</precipitation_m>
53 4621 aaronmk
                    <soilobs>
54 4786 aaronmk
                        <acidity_fraction>
55 4908 aaronmk
                            <_percent_to_fraction>
56 4621 aaronmk
                                <value>
57 4912 aaronmk
                                    <_map>
58
                                        <<0.05>0</<0.05>
59
                                        <*>*</*>
60
                                        <value>$soil_acidity</value>
61
                                    </_map>
62 4621 aaronmk
                                </value>
63 4908 aaronmk
                            </_percent_to_fraction>
64 4786 aaronmk
                        </acidity_fraction>
65 4912 aaronmk
                        <basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
66
                        <calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
67
                        <carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
68 4754 aaronmk
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
69 4912 aaronmk
                        <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
70 4621 aaronmk
                        <conductivity>$soil_conductivity</conductivity>
71 4912 aaronmk
                        <magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
72
                        <nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
73
                        <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
74 4621 aaronmk
                        <ph>$pH</ph>
75 4786 aaronmk
                        <phosphorus_fraction>
76 4908 aaronmk
                            <_percent_to_fraction>
77 4621 aaronmk
                                <value>
78 4912 aaronmk
                                    <_map>
79
                                        <<0.05>0</<0.05>
80
                                        <*>*</*>
81
                                        <value>$soil_P</value>
82
                                    </_map>
83 4621 aaronmk
                                </value>
84 4908 aaronmk
                            </_percent_to_fraction>
85 4786 aaronmk
                        </phosphorus_fraction>
86 4912 aaronmk
                        <potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
87
                        <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
88
                        <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
89
                        <sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
90 4621 aaronmk
                        <texture>$soil_texture</texture>
91
                    </soilobs>
92 4753 aaronmk
                    <temperature_c>$temp_c</temperature_c>
93 4621 aaronmk
                </locationevent>
94
                <locationnarrative>$locality_description</locationnarrative>
95 4726 aaronmk
                <locationplace>
96 4727 aaronmk
                    <placepath_id>
97
                        <placepath>
98
                            <continent>$major_geo</continent>
99
                            <country>$country</country>
100
                            <county>$pol2</county>
101
                            <stateprovince>$pol1</stateprovince>
102
                        </placepath>
103
                    </placepath_id>
104 4726 aaronmk
                </locationplace>
105 4753 aaronmk
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
106 4786 aaronmk
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
107 4621 aaronmk
            </location>
108
        </path>
109
    </_simplifyPath>
110 3641 aaronmk
</VegBIEN>
111 4727 aaronmk
Inserted 16 new rows into database