Project

General

Profile

« Previous | Next » 

Revision 4759

mappings/VegCore-VegBIEN.csv: coverPercent: Convert to fraction using _pct_to_frac()

View differences:

inputs/SALVIAS-CSV/Organism/VegBIEN.csv
29 29
HAVING count(DISTINCT census_date) > 1
30 30
-----"
31 31
no_of_individuals,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"Brad: 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."
32
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac,
32
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value,
33 33
census_no,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@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."
34 34
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover_m,"Brad: 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."
35 35
individual_code,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber,"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."
inputs/SALVIAS-CSV/Organism/test.xml.ref
17 17
                    <taxonoccurrence>
18 18
                        <aggregateoccurrence>
19 19
                            <count>$no_of_individuals</count>
20
                            <cover_frac>$cover_percent</cover_frac>
20
                            <cover_frac><_pct_to_frac><value>$cover_percent</value></_pct_to_frac></cover_frac>
21 21
                            <definedvalue fkey="tablerecord_id">
22 22
                                <userdefined_id>
23 23
                                    <userdefined>
inputs/CVS/Organism/VegBIEN.csv
7 7
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/2",
8 8
authorObsCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/authorlocationcode",
9 9
obsStartDate,/location/locationevent/obsstartdate/_*/date/_alt/1,
10
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac,
10
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value,
11 11
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/3,
12 12
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/scientificname,
13 13
county,/location/locationplace/*_id/placepath/county,
inputs/CVS/Organism/test.xml.ref
26 26
                    <authoreventcode>$authorObsCode</authoreventcode>
27 27
                    <obsstartdate><_date><date>$obsStartDate</date></_date></obsstartdate>
28 28
                    <taxonoccurrence>
29
                        <aggregateoccurrence><cover_frac>$%cover</cover_frac></aggregateoccurrence>
29
                        <aggregateoccurrence><cover_frac><_pct_to_frac><value>$%cover</value></_pct_to_frac></cover_frac></aggregateoccurrence>
30 30
                        <authortaxoncode>$currentTaxonName sec Weakley 2006</authortaxoncode>
31 31
                        <taxondetermination><taxonpath_id><taxonpath><scientificname>$currentTaxonName sec Weakley 2006</scientificname></taxonpath></taxonpath_id></taxondetermination>
32 32
                    </taxonoccurrence>
inputs/SALVIAS/plotObservations/VegBIEN.csv
29 29
HAVING count(DISTINCT census_date) > 1
30 30
-----"
31 31
NoInd,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"Brad: 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."
32
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac,
32
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value,
33 33
census_no,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@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."
34 34
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover_m,"Brad: 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."
35 35
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
inputs/SALVIAS/plotObservations/test.xml.ref
17 17
                    <taxonoccurrence>
18 18
                        <aggregateoccurrence>
19 19
                            <count>$NoInd</count>
20
                            <cover_frac>$cover_percent</cover_frac>
20
                            <cover_frac><_pct_to_frac><value>$cover_percent</value></_pct_to_frac></cover_frac>
21 21
                            <definedvalue fkey="tablerecord_id">
22 22
                                <userdefined_id>
23 23
                                    <userdefined>
mappings/VegCore-VegBIEN.csv
71 71
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
72 72
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
73 73
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
74
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac,
74
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_frac/_pct_to_frac/value,
75 75
censusNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue",
76 76
volumeCanopy,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover_m,
77 77
fieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,

Also available in: Unified diff