Project

General

Profile

« Previous | Next » 

Revision 174

Added SALVIAS DB mapping for plots data

View differences:

scripts/test/accepted_output/SALVIAS_db.plots.VegBank.xml
1
<?xml version="1.0" ?>
2
<VegBank>
3
    <observation id="0">
4
        <plot_ID>
5
            <plot>
6
                <area>0.06</area>
7
                <elevation>2100.0</elevation>
8
                <place>
9
                    <namedPlace_ID>
10
                        <namedPlace>
11
                            <placeSystem>area|country|territory</placeSystem>
12
                            <placeName>Ecuador</placeName>
13
                        </namedPlace>
14
                    </namedPlace_ID>
15
                </place>
16
                <place>
17
                    <namedPlace_ID>
18
                        <namedPlace>
19
                            <placeSystem>continent</placeSystem>
20
                            <placeName>South America</placeName>
21
                        </namedPlace>
22
                    </namedPlace_ID>
23
                </place>
24
                <realLatitude>-3.45</realLatitude>
25
                <realLongitude>-78.3667</realLongitude>
26
                <confidentialityStatus>0</confidentialityStatus>
27
                <authorPlotCode>ACHUPALL</authorPlotCode>
28
            </plot>
29
        </plot_ID>
30
        <project_ID>
31
            <project>
32
                <projectName>1</projectName>
33
            </project>
34
        </project_ID>
35
        <commClass>
36
            <commInterpretation>
37
                <commConcept_ID>
38
                    <commConcept>
39
                        <commName_ID>
40
                            <commName>
41
                                <commName>T-LMw</commName>
42
                            </commName>
43
                        </commName_ID>
44
                        <commDescription>Tropical lower montane wet forest</commDescription>
45
                    </commConcept>
46
                </commConcept_ID>
47
            </commInterpretation>
48
        </commClass>
49
        <definedValue fkey="tableRecord_ID">
50
            <userDefined_ID>
51
                <userDefined>
52
                    <tableName>observation</tableName>
53
                    <userDefinedName>precipitationMm</userDefinedName>
54
                    <userDefinedType>varchar</userDefinedType>
55
                </userDefined>
56
            </userDefined_ID>
57
            <definedValue>2500.0</definedValue>
58
        </definedValue>
59
        <methodNarrative>0.1 ha  transect, stems &gt;= 2.5 cm dbh</methodNarrative>
60
        <authorObsCode>ACHUPALL</authorObsCode>
61
    </observation>
62
    <observation id="1">
63
        <plot_ID>
64
            <plot>
65
                <area>0.1</area>
66
                <elevation>530.0</elevation>
67
                <place>
68
                    <namedPlace_ID>
69
                        <namedPlace>
70
                            <placeSystem>area|country|territory</placeSystem>
71
                            <placeName>Germany</placeName>
72
                        </namedPlace>
73
                    </namedPlace_ID>
74
                </place>
75
                <place>
76
                    <namedPlace_ID>
77
                        <namedPlace>
78
                            <placeSystem>continent</placeSystem>
79
                            <placeName>Europe</placeName>
80
                        </namedPlace>
81
                    </namedPlace_ID>
82
                </place>
83
                <realLatitude>48.0667</realLatitude>
84
                <realLongitude>11.5</realLongitude>
85
                <confidentialityStatus>0</confidentialityStatus>
86
                <authorPlotCode>ALLACHER</authorPlotCode>
87
            </plot>
88
        </plot_ID>
89
        <project_ID>
90
            <project>
91
                <projectName>1</projectName>
92
            </project>
93
        </project_ID>
94
        <commClass>
95
            <commInterpretation>
96
                <commConcept_ID>
97
                    <commConcept>
98
                        <commName_ID>
99
                            <commName>
100
                                <commName>cT-m</commName>
101
                            </commName>
102
                        </commName_ID>
103
                        <commDescription>Cool temperate moist forest</commDescription>
