Project

General

Profile

« Previous | Next » 

Revision 198

mappings: Added mappings to VegBIEN

View differences:

mappings/join_all_vegbank
1
#!/bin/bash
2
# Joins all *-VegX.csv to VegX-VegBank.csv
3

  
4
selfDir="$(dirname -- "$0")"
5
cd "$selfDir"
6

  
7
for map in *-VegX.*.csv; do
8
    type="${map%.*}" # remove extension
9
    type="${type#*.}" # remove up to last "."
10
    ../scripts/util/join <"$map" "VegX-VegBank.$type.csv"|\
11
    ../scripts/util/sort 1 0 >"${map/VegX/VegBank}" # sort on output col
12
done
13 0

  
mappings/SALVIAS_db-VegBIEN.organisms.csv
1
SALVIAS:plotObservations,VegBIEN:/taxonObservation,Comments
2
census_date,/*_ID/plotevent/obsStartDate/_date/year,
3
PlotCode,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}","Brad: Same as plotCode, above"
4
NoInd,/taxonImportance/*/stemCount,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
5
cover_percent,/taxonImportance/cover,
6
intercept_cm,"/taxonImportance/definedValue[*_ID/userDefined[tableName=taxonImportance,userDefinedName=interceptCm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
7
temp_dbh,/taxonImportance/stemCount/stemDiameter,
8
height_m,/taxonImportance/stemCount/stemHeight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
9
ht_first_branch_m,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=heightFirstBranchM]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
tag1,/taxonImportance/stemCount/stemLocation/stemCode,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
11
tag2,/taxonImportance/stemCount/stemLocation/stemCode,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
12
x_position,/taxonImportance/stemCount/stemLocation/stemXPosition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
13
y_position,/taxonImportance/stemCount/stemLocation/stemYPosition,Brad: See comment above for x_position
14
coll_number,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collectionNumber,Brad: Incorrect. Map instead as for voucher_string
15
coll_firstname,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID/party/{givenName/_namePart/first,middleName/_namePart/last}",Brad: See comment above
16
coll_lastname,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID/party/{surName},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
17
census_no,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=censusNo]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
18
cfaff,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=cfAff]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
19
DetType,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=determinationType]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
20
Habit,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=habit]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
21
Ind,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=individualCode]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
22
Notes,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/notes,
23
Family,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Family]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
24
Genus,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Genus]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
25
auth,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Species]/*_ID/plantConcept/*_ID/plantName/reference_ID/reference/shortName",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
26
Species,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Species]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
27
infra_rank_1,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/first",
28
infra_ep_1,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/last",
29
OrigFamily,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Family]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",Brad: OMIT
30
PlotObsID,"/{taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=false,interpretationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
31
OrigSpecies,"/{taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName,taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT
mappings/join
1
#!/bin/bash
2
# Joins all *-$1.csv to $1-$2.csv
3

  
4
selfDir="$(dirname -- "$0")"
5
cd "$selfDir"
6

  
7
test "$#" -eq 2 || { echo "Usage: $0 from to" >&2; exit 2;}
8

  
9
for map in *-$1.*.csv; do
10
    type="${map%.*}" # remove extension
11
    type="${type#*.}" # remove up to last "."
12
    ../scripts/util/join <"$map" "$1-$2.$type.csv"|\
13
    ../scripts/util/sort 1 0 >"${map/$1/$2}" # sort on output col
14
done
0 15

  
mappings/NYBG-VegBIEN.organisms.csv
1
NYBG,VegBIEN:/taxonObservation,Comments
2
BoundingBox,/*_ID/plotevent/*_ID/plot/dsgpoly,
3
CoordinatePrecision,/*_ID/plotevent/*_ID/plot/locationAccuracy,
4
Country,"/*_ID/plotevent/*_ID/plot/place(/*_ID/namedPlace[placeSystem=""area|country|territory""])/placeName",Brad: Required; reject record if this field NULL
5
StateProvince,"/*_ID/plotevent/*_ID/plot/place(/*_ID/namedPlace[placeSystem=""region|state|province""])/placeName",
6
County,/*_ID/plotevent/*_ID/plot/place(/*_ID/namedPlace[placeSystem=county])/placeName,
7
Locality,/*_ID/plotevent/*_ID/plot/place/*_ID/namedPlace/placeDescription,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one."
8
Latitude,/*_ID/plotevent/*_ID/plot/realLatitude,
9
Longitude,/*_ID/plotevent/*_ID/plot/realLongitude,
10
MaximumElevation,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}",
11
MinimumElevation,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}",
12
DayCollected,/*_ID/plotevent/obsStartDate/_date/day,
13
MonthCollected,/*_ID/plotevent/obsStartDate/_date/month,
14
YearCollected,/*_ID/plotevent/obsStartDate/_date/year,
15
MaximumDepth,/*_ID/plotevent/waterDepth/max,
16
MinimumDepth,/*_ID/plotevent/waterDepth/min,
17
:1,/taxonImportance/*/stemCount,
18
Habitat,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=habitat]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
19
PlantFungusDescription,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=plantFungusDescription]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect mapping to VB, also possibly to VX;  this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?"
20
Substrate,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=substrate]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?"
21
Vegetation,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=vegetation]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Habitat'. Bob, Nick: keep as user defined or create special element?"
22
FieldNumber,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collectionNumber,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?"
23
Collector,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID/party/{givenName/_namePart/first,middleName/_namePart/middle,surName/_namePart/last}",Brad: Correct for VB. Nick: is there a way to specifically identify this party as collector of a specimen?
24
Sex,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=sex]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
25
InstitutionCode,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/museum_ID/party/OrganizationName/_name/first,
26
CollectionCode,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/museum_ID/party/OrganizationName/_name/last,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
27
Notes,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/notes,"Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
28
DayIdentified,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,!*_ID/plantConcept/plantStatus]/interpretationDate/_date/day",
29
MonthIdentified,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,!*_ID/plantConcept/plantStatus]/interpretationDate/_date/month",
30
YearIdentified,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,!*_ID/plantConcept/plantStatus]/interpretationDate/_date/year",
31
IdentifiedBy,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,!*_ID/plantConcept/plantStatus]:[interpretationType=Author,originalInterpretation=false,currentInterpretation=true]/*_ID/party/{givenName/_namePart/first,middleName/_namePart/middle,surName/_namePart/last}",Brad: Bob: does this look correct for VegBank?
32
Class,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Class]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
33
Family,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Family]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
34
Genus,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Genus]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
35
Kingdom,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Kingdom]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
36
Order,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Order]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
37
ScientificNameAuthor,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]/*_ID/plantConcept/*_ID/reference/referenceContributor/*_ID/referenceParty/{givenName,surname}","Brad: Mapping probably incorrect. This DwC element refers to scientific name author; does not correspond to the VegBank and VegX elements you have listed (Bob, Nick�where does name author belong in VegBank and VegX?); Aaron: The mapped VegX element is the author linked to the taxon name, so it seems like this is the scientific name author"
38
Phylum,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Subkingdom]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
39
Subspecies,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
40
UniqueNYInternalRecordNumber,"/{taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=false,interpretationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
41
ScientificName,"/{taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,!*_ID/plantConcept/plantStatus]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[*_ID/reference]/*_ID/*/plantName,taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept:[*_ID/reference]/*_ID/*/plantName/_alt/1}","Brad: Bob, Nick, please is this mapping OK?"
42
Species,"/{taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName,taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",
mappings/for_review/SALVIAS_db-VegBIEN.organisms.csv
1
SALVIAS:plotObservations,VegBIEN:/taxonObservation,Comments
2
census_date,//plotevent/obsStartDate/_date/year,
3
PlotCode,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}","Brad: Same as plotCode, above"
4
NoInd,//*/stemCount,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
5
cover_percent,//taxonImportance/cover,
6
intercept_cm,"//taxonImportance/definedValue[*_ID/userDefined[tableName=taxonImportance,userDefinedName=interceptCm]]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
7
temp_dbh,//stemCount/stemDiameter,
8
height_m,//stemCount/stemHeight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
9
ht_first_branch_m,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=heightFirstBranchM]]/definedValue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
tag1,//stemLocation/stemCode,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
11
tag2,//stemLocation/stemCode,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
12
x_position,//stemLocation/stemXPosition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
13
y_position,//stemLocation/stemYPosition,Brad: See comment above for x_position
14
coll_number,/taxonInterpretation[roleCode=collector]/collectionNumber,Brad: Incorrect. Map instead as for voucher_string
15
coll_firstname,"/taxonInterpretation[roleCode=collector]/collector_ID/party/{givenName/_namePart/first,middleName/_namePart/last}",Brad: See comment above
16
coll_lastname,/taxonInterpretation[roleCode=collector]/collector_ID/party/{surName},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
17
census_no,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=censusNo]]/definedValue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
18
cfaff,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=cfAff]]/definedValue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
19
DetType,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=determinationType]]/definedValue","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
20
Habit,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=habit]]/definedValue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
21
Ind,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=individualCode]]/definedValue","Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
22
Notes,/taxonInterpretation[roleCode=collector]/notes,
23
Family,"/taxonInterpretation[roleCode=computer,plantLevel=Family]/*_ID/plantConcept/*_ID/*/plantName",
24
Genus,"/taxonInterpretation[roleCode=computer,plantLevel=Genus]/*_ID/plantConcept/*_ID/*/plantName",
25
auth,"/taxonInterpretation[roleCode=computer,plantLevel=Species]/*_ID/plantConcept/*_ID/plantName/reference_ID/reference/shortName",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
26
Species,"/taxonInterpretation[roleCode=computer,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName",
27
infra_rank_1,"/taxonInterpretation[roleCode=computer,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName/_name/first",
28
infra_ep_1,"/taxonInterpretation[roleCode=computer,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName/_name/last",
29
OrigFamily,"/taxonInterpretation[roleCode=identifier,plantLevel=Family]/*_ID/plantConcept/*_ID/*/plantName",Brad: OMIT
30
PlotObsID,"/{taxonInterpretation[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
31
OrigSpecies,"/{taxonInterpretation[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName,taxonInterpretation[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT
mappings/for_review/NYBG-VegBIEN.organisms.csv
1
NYBG,VegBIEN:/taxonObservation,Comments
2
BoundingBox,//plot/dsgpoly,
3
CoordinatePrecision,//plot/locationAccuracy,
4
Country,"//*_ID/namedPlace[placeSystem=""area|country|territory""]/placeName",Brad: Required; reject record if this field NULL
5
StateProvince,"//*_ID/namedPlace[placeSystem=""region|state|province""]/placeName",
6
County,//*_ID/namedPlace[placeSystem=county]/placeName,
7
Locality,//namedPlace/placeDescription,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one."
8
Latitude,//plot/realLatitude,
9
Longitude,//plot/realLongitude,
10
MaximumElevation,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}",
11
MinimumElevation,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}",
12
DayCollected,//plotevent/obsStartDate/_date/day,
13
MonthCollected,//plotevent/obsStartDate/_date/month,
14
YearCollected,//plotevent/obsStartDate/_date/year,
15
MaximumDepth,//waterDepth/max,
16
MinimumDepth,//waterDepth/min,
17
:1,//*/stemCount,
18
Habitat,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=habitat]]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
19
PlantFungusDescription,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=plantFungusDescription]]/definedValue","Brad: Incorrect mapping to VB, also possibly to VX;  this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?"
20
Substrate,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=substrate]]/definedValue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?"
21
Vegetation,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=vegetation]]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Habitat'. Bob, Nick: keep as user defined or create special element?"
22
FieldNumber,/taxonInterpretation[roleCode=collector]/collectionNumber,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?"
23
Collector,"/taxonInterpretation[roleCode=collector]/collector_ID/party/{givenName/_namePart/first,middleName/_namePart/middle,surName/_namePart/last}",Brad: Correct for VB. Nick: is there a way to specifically identify this party as collector of a specimen?
24
Sex,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=sex]]/definedValue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
25
InstitutionCode,/taxonInterpretation[roleCode=collector]/museum_ID/party/OrganizationName/_name/first,
26
CollectionCode,/taxonInterpretation[roleCode=collector]/museum_ID/party/OrganizationName/_name/last,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
27
Notes,/taxonInterpretation[roleCode=collector]/notes,"Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
28
DayIdentified,/taxonInterpretation[roleCode=identifier]/interpretationDate/_date/day,
29
MonthIdentified,/taxonInterpretation[roleCode=identifier]/interpretationDate/_date/month,
30
YearIdentified,/taxonInterpretation[roleCode=identifier]/interpretationDate/_date/year,
31
IdentifiedBy,"/taxonInterpretation[roleCode=identifier]/*_ID/party/{givenName/_namePart/first,middleName/_namePart/middle,surName/_namePart/last}",Brad: Bob: does this look correct for VegBank?
32
Class,"/taxonInterpretation[roleCode=identifier,plantLevel=Class]/*_ID/plantConcept/*_ID/*/plantName",
33
Family,"/taxonInterpretation[roleCode=identifier,plantLevel=Family]/*_ID/plantConcept/*_ID/*/plantName",
34
Genus,"/taxonInterpretation[roleCode=identifier,plantLevel=Genus]/*_ID/plantConcept/*_ID/*/plantName",
35
Kingdom,"/taxonInterpretation[roleCode=identifier,plantLevel=Kingdom]/*_ID/plantConcept/*_ID/*/plantName",
36
Order,"/taxonInterpretation[roleCode=identifier,plantLevel=Order]/*_ID/plantConcept/*_ID/*/plantName",
37
ScientificNameAuthor,"/taxonInterpretation[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/reference/referenceContributor/*_ID/referenceParty/{givenName,surname}","Brad: Mapping probably incorrect. This DwC element refers to scientific name author; does not correspond to the VegBank and VegX elements you have listed (Bob, Nick�where does name author belong in VegBank and VegX?); Aaron: The mapped VegX element is the author linked to the taxon name, so it seems like this is the scientific name author"
38
Phylum,"/taxonInterpretation[roleCode=identifier,plantLevel=Subkingdom]/*_ID/plantConcept/*_ID/*/plantName",
39
Subspecies,"/taxonInterpretation[roleCode=identifier,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName",
40
UniqueNYInternalRecordNumber,"/{taxonInterpretation[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
41
ScientificName,"/{taxonInterpretation[roleCode=identifier]/*_ID/plantConcept/*_ID/*/plantName,taxonInterpretation[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/1}","Brad: Bob, Nick, please is this mapping OK?"
42
Species,"/{taxonInterpretation[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName,taxonInterpretation[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",
mappings/for_review/SALVIAS-VegBIEN.plots.csv
1
SALVIAS,VegBIEN:/plotevent,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_m,//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
pol1,"//*_ID/namedPlace[placeSystem=""region|state|province""]/placeName",Brad: No; pol1=stateProvince
6
major_geo,//*_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
lat_decimal,//plot/realLatitude,
10
long_decimal,//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,//project/projectName,
16
life_zone_code,//*/commName,
17
holdridge_life_zone,//commConcept/commDescription,
18
precip_mm,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=precipitationMm]]/definedValue",
19
temp_c,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=temperatureC]]/definedValue",
20
plot_methodology,/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
plot_code,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
mappings/for_review/SALVIAS-VegBIEN.organisms.csv
1
SALVIAS,VegBIEN:/taxonObservation,Comments
2
plot_code,//plot/authorPlotCode/_alt/1,"Brad: Same as plotCode, above"
3
census_date,//plotevent/obsStartDate/_date/year,
4
subplot,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}",
5
no_of_individuals,//*/stemCount,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
6
cover_percent,//taxonImportance/cover,
7
intercept_cm,"//taxonImportance/definedValue[*_ID/userDefined[tableName=taxonImportance,userDefinedName=interceptCm]]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
8
stem_dbh,//stemCount/stemDiameter,
9
height_m,//stemCount/stemHeight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
stem_height_m,//stemCount/stemHeight,"Brad: Same as for height, but applies to individuals stems, not trees. Rare."
11
ht_first_branch_m,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=heightFirstBranchM]]/definedValue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
12
basal_diam,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemBasalDiameter]]/definedValue",
13
stem_canopy_form,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemCanopyForm]]/definedValue",Brad: Should also be userDefined for VegBank. 
14
stem_canopy_position,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemCanopyPosition]]/definedValue",Brad: Should also be userDefined for VegBank. 
15
stem_height_first_branch_m,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemHeightFirstBranchM]]/definedValue","Brad: Should also be userDefined for VegBank. Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
16
stem_liana_infestation,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemLianaInfestation]]/definedValue",Brad: Should also be userDefined for VegBank. 
17
stem_tag1,//stemLocation/stemCode,"Brad: Same as tag1 & tag2, but applied to individual stems. I'm still not clear how to distinguish between methods which tag only individuals trees, and those which tag individual stems."
18
stem_tag2,//stemLocation/stemCode,Brad: see above
19
tag1,//stemLocation/stemCode,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
20
tag2,//stemLocation/stemCode,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
21
x_position,//stemLocation/stemXPosition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
22
y_position,//stemLocation/stemYPosition,Brad: See comment above for x_position
23
coll_number,/taxonInterpretation[roleCode=collector]/collectionNumber,Brad: Incorrect. Map instead as for voucher_string
24
coll_firstname,"/taxonInterpretation[roleCode=collector]/collector_ID/party/{givenName/_namePart/first,middleName/_namePart/last}",Brad: See comment above
25
coll_lastname,/taxonInterpretation[roleCode=collector]/collector_ID/party/{surName},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
26
census_no,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=censusNo]]/definedValue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
27
cf_aff,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=cfAff]]/definedValue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
28
det_type,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=determinationType]]/definedValue","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
29
habit,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=habit]]/definedValue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
30
individual_code,"/taxonInterpretation[roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=individualCode]]/definedValue","Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
31
notes,/taxonInterpretation[roleCode=collector]/notes,
32
family,"/taxonInterpretation[roleCode=computer,plantLevel=Family]/*_ID/plantConcept/*_ID/*/plantName",
33
genus,"/taxonInterpretation[roleCode=computer,plantLevel=Genus]/*_ID/plantConcept/*_ID/*/plantName",
34
specific_authority,"/taxonInterpretation[roleCode=computer,plantLevel=Species]/*_ID/plantConcept/*_ID/plantName/reference_ID/reference/shortName",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
35
specific_epithet,"/taxonInterpretation[roleCode=computer,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName",
36
infra_rank_1,"/taxonInterpretation[roleCode=computer,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName/_name/first",
37
infra_ep_1,"/taxonInterpretation[roleCode=computer,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName/_name/last",
38
orig_family,"/taxonInterpretation[roleCode=identifier,plantLevel=Family]/*_ID/plantConcept/*_ID/*/plantName",Brad: OMIT
39
OBSERVATION_ID,"/{taxonInterpretation[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
40
orig_species,"/{taxonInterpretation[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName,taxonInterpretation[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT
mappings/for_review/SALVIAS_db-VegBIEN.plots.csv
1
SALVIAS:plotMetadata,VegBIEN:/plotevent,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-VegBIEN.plots.csv
1
SALVIAS,VegBIEN:/plotevent,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_m,/*_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
pol1,"/*_ID/plot/place(/*_ID/namedPlace[placeSystem=""region|state|province""])/placeName",Brad: No; pol1=stateProvince
6
major_geo,/*_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
lat_decimal,/*_ID/plot/realLatitude,
10
long_decimal,/*_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/project/projectName,
16
life_zone_code,/commClass/commInterpretation/*_ID/commConcept/*_ID/*/commName,
17
holdridge_life_zone,/commClass/commInterpretation/*_ID/commConcept/commDescription,
18
precip_mm,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=precipitationMm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
19
temp_c,"/definedValue[*_ID/userDefined[tableName=observation,userDefinedName=temperatureC]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
20
plot_methodology,/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
plot_code,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
mappings/SALVIAS-VegBIEN.organisms.csv
1
SALVIAS,VegBIEN:/taxonObservation,Comments
2
plot_code,/*_ID/plotevent/*_ID/plot/PARENT_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/1,"Brad: Same as plotCode, above"
3
census_date,/*_ID/plotevent/obsStartDate/_date/year,
4
subplot,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}",
5
no_of_individuals,/taxonImportance/*/stemCount,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this."
6
cover_percent,/taxonImportance/cover,
7
intercept_cm,"/taxonImportance/definedValue[*_ID/userDefined[tableName=taxonImportance,userDefinedName=interceptCm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
8
stem_dbh,/taxonImportance/stemCount/stemDiameter,
9
height_m,/taxonImportance/stemCount/stemHeight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
10
stem_height_m,/taxonImportance/stemCount/stemHeight,"Brad: Same as for height, but applies to individuals stems, not trees. Rare."
11
ht_first_branch_m,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=heightFirstBranchM]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob
12
basal_diam,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemBasalDiameter]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",
13
stem_canopy_form,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemCanopyForm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",Brad: Should also be userDefined for VegBank. 
14
stem_canopy_position,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemCanopyPosition]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",Brad: Should also be userDefined for VegBank. 
15
stem_height_first_branch_m,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemHeightFirstBranchM]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Should also be userDefined for VegBank. Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
16
stem_liana_infestation,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=stemLianaInfestation]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue",Brad: Should also be userDefined for VegBank. 
17
stem_tag1,/taxonImportance/stemCount/stemLocation/stemCode,"Brad: Same as tag1 & tag2, but applied to individual stems. I'm still not clear how to distinguish between methods which tag only individuals trees, and those which tag individual stems."
18
stem_tag2,/taxonImportance/stemCount/stemLocation/stemCode,Brad: see above
19
tag1,/taxonImportance/stemCount/stemLocation/stemCode,"Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
20
tag2,/taxonImportance/stemCount/stemLocation/stemCode,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
21
x_position,/taxonImportance/stemCount/stemLocation/stemXPosition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
22
y_position,/taxonImportance/stemCount/stemLocation/stemYPosition,Brad: See comment above for x_position
23
coll_number,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collectionNumber,Brad: Incorrect. Map instead as for voucher_string
24
coll_firstname,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID/party/{givenName/_namePart/first,middleName/_namePart/last}",Brad: See comment above
25
coll_lastname,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID/party/{surName},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
26
census_no,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=censusNo]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
27
cf_aff,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=cfAff]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
28
det_type,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=determinationType]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
29
habit,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=habit]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
30
individual_code,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[*_ID/userDefined[tableName=taxonInterpretation,userDefinedName=individualCode]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
31
notes,/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/notes,
32
family,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Family]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
33
genus,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Genus]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
34
specific_authority,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Species]/*_ID/plantConcept/*_ID/plantName/reference_ID/reference/shortName",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
35
specific_epithet,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Species]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",
36
infra_rank_1,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/first",
37
infra_ep_1,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/last",
38
orig_family,"/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Family]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",Brad: OMIT
39
OBSERVATION_ID,"/{taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=false,interpretationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
40
orig_species,"/{taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName,taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT
mappings/Makefile
1 1
all: FORCE VegX-VegBIEN.organisms.csv
2 2
	$(MAKE) plots
3
	./join_all_vegbank
3
	./join VegX VegBank
4
	./join VegX VegBIEN
4 5
	./format_all_for_review
5 6

  
6 7
FORCE:
......
11 12
clean: FORCE
12 13
	$(RM) $(all)
13 14

  
15

  
14 16
VegX-VegBIEN.organisms.csv: \
15 17
VegX-VegBank.organisms.csv \
16 18
VegBank-VegBIEN.organisms.csv
17 19
	../scripts/util/join_passthru $+|../scripts/util/sort 1 0 >$@
18 20

  
21

  
19 22
plots: $(subst .organisms.,.plots.,$(wildcard VegX-*.organisms.csv))
20 23

  
21 24
chRoot = ../scripts/util/ch_root <$< >$@
mappings/SALVIAS_db-VegBIEN.plots.csv
1
SALVIAS:plotMetadata,VegBIEN:/plotevent,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