Project

General

Profile

« Previous | Next » 

Revision 6094

inputs/SALVIAS/plotMetadata/: LEFT JOINed with lookup_MethodCode to create plotMetadata_

View differences:

inputs/SALVIAS/plotMetadata/new_terms.csv
1
SiteCode,plotName,,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
2
MajorGeo,continent,,
3
PolDiv1,stateProvince,,Brad: No; pol1=stateProvince
4
pol2,county,,Brad: No pol2=countyParish
5
LatDec,decimalLatitude,,
6
LongDec,decimalLongitude,,
7
Elev,elevationInMeters,,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.
8
elev_max_m,maximumElevationInMeters,,
9
elev_min_m,minimumElevationInMeters,,
10
Precip,precipitation,,
11
Temp,temperature,,
12
soil_N,nitrogen_percent,,Assuming units are % based on the range of values
13
soil_P,phosphorus_percent,"/_map:[""<1,5""=0,*=*]/value",Assuming units are % based on the range of values
14
soil_C,carbon_percent,,Assuming units are % based on the range of values
15
soil_K,potassium_percent,,Assuming units are % based on the range of values
16
soil_Mg,magnesium_percent,,Assuming units are % based on the range of values
17
soil_Ca,calcium_percent,,Assuming units are % based on the range of values
18
soil_Na,sodium_percent,,Assuming units are % based on the range of values
19
soil_acidity,acidity_percent,"/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
20
soil_base,baseSaturation_percent,,Assuming units are % based on the range of values
21
soil_cation_cap,cationExchangeCapacity_cmol_kg,,
22
soil_conductivity,conductivity,,
23
soil_texture,texture,,
24
Locality_Description,locality,,"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"
25
life_zone_code,communityID,,
26
life_zone,communityName,,
27
PlotMethod,samplingProtocol,,
28
date_start,startDate,,
29
date_finish,endDate,,
inputs/SALVIAS/plotMetadata/unmapped_terms.csv
1
*orig_filename
2
*AccessCode
3
*PrimOwnerID
4
*SiteName
5
*new_world
6
*pol1_type
7
*pol2_type
8
*lat_string
9
*long_string
10
*lat_long_accuracy
11
*ElevSource
12
*PrecipSource
13
*TempSource
14
*bearing
15
*RevisionComments
16
*topography_desc
17
*vegetation_1
18
*vegetation_2
19
*MethodCode
20
*recensused
21
*plot_administrator
22
*tmp_del
23
*Country_index
24
*PrimOwnerID_index
25
*plot_administrator_index
26
*project_id_index
inputs/SALVIAS/plotMetadata/header.csv
1
PlotID,orig_filename,AccessCode,project_id,PrimOwnerID,SiteCode,SiteName,new_world,MajorGeo,Country,PolDiv1,pol1_type,pol2,pol2_type,lat_string,long_string,LatDec,LongDec,lat_long_accuracy,Elev,elev_max_m,elev_min_m,Precip,ElevSource,Temp,PrecipSource,TempSource,bearing,slope_aspect,slope_gradient,clay_percent,silt_percent,sand_percent,pH,soil_N,soil_P,soil_C,soil_K,soil_Mg,soil_Ca,soil_Na,soil_acidity,soil_base,soil_cation_cap,soil_conductivity,organic_percent,soil_texture,RevisionComments,Locality_Description,topography_desc,vegetation_1,vegetation_2,Habitat,life_zone_code,life_zone,PlotMethod,MethodCode,plot_area_ha,recensused,date_start,date_finish,plot_administrator,plot_notes,tmp_del,Country_index,PrimOwnerID_index,plot_administrator_index,project_id_index
inputs/SALVIAS/plotMetadata/map.csv
1
SALVIAS,VegCore,Filter,Comments
2
PlotID,locationID,,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
3
orig_filename,*orig_filename,,
4
AccessCode,*AccessCode,,
5
project_id,projectID,,
6
PrimOwnerID,*PrimOwnerID,,
7
SiteCode,plotName,,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
8
SiteName,*SiteName,,
9
new_world,*new_world,,
10
MajorGeo,continent,,
11
Country,country,,
12
PolDiv1,stateProvince,,Brad: No; pol1=stateProvince
13
pol1_type,*pol1_type,,
14
pol2,county,,Brad: No pol2=countyParish
15
pol2_type,*pol2_type,,
16
lat_string,*lat_string,,
17
long_string,*long_string,,
18
LatDec,decimalLatitude,,
19
LongDec,decimalLongitude,,
20
lat_long_accuracy,*lat_long_accuracy,,
21
Elev,elevationInMeters,,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,maximumElevationInMeters,,
23
elev_min_m,minimumElevationInMeters,,
24
Precip,precipitation,,
25
ElevSource,*ElevSource,,
26
Temp,temperature,,
27
PrecipSource,*PrecipSource,,
28
TempSource,*TempSource,,
29
bearing,*bearing,,
30
slope_aspect,slopeAspect,,
31
slope_gradient,slopeGradient,,
32
clay_percent,clay_percent,,
33
silt_percent,silt_percent,,
34
sand_percent,sand_percent,,
35
pH,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,nitrogen_percent,,Assuming units are % based on the range of values
37
soil_P,phosphorus_percent,"/_map:[""<1,5""=0,*=*]/value",Assuming units are % based on the range of values
38
soil_C,carbon_percent,,Assuming units are % based on the range of values
39
soil_K,potassium_percent,,Assuming units are % based on the range of values
40
soil_Mg,magnesium_percent,,Assuming units are % based on the range of values
41
soil_Ca,calcium_percent,,Assuming units are % based on the range of values
42
soil_Na,sodium_percent,,Assuming units are % based on the range of values
43
soil_acidity,acidity_percent,"/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
44
soil_base,baseSaturation_percent,,Assuming units are % based on the range of values
45
soil_cation_cap,cationExchangeCapacity_cmol_kg,,
46
soil_conductivity,conductivity,,
47
organic_percent,organic_percent,,
48
soil_texture,texture,,
49
RevisionComments,*RevisionComments,,
50
Locality_Description,locality,,"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,*topography_desc,,
52
vegetation_1,*vegetation_1,,
53
vegetation_2,*vegetation_2,,
54
Habitat,habitat,,
55
life_zone_code,communityID,,
56
life_zone,communityName,,
57
PlotMethod,samplingProtocol,,
58
MethodCode,*MethodCode,,
59
plot_area_ha,plotArea_ha,,"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,*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,startDate,,
62
date_finish,endDate,,
63
plot_administrator,*plot_administrator,,
64
plot_notes,plotNotes,,
65
tmp_del,*tmp_del,,
66
Country_index,*Country_index,,
67
PrimOwnerID_index,*PrimOwnerID_index,,
68
plot_administrator_index,*plot_administrator_index,,
69
project_id_index,*project_id_index,,
inputs/SALVIAS/plotMetadata/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$SiteCode</authorlocationcode>
8
                <sourceaccessioncode>$PlotID</sourceaccessioncode>