104
                    </commConcept>
105
                </commConcept_ID>
106
            </commInterpretation>
107
        </commClass>
108
        <definedValue fkey="tableRecord_ID">
109
            <userDefined_ID>
110
                <userDefined>
111
                    <tableName>observation</tableName>
112
                    <userDefinedName>precipitationMm</userDefinedName>
113
                    <userDefinedType>varchar</userDefinedType>
114
                </userDefined>
115
            </userDefined_ID>
116
            <definedValue>866.0</definedValue>
117
        </definedValue>
118
        <definedValue fkey="tableRecord_ID">
119
            <userDefined_ID>
120
                <userDefined>
121
                    <tableName>observation</tableName>
122
                    <userDefinedName>temperatureC</userDefinedName>
123
                    <userDefinedType>varchar</userDefinedType>
124
                </userDefined>
125
            </userDefined_ID>
126
            <definedValue>7.4</definedValue>
127
        </definedValue>
128
        <methodNarrative>0.1 ha  transect, stems &gt;= 2.5 cm dbh</methodNarrative>
129
        <authorObsCode>ALLACHER</authorObsCode>
130
    </observation>
131
</VegBank>
scripts/test/accepted_output/SALVIAS_db.plots.VegX.xml
1
<?xml version="1.0" ?>
2
<VegX>
3
    <plotObservations>
4
        <plotObservation id="0">
5
            <projectID>0</projectID>
6
            <plotUniqueIdentifierID>0</plotUniqueIdentifierID>
7
            <simpleUserdefined>
8
                <name>precipMm</name>
9
                <value>2500.0</value>
10
            </simpleUserdefined>
11
            <simpleUserdefined>
12
                <name>plotMethodology</name>
13
                <value>0.1 ha  transect, stems &gt;= 2.5 cm dbh</value>
14
            </simpleUserdefined>
15
        </plotObservation>
16
        <plotObservation id="1">
17
            <projectID>1</projectID>
18
            <plotUniqueIdentifierID>1</plotUniqueIdentifierID>
19
            <simpleUserdefined>
20
                <name>precipMm</name>
21
                <value>866.0</value>
22
            </simpleUserdefined>
23
            <temperature>7.4</temperature>
24
            <simpleUserdefined>
25
                <name>plotMethodology</name>
26
                <value>0.1 ha  transect, stems &gt;= 2.5 cm dbh</value>
27
            </simpleUserdefined>
28
        </plotObservation>
29
    </plotObservations>
30
    <projects>
31
        <project id="0">
32
            <title>1</title>
33
        </project>
34
        <project id="1">
35
            <title>1</title>
36
        </project>
37
    </projects>
38
    <plots>
39
        <plot id="0">
40
            <plotUniqueIdentifier>ACHUPALL</plotUniqueIdentifier>
41
            <simpleUserdefined>
42
                <name>majorGeo</name>
43
                <value>South America</value>
44
            </simpleUserdefined>
45
            <country>Ecuador</country>
46
            <geospatial>
47
                <DecimalLatitude>-3.45</DecimalLatitude>
48
                <DecimalLongitude>-78.3667</DecimalLongitude>
49
                <verbatimElevation>2100.0</verbatimElevation>
50
            </geospatial>
51
            <area>0.06</area>
52
        </plot>
53
        <plot id="1">
54
            <plotUniqueIdentifier>ALLACHER</plotUniqueIdentifier>
55
            <simpleUserdefined>
56
                <name>majorGeo</name>
57
                <value>Europe</value>
58
            </simpleUserdefined>
59
            <country>Germany</country>
60
            <geospatial>
61
                <DecimalLatitude>48.0667</DecimalLatitude>
62
                <DecimalLongitude>11.5</DecimalLongitude>
63
                <verbatimElevation>530.0</verbatimElevation>
64
            </geospatial>
65
            <area>0.1</area>
66
        </plot>
67
    </plots>
68
    <communityDeterminations>
