Project

General

Profile

« Previous | Next » 

Revision 4908

mappings/VegCore.csv: Soil component measurements: Added default units of percent (cmol_kg for cationExchangeCapacity). This involves translating the names everywhere and adding a _percent_to_fraction conversion in mappings/VegCore-VegBIEN.csv.

View differences:

test.xml.ref
13 13
                    <obsenddate><_date><date>$obsenddate</date></_date></obsenddate>
14 14
                    <obsstartdate><_date><date>$obsstartdate</date></_date></obsstartdate>
15 15
                    <soilobs>
16
                        <basesaturation_fraction>$basesaturation</basesaturation_fraction>
16
                        <basesaturation_fraction><_percent_to_fraction><value>$basesaturation</value></_percent_to_fraction></basesaturation_fraction>
17 17
                        <cationexchangecapacity_cmol_kg>$exchangecapacity</cationexchangecapacity_cmol_kg>
18
                        <clay_fraction>$soilclay</clay_fraction>
19
                        <organic_fraction>$soilorganic</organic_fraction>
18
                        <clay_fraction><_percent_to_fraction><value>$soilclay</value></_percent_to_fraction></clay_fraction>
19
                        <organic_fraction><_percent_to_fraction><value>$soilorganic</value></_percent_to_fraction></organic_fraction>
20 20
                        <ph>$soilph</ph>
21
                        <sand_fraction>$soilsand</sand_fraction>
22
                        <silt_fraction>$soilsilt</silt_fraction>
21
                        <sand_fraction><_percent_to_fraction><value>$soilsand</value></_percent_to_fraction></sand_fraction>
22
                        <silt_fraction><_percent_to_fraction><value>$soilsilt</value></_percent_to_fraction></silt_fraction>
23 23
                        <texture>$soiltexture</texture>
24 24
                    </soilobs>
25 25
                </locationevent>

Also available in: Unified diff