9
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
10
                <elevation_m>
11
                    <_alt>
12
                        <1>$Elev</1>
13
                        <2>
14
                            <_avg>
15
                                <max>$elev_max_m</max>
16
                                <min>$elev_min_m</min>
17
                            </_avg>
18
                        </2>
19
                    </_alt>
20
                </elevation_m>
21
                <locationevent>
22
                    <method_id><method><name>$PlotMethod</name></method></method_id>
23
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
24
                    <commclass>
25
                        <commdetermination>
26
                            <commconcept_id>
27
                                <commconcept>
28
                                    <commname_id><commname><commname>$life_zone_code</commname></commname></commname_id>
29
                                    <commdescription>$life_zone</commdescription>
30
                                </commconcept>
31
                            </commconcept_id>
32
                        </commdetermination>
33
                    </commclass>
34
                    <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
35
                    <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
36
                    <precipitation_m>$Precip</precipitation_m>
37
                    <soilobs>
38
                        <acidity_fraction>
39
                            <_percent_to_fraction>
40
                                <value>
41
                                    <_map>
42
                                        <<0.05>0</<0.05>
43
                                        <*>*</*>
44
                                        <value>$soil_acidity</value>
45
                                    </_map>
46
                                </value>
47
                            </_percent_to_fraction>
48
                        </acidity_fraction>
49
                        <basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
50
                        <calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
51
                        <carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
52
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
53
                        <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
54
                        <conductivity>$soil_conductivity</conductivity>
55
                        <magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
56
                        <nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
57
                        <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
58
                        <ph>$pH</ph>
59
                        <phosphorus_fraction>
60
                            <_percent_to_fraction>
61
                                <value>
62
                                    <_map>
63
                                        <<1,5>0</<1,5>
64
                                        <*>*</*>
65
                                        <value>$soil_P</value>
66
                                    </_map>
67
                                </value>
68
                            </_percent_to_fraction>
69
                        </phosphorus_fraction>
70
                        <potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
71
                        <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
72
                        <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
73
                        <sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
74
                        <texture>$soil_texture</texture>
75
                    </soilobs>
76
                    <temperature_c>$Temp</temperature_c>
77
                </locationevent>
78
                <locationnarrative>
79
                    <_merge>
80
                        <1>$Locality_Description</1>
81
                        <3>
82
                            <_label>
83
                                <label>habitat</label>
84
                                <value>$Habitat</value>
85
                            </_label>
86
                        </3>
87
                    </_merge>
88
                </locationnarrative>
89
                <locationplace>
90
                    <place_id>
91
                        <place>
92
                            <coordinates_id>
93
                                <coordinates>
94
                                    <latitude_deg>
95
                                        <_nullIf>
96
                                            <null>0</null>
97
                                            <type>float</type>
98
                                            <value>$LatDec</value>
99
                                        </_nullIf>
100
                                    </latitude_deg>
101
                                    <longitude_deg>
102
                                        <_nullIf>
103
                                            <null>0</null>
104
                                            <type>float</type>
105
                                            <value>$LongDec</value>
106
                                        </_nullIf>
107
                                    </longitude_deg>
108
                                </coordinates>
109
                            </coordinates_id>
110
                            <continent>$MajorGeo</continent>
111
                            <country>$Country</country>
112
                            <county>$pol2</county>
113
                            <matched_place_id>
114
                                <place>
115
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
116
                                    <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
                                        </coordinates>
133
                                    </coordinates_id>
134
                                    <country>$Country</country>
135
                                    <stateprovince>$PolDiv1</stateprovince>
136
                                </place>
137
                            </matched_place_id>
138
                            <stateprovince>$PolDiv1</stateprovince>
139
                        </place>
140
                    </place_id>
141
                </locationplace>
142
                <notespublic>$plot_notes</notespublic>
143
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
144
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
145
            </location>
146
        </path>
147
    </_simplifyPath>
148
</VegBIEN>
149
Inserted 26 new rows into database
inputs/SALVIAS/plotMetadata/VegBIEN.csv
1
SALVIAS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
SiteCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
3
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
4
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
5
SiteCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
6
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
7
plot_area_ha,/location/area_m2/_ha_to_m2/value,"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"
8
Elev,/location/elevation_m/_alt/1,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.
9
elev_max_m,/location/elevation_m/_alt/2/_avg/max,
10
elev_min_m,/location/elevation_m/_alt/2/_avg/min,
11
PlotMethod,/location/locationevent/*_id/method/name,
12
project_id,/location/locationevent/*_id/project/sourceaccessioncode,
13
date_finish,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/cond/_exists",
14
date_start,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/cond/_exists",
15
SiteCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/authorlocationcode/_if[@name=""if subplot""]/then",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
16
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17
date_finish,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/obsenddate/_*/date/_alt/1",
18
date_start,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/obsstartdate/_*/date/_alt/1",
19
life_zone_code,/location/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
20
life_zone,/location/locationevent/commclass/commdetermination/*_id/commconcept/commdescription,
21
date_finish,/location/locationevent/obsenddate/_*/date/_alt/1,
22
date_start,/location/locationevent/obsstartdate/_*/date/_alt/1,
23
Precip,/location/locationevent/precipitation_m,
24
soil_acidity,"/location/locationevent/soilobs/acidity_fraction/_percent_to_fraction/value/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
25
soil_base,/location/locationevent/soilobs/basesaturation_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
26
soil_Ca,/location/locationevent/soilobs/calcium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
27
soil_C,/location/locationevent/soilobs/carbon_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
28
soil_cation_cap,/location/locationevent/soilobs/cationexchangecapacity_cmol_kg,
29
clay_percent,/location/locationevent/soilobs/clay_fraction/_percent_to_fraction/value,
30
soil_conductivity,/location/locationevent/soilobs/conductivity,
31
soil_Mg,/location/locationevent/soilobs/magnesium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
32
soil_N,/location/locationevent/soilobs/nitrogen_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
33
organic_percent,/location/locationevent/soilobs/organic_fraction/_percent_to_fraction/value,
34
pH,/location/locationevent/soilobs/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."
35
soil_P,"/location/locationevent/soilobs/phosphorus_fraction/_percent_to_fraction/value/_map:[""<1,5""=0,*=*]/value",Assuming units are % based on the range of values
36
soil_K,/location/locationevent/soilobs/potassium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
37
sand_percent,/location/locationevent/soilobs/sand_fraction/_percent_to_fraction/value,
38
silt_percent,/location/locationevent/soilobs/silt_fraction/_percent_to_fraction/value,
39
soil_Na,/location/locationevent/soilobs/sodium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
40
soil_texture,/location/locationevent/soilobs/texture,
41
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
42
SiteCode,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
43
Temp,/location/locationevent/temperature_c,
44
Locality_Description,/location/locationnarrative/_merge/1,"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"
45
Habitat,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
46
LatDec,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value",
47
LongDec,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value",
48
MajorGeo,/location/locationplace/*_id/place/continent,
49
Country,/location/locationplace/*_id/place/country,
50
pol2,/location/locationplace/*_id/place/county,Brad: No pol2=countyParish
51
LatDec,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",
52
LongDec,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",
53
Country,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/country/_first/2,
54
PolDiv1,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/stateprovince/_first/2,Brad: No; pol1=stateProvince
55
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
56
PolDiv1,/location/locationplace/*_id/place/stateprovince,Brad: No; pol1=stateProvince
57
plot_notes,/location/notespublic,
58
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value,
59
slope_gradient,/location/slopegradient_fraction/_alt/1,
60
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
61
SiteCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
62
AccessCode,,** No join mapping for *AccessCode ** 
63
Country_index,,** No join mapping for *Country_index ** 
64
ElevSource,,** No join mapping for *ElevSource ** 
65
MethodCode,,** No join mapping for *MethodCode ** 
66
PrecipSource,,** No join mapping for *PrecipSource ** 
67
PrimOwnerID,,** No join mapping for *PrimOwnerID ** 
68
PrimOwnerID_index,,** No join mapping for *PrimOwnerID_index ** 
69
RevisionComments,,** No join mapping for *RevisionComments ** 
70
SiteName,,** No join mapping for *SiteName ** 
71
TempSource,,** No join mapping for *TempSource ** 
72
bearing,,** No join mapping for *bearing ** 
73
lat_long_accuracy,,** No join mapping for *lat_long_accuracy ** 
74
lat_string,,** No join mapping for *lat_string ** 
75
long_string,,** No join mapping for *long_string ** 
76
new_world,,** No join mapping for *new_world ** 
77
orig_filename,,** No join mapping for *orig_filename ** 
78
plot_administrator,,** No join mapping for *plot_administrator ** 
79
plot_administrator_index,,** No join mapping for *plot_administrator_index ** 
80
pol1_type,,** No join mapping for *pol1_type ** 
81
pol2_type,,** No join mapping for *pol2_type ** 
82
project_id_index,,** No join mapping for *project_id_index ** 
83
recensused,,"** No join mapping for *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"
84
tmp_del,,** No join mapping for *tmp_del ** 
85
topography_desc,,** No join mapping for *topography_desc ** 
86
vegetation_1,,** No join mapping for *vegetation_1 ** 
87
vegetation_2,,** No join mapping for *vegetation_2 ** 
inputs/SALVIAS/import_order.txt
1 1
projects
2
plotMetadata
2
plotMetadata_
3 3
plotObservations
4 4
stems
inputs/SALVIAS/plotMetadata_/create.sql
1
SELECT *
2
FROM "plotMetadata"
3
LEFT JOIN "lookup_MethodCode" USING ("MethodCode")
inputs/SALVIAS/plotMetadata_/header.csv
1
MethodCode,PlotID,orig_filename,AccessCode,project_id,PrimOwnerID,SiteCode,SiteName,new_world,MajorGeo,Country,PolDiv1,pol1_type,pol2,pol2_type,lat_string,long_string,LatDec,LongDec,lat_long_accuracy,Elev,elev_max_m,elev_min_m,Precip,ElevSource,Temp,PrecipSource,TempSource,bearing,slope_aspect,slope_gradient,clay_percent,silt_percent,sand_percent,pH,soil_N,soil_P,soil_C,soil_K,soil_Mg,soil_Ca,soil_Na,soil_acidity,soil_base,soil_cation_cap,soil_conductivity,organic_percent,soil_texture,RevisionComments,Locality_Description,topography_desc,vegetation_1,vegetation_2,Habitat,life_zone_code,life_zone,PlotMethod,plot_area_ha,recensused,date_start,date_finish,plot_administrator,plot_notes,tmp_del,Country_index,PrimOwnerID_index,plot_administrator_index,project_id_index,Description
inputs/SALVIAS/plotMetadata_/map.csv
1
SALVIAS,VegCore,Filter,Comments
2
MethodCode,*MethodCode,,
3
PlotID,locationID,,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
4
orig_filename,*orig_filename,,
5
AccessCode,*AccessCode,,
6
project_id,projectID,,
7
PrimOwnerID,*PrimOwnerID,,
8
SiteCode,plotName,,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
9
SiteName,*SiteName,,
10
new_world,*new_world,,
11
MajorGeo,continent,,
12
Country,country,,
13
PolDiv1,stateProvince,,Brad: No; pol1=stateProvince
14
pol1_type,*pol1_type,,
15
pol2,county,,Brad: No pol2=countyParish
16
pol2_type,*pol2_type,,
17
lat_string,*lat_string,,
18
long_string,*long_string,,
19
LatDec,decimalLatitude,,
20
LongDec,decimalLongitude,,
21
lat_long_accuracy,*lat_long_accuracy,,
22
Elev,elevationInMeters,,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.
23
elev_max_m,maximumElevationInMeters,,
24
elev_min_m,minimumElevationInMeters,,
25
Precip,precipitation,,
26
ElevSource,*ElevSource,,
27
Temp,temperature,,
28
PrecipSource,*PrecipSource,,
29
TempSource,*TempSource,,
30
bearing,*bearing,,
31
slope_aspect,slopeAspect,,
32
slope_gradient,slopeGradient,,
33
clay_percent,clay_percent,,
34
silt_percent,silt_percent,,
35
sand_percent,sand_percent,,
36
pH,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."
37
soil_N,nitrogen_percent,,Assuming units are % based on the range of values
38
soil_P,phosphorus_percent,"/_map:[""<1,5""=0,*=*]/value",Assuming units are % based on the range of values
39
soil_C,carbon_percent,,Assuming units are % based on the range of values
40
soil_K,potassium_percent,,Assuming units are % based on the range of values
41
soil_Mg,magnesium_percent,,Assuming units are % based on the range of values
42
soil_Ca,calcium_percent,,Assuming units are % based on the range of values
43
soil_Na,sodium_percent,,Assuming units are % based on the range of values
44
soil_acidity,acidity_percent,"/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
45
soil_base,baseSaturation_percent,,Assuming units are % based on the range of values
46
soil_cation_cap,cationExchangeCapacity_cmol_kg,,
47
soil_conductivity,conductivity,,
48
organic_percent,organic_percent,,
49
soil_texture,texture,,
50
RevisionComments,*RevisionComments,,
51
Locality_Description,locality,,"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"
52
topography_desc,*topography_desc,,
53
vegetation_1,*vegetation_1,,
54
vegetation_2,*vegetation_2,,
55
Habitat,habitat,,
56
life_zone_code,communityID,,
57
life_zone,communityName,,
58
PlotMethod,samplingProtocol,,
59
plot_area_ha,plotArea_ha,,"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,*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,startDate,,
62
date_finish,endDate,,
63
plot_administrator,*plot_administrator,,
64
plot_notes,plotNotes,,
65
tmp_del,*tmp_del,,
66
Country_index,*Country_index,,
67
PrimOwnerID_index,*PrimOwnerID_index,,
68
plot_administrator_index,*plot_administrator_index,,
69
project_id_index,*project_id_index,,
70
Description,*Description,,
inputs/SALVIAS/plotMetadata_/VegBIEN.csv
1
SALVIAS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
SiteCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
3
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
4
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
5
SiteCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
6
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
7
plot_area_ha,/location/area_m2/_ha_to_m2/value,"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"
8
Elev,/location/elevation_m/_alt/1,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.
9
elev_max_m,/location/elevation_m/_alt/2/_avg/max,
10
elev_min_m,/location/elevation_m/_alt/2/_avg/min,
11
PlotMethod,/location/locationevent/*_id/method/name,
12
project_id,/location/locationevent/*_id/project/sourceaccessioncode,
13
date_finish,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/cond/_exists",
14
date_start,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/cond/_exists",
15
SiteCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/authorlocationcode/_if[@name=""if subplot""]/then",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
16
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
17
date_finish,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/obsenddate/_*/date/_alt/1",
18
date_start,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/obsstartdate/_*/date/_alt/1",
19
life_zone_code,/location/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
20
life_zone,/location/locationevent/commclass/commdetermination/*_id/commconcept/commdescription,
21
date_finish,/location/locationevent/obsenddate/_*/date/_alt/1,
22
date_start,/location/locationevent/obsstartdate/_*/date/_alt/1,
23
Precip,/location/locationevent/precipitation_m,
24
soil_acidity,"/location/locationevent/soilobs/acidity_fraction/_percent_to_fraction/value/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
25
soil_base,/location/locationevent/soilobs/basesaturation_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
26
soil_Ca,/location/locationevent/soilobs/calcium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
27
soil_C,/location/locationevent/soilobs/carbon_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
28
soil_cation_cap,/location/locationevent/soilobs/cationexchangecapacity_cmol_kg,
29
clay_percent,/location/locationevent/soilobs/clay_fraction/_percent_to_fraction/value,
30
soil_conductivity,/location/locationevent/soilobs/conductivity,
31
soil_Mg,/location/locationevent/soilobs/magnesium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
32
soil_N,/location/locationevent/soilobs/nitrogen_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
33
organic_percent,/location/locationevent/soilobs/organic_fraction/_percent_to_fraction/value,
34
pH,/location/locationevent/soilobs/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."
35
soil_P,"/location/locationevent/soilobs/phosphorus_fraction/_percent_to_fraction/value/_map:[""<1,5""=0,*=*]/value",Assuming units are % based on the range of values
36
soil_K,/location/locationevent/soilobs/potassium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
37
sand_percent,/location/locationevent/soilobs/sand_fraction/_percent_to_fraction/value,
38
silt_percent,/location/locationevent/soilobs/silt_fraction/_percent_to_fraction/value,
39
soil_Na,/location/locationevent/soilobs/sodium_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
40
soil_texture,/location/locationevent/soilobs/texture,
41
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
42
SiteCode,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
43
Temp,/location/locationevent/temperature_c,
44
Locality_Description,/location/locationnarrative/_merge/1,"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"
45
Habitat,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
46
LatDec,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value",
47
LongDec,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value",
48
MajorGeo,/location/locationplace/*_id/place/continent,
49
Country,/location/locationplace/*_id/place/country,
50
pol2,/location/locationplace/*_id/place/county,Brad: No pol2=countyParish
51
LatDec,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",
52
LongDec,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",
53
Country,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/country/_first/2,
54
PolDiv1,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/stateprovince/_first/2,Brad: No; pol1=stateProvince
55
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
56
PolDiv1,/location/locationplace/*_id/place/stateprovince,Brad: No; pol1=stateProvince
57
plot_notes,/location/notespublic,
58
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value,
59
slope_gradient,/location/slopegradient_fraction/_alt/1,
60
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
61
SiteCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
62
AccessCode,,** No join mapping for *AccessCode ** 
63
Country_index,,** No join mapping for *Country_index ** 
64
Description,,** No join mapping for *Description ** 
65
ElevSource,,** No join mapping for *ElevSource ** 
66
MethodCode,,** No join mapping for *MethodCode ** 
67
PrecipSource,,** No join mapping for *PrecipSource ** 
68
PrimOwnerID,,** No join mapping for *PrimOwnerID ** 
69
PrimOwnerID_index,,** No join mapping for *PrimOwnerID_index ** 
70
RevisionComments,,** No join mapping for *RevisionComments ** 
71
SiteName,,** No join mapping for *SiteName ** 
72
TempSource,,** No join mapping for *TempSource ** 
73
bearing,,** No join mapping for *bearing ** 
74
lat_long_accuracy,,** No join mapping for *lat_long_accuracy ** 
75
lat_string,,** No join mapping for *lat_string ** 
76
long_string,,** No join mapping for *long_string ** 
77
new_world,,** No join mapping for *new_world ** 
78
orig_filename,,** No join mapping for *orig_filename ** 
79
plot_administrator,,** No join mapping for *plot_administrator ** 
80
plot_administrator_index,,** No join mapping for *plot_administrator_index ** 
81
pol1_type,,** No join mapping for *pol1_type ** 
82
pol2_type,,** No join mapping for *pol2_type ** 
83
project_id_index,,** No join mapping for *project_id_index ** 
84
recensused,,"** No join mapping for *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"
85
tmp_del,,** No join mapping for *tmp_del ** 
86
topography_desc,,** No join mapping for *topography_desc ** 
87
vegetation_1,,** No join mapping for *vegetation_1 ** 
88
vegetation_2,,** No join mapping for *vegetation_2 ** 
inputs/SALVIAS/plotMetadata_/unmapped_terms.csv
1
*MethodCode
2
*orig_filename
3
*AccessCode
4
*PrimOwnerID
5
*SiteName
6
*new_world
7
*pol1_type
8
*pol2_type
9
*lat_string
10
*long_string
11
*lat_long_accuracy
12
*ElevSource
13
*PrecipSource
14
*TempSource
15
*bearing
16
*RevisionComments
17
*topography_desc
18
*vegetation_1
19
*vegetation_2
20
*recensused
21
*plot_administrator
22
*tmp_del
23
*Country_index
24
*PrimOwnerID_index
25
*plot_administrator_index
26
*project_id_index
27
*Description
inputs/SALVIAS/plotMetadata_/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$SiteCode</authorlocationcode>
8
                <sourceaccessioncode>$PlotID</sourceaccessioncode>
9
                <area_m2><_ha_to_m2><value>$plot_area_ha</value></_ha_to_m2></area_m2>
10
                <elevation_m>
11
                    <_alt>
12
                        <1>$Elev</1>
13
                        <2>
14
                            <_avg>
15
                                <max>$elev_max_m</max>
16
                                <min>$elev_min_m</min>
17
                            </_avg>
18
                        </2>
19
                    </_alt>
20
                </elevation_m>
21
                <locationevent>
22
                    <method_id><method><name>$PlotMethod</name></method></method_id>
23
                    <project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
24
                    <commclass>
25
                        <commdetermination>
26
                            <commconcept_id>
27
                                <commconcept>
28
                                    <commname_id><commname><commname>$life_zone_code</commname></commname></commname_id>
29
                                    <commdescription>$life_zone</commdescription>
30
                                </commconcept>
31
                            </commconcept_id>
32
                        </commdetermination>
33
                    </commclass>
34
                    <obsenddate><_date><date>$date_finish</date></_date></obsenddate>
35
                    <obsstartdate><_date><date>$date_start</date></_date></obsstartdate>
36
                    <precipitation_m>$Precip</precipitation_m>
37
                    <soilobs>
38
                        <acidity_fraction>
39
                            <_percent_to_fraction>
40
                                <value>
41
                                    <_map>
42
                                        <<0.05>0</<0.05>
43
                                        <*>*</*>
44
                                        <value>$soil_acidity</value>
45
                                    </_map>
46
                                </value>
47
                            </_percent_to_fraction>
48
                        </acidity_fraction>
49
                        <basesaturation_fraction><_percent_to_fraction><value>$soil_base</value></_percent_to_fraction></basesaturation_fraction>
50
                        <calcium_fraction><_percent_to_fraction><value>$soil_Ca</value></_percent_to_fraction></calcium_fraction>
51
                        <carbon_fraction><_percent_to_fraction><value>$soil_C</value></_percent_to_fraction></carbon_fraction>
52
                        <cationexchangecapacity_cmol_kg>$soil_cation_cap</cationexchangecapacity_cmol_kg>
53
                        <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
54
                        <conductivity>$soil_conductivity</conductivity>
55
                        <magnesium_fraction><_percent_to_fraction><value>$soil_Mg</value></_percent_to_fraction></magnesium_fraction>
56
                        <nitrogen_fraction><_percent_to_fraction><value>$soil_N</value></_percent_to_fraction></nitrogen_fraction>
57
                        <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
58
                        <ph>$pH</ph>
59
                        <phosphorus_fraction>
60
                            <_percent_to_fraction>
61
                                <value>
62
                                    <_map>
63
                                        <<1,5>0</<1,5>
64
                                        <*>*</*>
65
                                        <value>$soil_P</value>
66
                                    </_map>
67
                                </value>
68
                            </_percent_to_fraction>
69
                        </phosphorus_fraction>
70
                        <potassium_fraction><_percent_to_fraction><value>$soil_K</value></_percent_to_fraction></potassium_fraction>
71
                        <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
72
                        <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
73
                        <sodium_fraction><_percent_to_fraction><value>$soil_Na</value></_percent_to_fraction></sodium_fraction>
74
                        <texture>$soil_texture</texture>
75
                    </soilobs>
76
                    <temperature_c>$Temp</temperature_c>
77
                </locationevent>
78
                <locationnarrative>
79
                    <_merge>
80
                        <1>$Locality_Description</1>
81
                        <3>
82
                            <_label>
83
                                <label>habitat</label>
84
                                <value>$Habitat</value>
85
                            </_label>
86
                        </3>
87
                    </_merge>
88
                </locationnarrative>
89
                <locationplace>
90
                    <place_id>
91
                        <place>
92
                            <coordinates_id>
93
                                <coordinates>
94
                                    <latitude_deg>
95
                                        <_nullIf>
96
                                            <null>0</null>
97
                                            <type>float</type>
98
                                            <value>$LatDec</value>
99
                                        </_nullIf>
100
                                    </latitude_deg>
101
                                    <longitude_deg>
102
                                        <_nullIf>
103
                                            <null>0</null>
104
                                            <type>float</type>
105
                                            <value>$LongDec</value>
106
                                        </_nullIf>
107
                                    </longitude_deg>
108
                                </coordinates>
109
                            </coordinates_id>
110
                            <continent>$MajorGeo</continent>
111
                            <country>$Country</country>
112
                            <county>$pol2</county>
113
                            <matched_place_id>
114
                                <place>
115
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
116
                                    <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
                                        </coordinates>
133
                                    </coordinates_id>
134
                                    <country>$Country</country>
135
                                    <stateprovince>$PolDiv1</stateprovince>
136
                                </place>
137
                            </matched_place_id>
138
                            <stateprovince>$PolDiv1</stateprovince>
139
                        </place>
140
                    </place_id>
141
                </locationplace>
142
                <notespublic>$plot_notes</notespublic>
143
                <slopeaspect_deg><_compass><value>$slope_aspect</value></_compass></slopeaspect_deg>
144
                <slopegradient_fraction>$slope_gradient</slopegradient_fraction>
145
            </location>
146
        </path>
147
    </_simplifyPath>
148
</VegBIEN>
149
Inserted 26 new rows into database
inputs/SALVIAS/plotMetadata_/new_terms.csv
1
SiteCode,plotName,,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
2
MajorGeo,continent,,
3
PolDiv1,stateProvince,,Brad: No; pol1=stateProvince
4
pol2,county,,Brad: No pol2=countyParish
5
LatDec,decimalLatitude,,
6
LongDec,decimalLongitude,,
7
Elev,elevationInMeters,,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.
8
elev_max_m,maximumElevationInMeters,,
9
elev_min_m,minimumElevationInMeters,,
10
Precip,precipitation,,
11
Temp,temperature,,
12
soil_N,nitrogen_percent,,Assuming units are % based on the range of values
13
soil_P,phosphorus_percent,"/_map:[""<1,5""=0,*=*]/value",Assuming units are % based on the range of values
14
soil_C,carbon_percent,,Assuming units are % based on the range of values
15
soil_K,potassium_percent,,Assuming units are % based on the range of values
16
soil_Mg,magnesium_percent,,Assuming units are % based on the range of values
17
soil_Ca,calcium_percent,,Assuming units are % based on the range of values
18
soil_Na,sodium_percent,,Assuming units are % based on the range of values
19
soil_acidity,acidity_percent,"/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
20
soil_base,baseSaturation_percent,,Assuming units are % based on the range of values
21
soil_cation_cap,cationExchangeCapacity_cmol_kg,,
22
soil_conductivity,conductivity,,
23
soil_texture,texture,,
24
Locality_Description,locality,,"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"
25
life_zone_code,communityID,,
26
life_zone,communityName,,
27
PlotMethod,samplingProtocol,,
28
date_start,startDate,,
29
date_finish,endDate,,

Also available in: Unified diff