69
        <communityDetermination>
70
            <plotObservationID>0</plotObservationID>
71
            <communityConcepts>
72
                <communityConcept>
73
                    <commonName>T-LMw</commonName>
74
                    <name>Tropical lower montane wet forest</name>
75
                </communityConcept>
76
            </communityConcepts>
77
        </communityDetermination>
78
        <communityDetermination>
79
            <plotObservationID>1</plotObservationID>
80
            <communityConcepts>
81
                <communityConcept>
82
                    <commonName>cT-m</commonName>
83
                    <name>Cool temperate moist forest</name>
84
                </communityConcept>
85
            </communityConcepts>
86
        </communityDetermination>
87
    </communityDeterminations>
88
</VegX>
mappings/for_review/SALVIAS_db-VegX.plots.csv
1
SALVIAS:plotMetadata,VegX:/*s/plotObservation,Comments
2
PlotID,,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
3
orig_filename,,
4
AccessCode,,
5
project_id,//project/title,
6
PrimOwnerID,,
7
SiteCode,//plot/plotUniqueIdentifier,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
8
SiteName,,
9
new_world,,
10
MajorGeo,//plot/simpleUserdefined[name=majorGeo]/value,
11
Country,//plot/country,
12
PolDiv1,//plot/state,Brad: No; pol1=stateProvince
13
pol1_type,,
14
pol2,//plot/county,Brad: No pol2=countyParish
15
pol2_type,,
16
lat_string,,
17
long_string,,
18
LatDec,//geospatial/DecimalLatitude,
19
LongDec,//geospatial/DecimalLongitude,
20
lat_long_accuracy,,
21
Elev,//geospatial/verbatimElevation,Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
22
elev_max_m,//geospatial/maximumElevationInMeters,
23
elev_min_m,//geospatial/minimumElevationInMeters,
24
Precip,/simpleUserdefined[name=precipMm]/value,
25
ElevSource,,
26
Temp,/temperature,
27
PrecipSource,,
28
TempSource,,
29
bearing,,
30
slope_aspect,//plot/slopeAspect,
31
slope_gradient,//plot/slopeGradient,
32
clay_percent,//*s/abioticObservation/simpleUserdefined[name=clayPercent]/value,
33
silt_percent,//*s/abioticObservation/simpleUserdefined[name=siltPercent]/value,
34
sand_percent,//*s/abioticObservation/simpleUserdefined[name=sandPercent]/value,
35
pH,//*s/abioticObservation/ph,"Brad: For all these soil variables, how do we store information on method, units. Seems like an ontological structure would be more appropriate (measurementName, measurementValue, measurementUnits, measurementMethod). Same as BIEN traits table. Something to discuss."
36
soil_N,//*s/abioticObservation/nitrogen,
37
soil_P,//*s/abioticObservation/phosphorus,
38
soil_C,//*s/abioticObservation/simpleUserdefined[name=carbon]/value,
39
soil_K,//*s/abioticObservation/pottasium,
40
soil_Mg,//*s/abioticObservation/magnesium,
41
soil_Ca,//*s/abioticObservation/simpleUserdefined[name=calcium]/value,
42
soil_Na,//*s/abioticObservation/simpleUserdefined[name=sodium]/value,
43
soil_acidity,//*s/abioticObservation/simpleUserdefined[name=acidity]/value,
44
soil_base,//*s/abioticObservation/simpleUserdefined[name=base]/value,
45
soil_cation_cap,//*s/abioticObservation/simpleUserdefined[name=cationCap]/value,
46
soil_conductivity,//*s/abioticObservation/simpleUserdefined[name=conductivity]/value,
47
organic_percent,//*s/abioticObservation/simpleUserdefined[name=organicPercent]/value,
48
soil_texture,//*s/abioticObservation/simpleUserdefined[name=texture]/value,
49
RevisionComments,,
50
Locality_Description,//plot/simpleUserdefined[name=localityDescription]/value,"Brad: No; this is free text description of locality where plot was situated, same as for DwC. Not a description of vegetation. Most likely='namedPlace.placeDescription' in VB; not sure about VX, again need to ask Nick where locality descriptions live in VX"
51
topography_desc,,
52
vegetation_1,,
53
vegetation_2,,
54
Habitat,,
55
life_zone_code,//*s/communityDetermination/communityConcepts/communityConcept/commonName,
56
life_zone,//*s/communityDetermination/communityConcepts/communityConcept/name,
57
PlotMethod,/simpleUserdefined[name=plotMethodology]/value,
58
MethodCode,,
59
plot_area_ha,//plot/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
60
recensused,,"Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a  plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values"
61
date_start,/obsStartDate/_date/year,
62
date_finish,/obsEndDate/_date/year,
63
plot_administrator,,
64
plot_notes,,
65
tmp_del,,
mappings/for_review/SALVIAS_db-VegBank.plots.csv
1
SALVIAS:plotMetadata,VegBank:/observation,Comments
2
plot_area_ha,//plot/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
3
Elev,//plot/elevation,Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
4
Country,"//*_ID/namedPlace[placeSystem=""area|country|territory""]/placeName",
5
PolDiv1,"//*_ID/namedPlace[placeSystem=""region|state|province""]/placeName",Brad: No; pol1=stateProvince
6
MajorGeo,//*_ID/namedPlace[placeSystem=continent]/placeName,
7
pol2,//*_ID/namedPlace[placeSystem=county]/placeName,Brad: No pol2=countyParish
8
Locality_Description,//namedPlace/placeDescription,"Brad: No; this is free text description of locality where plot was situated, same as for DwC. Not a description of vegetation. Most likely='namedPlace.placeDescription' in VB; not sure about VX, again need to ask Nick where locality descriptions live in VX"
9
LatDec,//plot/realLatitude,
10
LongDec,//plot/realLongitude,
11
slope_aspect,//plot/slopeAspect,
12
slope_gradient,//plot/slopeGradient,
13
elev_max_m,"/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}",
14
elev_min_m,"/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}",
15
project_id,//project/projectName,
16
life_zone_code,//*/commName,
17
life_zone,//commConcept/commDescription,
18
Precip,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=precipitationMm]]/definedValue",
19
Temp,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=temperatureC]]/definedValue",
20
PlotMethod,/methodNarrative,
21
date_finish,/obsEndDate/_date/year,
22
date_start,/obsStartDate/_date/year,
23
soil_acidity,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilAcidity]]/definedValue",
24
soil_base,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilBase]]/definedValue",
25
soil_Ca,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilCalcium]]/definedValue",
26
soil_C,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilCarbon]]/definedValue",
27
soil_cation_cap,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilCationCap]]/definedValue",
28
soil_conductivity,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilConductivity]]/definedValue",
29
soil_Mg,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilMagnesium]]/definedValue",
30
soil_N,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilNitrogen]]/definedValue",
31
soil_P,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilPhosphorus]]/definedValue",
32
soil_K,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilPotassium]]/definedValue",
33
soil_Na,"//soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilSodium]]/definedValue",
34
clay_percent,//soilObs/soilClay,
35
organic_percent,//soilObs/soilOrganic,
36
pH,//soilObs/soilPH,"Brad: For all these soil variables, how do we store information on method, units. Seems like an ontological structure would be more appropriate (measurementName, measurementValue, measurementUnits, measurementMethod). Same as BIEN traits table. Something to discuss."
37
sand_percent,//soilObs/soilSand,
38
silt_percent,//soilObs/soilSilt,
39
soil_texture,//soilObs/soilTexture,
40
SiteCode,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
mappings/SALVIAS_db-VegX.plots.csv
1
"SALVIAS:plotMetadata","VegX:/*s/plotObservation","Comments"
2
"PlotID",,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
3
"orig_filename",,
4
"AccessCode",,
5
"project_id","/*ID->/*s/project/title",
6
"PrimOwnerID",,
7
"SiteCode","/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier","Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)"
8
"SiteName",,
9
"new_world",,
10
"MajorGeo","/*UniqueIdentifierID->/*s/plot/simpleUserdefined[name=majorGeo]/value",
11
"Country","/*UniqueIdentifierID->/*s/plot/country",
12
"PolDiv1","/*UniqueIdentifierID->/*s/plot/state","Brad: No; pol1=stateProvince"
13
"pol1_type",,
14
"pol2","/*UniqueIdentifierID->/*s/plot/county","Brad: No pol2=countyParish"
15
"pol2_type",,
16
"lat_string",,
17
"long_string",,
18
"LatDec","/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLatitude",
19
"LongDec","/*UniqueIdentifierID->/*s/plot/geospatial/DecimalLongitude",
20
"lat_long_accuracy",,
21
"Elev","/*UniqueIdentifierID->/*s/plot/geospatial/verbatimElevation","Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick."
22
"elev_max_m","/*UniqueIdentifierID->/*s/plot/geospatial/maximumElevationInMeters",
23
"elev_min_m","/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters",
24
"Precip","/simpleUserdefined[name=precipMm]/value",
25
"ElevSource",,
26
"Temp","/temperature",
27
"PrecipSource",,
28
"TempSource",,
29
"bearing",,
30
"slope_aspect","/*UniqueIdentifierID->/*s/plot/slopeAspect",
31
"slope_gradient","/*UniqueIdentifierID->/*s/plot/slopeGradient",
32
"clay_percent","->/*s/abioticObservation[*ID]/simpleUserdefined[name=clayPercent]/value",
33
"silt_percent","->/*s/abioticObservation[*ID]/simpleUserdefined[name=siltPercent]/value",
34
"sand_percent","->/*s/abioticObservation[*ID]/simpleUserdefined[name=sandPercent]/value",
35
"pH","->/*s/abioticObservation[*ID]/ph","Brad: For all these soil variables, how do we store information on method, units. Seems like an ontological structure would be more appropriate (measurementName, measurementValue, measurementUnits, measurementMethod). Same as BIEN traits table. Something to discuss."
36
"soil_N","->/*s/abioticObservation[*ID]/nitrogen",
37
"soil_P","->/*s/abioticObservation[*ID]/phosphorus",
38
"soil_C","->/*s/abioticObservation[*ID]/simpleUserdefined[name=carbon]/value",
39
"soil_K","->/*s/abioticObservation[*ID]/pottasium",
40
"soil_Mg","->/*s/abioticObservation[*ID]/magnesium",
41
"soil_Ca","->/*s/abioticObservation[*ID]/simpleUserdefined[name=calcium]/value",
42
"soil_Na","->/*s/abioticObservation[*ID]/simpleUserdefined[name=sodium]/value",
43
"soil_acidity","->/*s/abioticObservation[*ID]/simpleUserdefined[name=acidity]/value",
44
"soil_base","->/*s/abioticObservation[*ID]/simpleUserdefined[name=base]/value",
45
"soil_cation_cap","->/*s/abioticObservation[*ID]/simpleUserdefined[name=cationCap]/value",
46
"soil_conductivity","->/*s/abioticObservation[*ID]/simpleUserdefined[name=conductivity]/value",
47
"organic_percent","->/*s/abioticObservation[*ID]/simpleUserdefined[name=organicPercent]/value",
48
"soil_texture","->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value",
49
"RevisionComments",,
50
"Locality_Description","/*UniqueIdentifierID->/*s/plot/simpleUserdefined[name=localityDescription]/value","Brad: No; this is free text description of locality where plot was situated, same as for DwC. Not a description of vegetation. Most likely='namedPlace.placeDescription' in VB; not sure about VX, again need to ask Nick where locality descriptions live in VX"
51
"topography_desc",,
52
"vegetation_1",,
53
"vegetation_2",,
54
"Habitat",,
55
"life_zone_code","->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/commonName",
56
"life_zone","->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/name",
57
"PlotMethod","/simpleUserdefined[name=plotMethodology]/value",
58
"MethodCode",,
59
"plot_area_ha","/*UniqueIdentifierID->/*s/plot/area","Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
60
"recensused",,"Brad: This is a 0/1 value, internal to SALVIAS. 1 indicates that a  plot has >1 set of values, from different census events.; Aaron: Different censuses are distinguished in organisms data by different census_no values"
61
"date_start","/obsStartDate/_date/year",
62
"date_finish","/obsEndDate/_date/year",
63
"plot_administrator",,
64
"plot_notes",,
65
"tmp_del",,
mappings/SALVIAS_db-VegBank.plots.csv
1
SALVIAS:plotMetadata,VegBank:/observation,Comments
2
plot_area_ha,/*_ID/plot/area,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed"
3
Elev,/*_ID/plot/elevation,Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick.
4
Country,"/*_ID/plot/place(/*_ID/namedPlace[placeSystem=""area|country|territory""])/placeName",
5
PolDiv1,"/*_ID/plot/place(/*_ID/namedPlace[placeSystem=""region|state|province""])/placeName",Brad: No; pol1=stateProvince
6
MajorGeo,/*_ID/plot/place(/*_ID/namedPlace[placeSystem=continent])/placeName,
7
pol2,/*_ID/plot/place(/*_ID/namedPlace[placeSystem=county])/placeName,Brad: No pol2=countyParish
8
Locality_Description,/*_ID/plot/place/*_ID/namedPlace/placeDescription,"Brad: No; this is free text description of locality where plot was situated, same as for DwC. Not a description of vegetation. Most likely='namedPlace.placeDescription' in VB; not sure about VX, again need to ask Nick where locality descriptions live in VX"
9
LatDec,/*_ID/plot/realLatitude,
10
LongDec,/*_ID/plot/realLongitude,
11
slope_aspect,/*_ID/plot/slopeAspect,
12
slope_gradient,/*_ID/plot/slopeGradient,
13
elev_max_m,"/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}",
14
elev_min_m,"/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}",
15
project_id,/*_ID/project/projectName,
16
life_zone_code,/commClass/commInterpretation/*_ID/commConcept/*_ID/*/commName,
17
life_zone,/commClass/commInterpretation/*_ID/commConcept/commDescription,
18
Precip,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=precipitationMm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
19
Temp,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=temperatureC]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
20
PlotMethod,/methodNarrative,
21
date_finish,/obsEndDate/_date/year,
22
date_start,/obsStartDate/_date/year,
23
soil_acidity,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilAcidity]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
24
soil_base,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilBase]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
25
soil_Ca,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilCalcium]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
26
soil_C,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilCarbon]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
27
soil_cation_cap,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilCationCap]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
28
soil_conductivity,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilConductivity]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
29
soil_Mg,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilMagnesium]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
30
soil_N,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilNitrogen]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
31
soil_P,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilPhosphorus]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
32
soil_K,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilPotassium]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
33
soil_Na,"/soilObs/definedValue[*_ID/userDefined[tableName=soilObs,userDefinedName=soilSodium]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
34
clay_percent,/soilObs/soilClay,
35
organic_percent,/soilObs/soilOrganic,
36
pH,/soilObs/soilPH,"Brad: For all these soil variables, how do we store information on method, units. Seems like an ontological structure would be more appropriate (measurementName, measurementValue, measurementUnits, measurementMethod). Same as BIEN traits table. Something to discuss."
37
sand_percent,/soilObs/soilSand,
38
silt_percent,/soilObs/soilSilt,
39
soil_texture,/soilObs/soilTexture,
40
SiteCode,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)

Also available in: Unified diff