Revision 3994
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/Madidi/test/import.plots.xml.ref | ||
---|---|---|
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 | 4 |
<area>$Area</area> |
5 |
<authorlocationcode><_merge><2>$Inventory name</2></_merge></authorlocationcode>
|
|
5 |
<authorlocationcode>$Inventory name</authorlocationcode>
|
|
6 | 6 |
<elevation> |
7 | 7 |
<_alt> |
8 | 8 |
<1> |
... | ... | |
163 | 163 |
</_compass> |
164 | 164 |
</slopeaspect> |
165 | 165 |
<slopegradient>$Slope</slopegradient> |
166 |
<sourceaccessioncode> |
|
167 |
<_alt> |
|
168 |
<1>$Inventory code</1> |
|
169 |
<2><_merge><2>$Inventory name</2></_merge></2> |
|
170 |
</_alt> |
|
171 |
</sourceaccessioncode> |
|
166 |
<sourceaccessioncode>$Inventory code</sourceaccessioncode> |
|
172 | 167 |
</location> |
173 | 168 |
</VegBIEN> |
174 | 169 |
Inserted 19 new rows into database |
inputs/Madidi/maps/VegBIEN.plots.csv | ||
---|---|---|
1 | 1 |
Madidi,VegBIEN:,Comments |
2 | 2 |
Area,/location/area, |
3 |
Inventory name,/location/authorlocationcode/_merge/2,
|
|
3 |
Inventory name,/location/authorlocationcode, |
|
4 | 4 |
Altitude,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
5 | 5 |
Minimum altitude,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
6 | 6 |
Minimum altitude,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
... | ... | |
38 | 38 |
Direction,/location/slopeaspect/_compass/value/_alt/1,Part files provide either this field or Direction |
39 | 39 |
OrientaciĆ³n/exposicion,/location/slopeaspect/_compass/value/_alt/2,Part files provide either this field or OrientaciĆ³n |
40 | 40 |
Slope,/location/slopegradient, |
41 |
Inventory code,/location/sourceaccessioncode/_alt/1, |
|
42 |
Inventory name,/location/sourceaccessioncode/_alt/2/_merge/2, |
|
41 |
Inventory code,/location/sourceaccessioncode, |
|
43 | 42 |
Collaborators,,"Need a way to store a verbatim list of people, or a function to parse it and insert it iteratively into party" |
44 | 43 |
Coordinates,,Concatenation of Latitude (DMS) and Longitude (DMS) |
45 | 44 |
Installed and evaluated by,,"Need a way to store a verbatim list of people, or a function to parse it and insert it iteratively into party" |
inputs/CVS/test/import.organisms.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<authorlocationcode><_merge><2>$authorObsCode</2></_merge></authorlocationcode>
|
|
4 |
<authorlocationcode>$authorObsCode</authorlocationcode>
|
|
5 | 5 |
<locationdetermination> |
6 | 6 |
<coordsaccuracy><_noCV><value><_alt><1>$locationAccuracy-m</1></_alt></value></_noCV></coordsaccuracy> |
7 | 7 |
<latitude> |
... | ... | |
83 | 83 |
</taxondetermination> |
84 | 84 |
</taxonoccurrence> |
85 | 85 |
</locationevent> |
86 |
<sourceaccessioncode><_alt><2><_merge><2>$authorObsCode</2></_merge></2></_alt></sourceaccessioncode> |
|
87 | 86 |
</location> |
88 | 87 |
</VegBIEN> |
89 | 88 |
Inserted 17 new rows into database |
inputs/CVS/maps/VegBIEN.organisms.csv | ||
---|---|---|
1 | 1 |
CVS,VegBIEN:,Comments |
2 |
authorObsCode,/location/authorlocationcode/_merge/2,
|
|
2 |
authorObsCode,/location/authorlocationcode, |
|
3 | 3 |
locationAccuracy-m,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1, |
4 | 4 |
realLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value/_alt/1", |
5 | 5 |
publicLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value/_alt/2", |
... | ... | |
12 | 12 |
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
13 | 13 |
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3, |
14 | 14 |
currentTaxonName sec Weakley 2006,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname", |
15 |
authorObsCode,/location/sourceaccessioncode/_alt/2/_merge/2, |
|
16 | 15 |
confidentialityStatus,,** No input mapping for confidentialityStatus ** |
inputs/SALVIAS-CSV/test/import.plots.xml.ref | ||
---|---|---|
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 | 4 |
<area>$plot_area_ha</area> |
5 |
<authorlocationcode><_merge><2>$plot_code</2></_merge></authorlocationcode>
|
|
5 |
<authorlocationcode>$plot_code</authorlocationcode>
|
|
6 | 6 |
<elevation> |
7 | 7 |
<_alt> |
8 | 8 |
<1> |
... | ... | |
281 | 281 |
<locationnarrative><_merge><1>$locality_description</1></_merge></locationnarrative> |
282 | 282 |
<slopeaspect><_compass><value>$slope_aspect</value></_compass></slopeaspect> |
283 | 283 |
<slopegradient>$slope_gradient</slopegradient> |
284 |
<sourceaccessioncode> |
|
285 |
<_alt> |
|
286 |
<1>$PLOT_ID</1> |
|
287 |
<2><_merge><2>$plot_code</2></_merge></2> |
|
288 |
</_alt> |
|
289 |
</sourceaccessioncode> |
|
284 |
<sourceaccessioncode>$PLOT_ID</sourceaccessioncode> |
|
290 | 285 |
</location> |
291 | 286 |
</VegBIEN> |
292 | 287 |
Inserted 16 new rows into database |
inputs/SALVIAS-CSV/test/import.organisms.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<authorlocationcode> |
|
5 |
<_merge> |
|
6 |
<1>$plot_code</1> |
|
7 |
<2>$subplot</2> |
|
8 |
</_merge> |
|
9 |
</authorlocationcode> |
|
4 |
<authorlocationcode>$subplot</authorlocationcode> |
|
10 | 5 |
<locationevent> |
11 | 6 |
<authoreventcode>$subplot</authoreventcode> |
12 | 7 |
<obsstartdate><_date><date><_dateRangeStart><value><_date><year>$census_date</year></_date></value></_dateRangeStart></date></_date></obsstartdate> |
13 |
<parent_id> |
|
14 |
<locationevent> |
|
15 |
<location_id> |
|
16 |
<location> |
|
17 |
<sourceaccessioncode> |
|
18 |
<_alt> |
|
19 |
<1>$PLOT_ID</1> |
|
20 |
<2>$plot_code</2> |
|
21 |
</_alt> |
|
22 |
</sourceaccessioncode> |
|
23 |
</location> |
|
24 |
</location_id> |
|
25 |
<authoreventcode>$plot_code</authoreventcode> |
|
26 |
<sourceaccessioncode>$PLOT_ID</sourceaccessioncode> |
|
27 |
</locationevent> |
|
28 |
</parent_id> |
|
29 | 8 |
<taxonoccurrence> |
30 | 9 |
<aggregateoccurrence> |
31 | 10 |
<count>$no_of_individuals</count> |
... | ... | |
298 | 277 |
</voucher> |
299 | 278 |
</taxonoccurrence> |
300 | 279 |
</locationevent> |
301 |
<sourceaccessioncode> |
|
302 |
<_alt> |
|
303 |
<2> |
|
304 |
<_merge> |
|
305 |
<1> |
|
306 |
<_alt> |
|
307 |
<1>$PLOT_ID</1> |
|
308 |
<2>$plot_code</2> |
|
309 |
</_alt> |
|
310 |
</1> |
|
311 |
<2>$subplot</2> |
|
312 |
</_merge> |
|
313 |
</2> |
|
314 |
</_alt> |
|
315 |
</sourceaccessioncode> |
|
280 |
<parent_id> |
|
281 |
<location> |
|
282 |
<authorlocationcode>$plot_code</authorlocationcode> |
|
283 |
<sourceaccessioncode>$PLOT_ID</sourceaccessioncode> |
|
284 |
</location> |
|
285 |
</parent_id> |
|
316 | 286 |
</location> |
317 | 287 |
</VegBIEN> |
318 |
Inserted 54 new rows into database |
|
288 |
Inserted 53 new rows into database |
inputs/SALVIAS-CSV/maps/VegBIEN.plots.csv | ||
---|---|---|
1 | 1 |
SALVIAS-CSV,VegBIEN:,Comments |
2 | 2 |
plot_area_ha,/location/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 |
plot_code,/location/authorlocationcode/_merge/2,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
|
|
3 |
plot_code,/location/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
4 | 4 |
elev_m,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",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. |
5 | 5 |
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
6 | 6 |
elev_min_m,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
... | ... | |
43 | 43 |
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" |
44 | 44 |
slope_aspect,/location/slopeaspect/_compass/value, |
45 | 45 |
slope_gradient,/location/slopegradient, |
46 |
PLOT_ID,/location/sourceaccessioncode/_alt/1,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
47 |
plot_code,/location/sourceaccessioncode/_alt/2/_merge/2,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
46 |
PLOT_ID,/location/sourceaccessioncode,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
48 | 47 |
observation_type,,"Brad: SALVIAS internal metadata indicating whether the record represents an individual or aggregate observation. Rather than storing, use to decide where to store in VegX.; Aaron: VegX aggregateOrganismObservation table is missing many fields available in individualOrganismObservation, so we're mapping to individualOrganismObservation regardless of observation type" |
49 | 48 |
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" |
inputs/SALVIAS-CSV/maps/VegBIEN.organisms.csv | ||
---|---|---|
1 | 1 |
SALVIAS-CSV,VegBIEN:,Comments |
2 |
plot_code,/location/authorlocationcode/_merge/1,"Brad: Same as plotCode, above" |
|
3 |
subplot,/location/authorlocationcode/_merge/2, |
|
2 |
subplot,/location/authorlocationcode, |
|
4 | 3 |
subplot,/location/locationevent/authoreventcode, |
5 | 4 |
census_date,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_date/year, |
6 |
PLOT_ID,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
7 |
plot_code,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/2,"Brad: Same as plotCode, above" |
|
8 |
plot_code,/location/locationevent/parent_id/locationevent/authoreventcode,"Brad: Same as plotCode, above" |
|
9 |
PLOT_ID,/location/locationevent/parent_id/locationevent/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
10 | 5 |
no_of_individuals,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"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." |
11 | 6 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
12 | 7 |
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." |
... | ... | |
50 | 45 |
det_type,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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." |
51 | 46 |
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/1",Brad: Incorrect. Map instead as for voucher_string |
52 | 47 |
voucher_string,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
53 |
PLOT_ID,/location/sourceaccessioncode/_alt/2/_merge/1/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
54 |
plot_code,/location/sourceaccessioncode/_alt/2/_merge/1/_alt/2,"Brad: Same as plotCode, above" |
|
55 |
subplot,/location/sourceaccessioncode/_alt/2/_merge/2, |
|
48 |
plot_code,/location/parent_id/location/authorlocationcode,"Brad: Same as plotCode, above" |
|
49 |
PLOT_ID,/location/parent_id/location/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
56 | 50 |
collector_code,,Brad: OMIT |
57 | 51 |
comments,,Brad: OMIT |
58 | 52 |
fam_status,,Brad: OMIT. This will be determined later by using TNRS. |
inputs/SALVIAS/test/import.plots.xml.ref | ||
---|---|---|
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 | 4 |
<area>$plot_area_ha</area> |
5 |
<authorlocationcode><_merge><2>$SiteCode</2></_merge></authorlocationcode>
|
|
5 |
<authorlocationcode>$SiteCode</authorlocationcode>
|
|
6 | 6 |
<elevation> |
7 | 7 |
<_alt> |
8 | 8 |
<1> |
... | ... | |
287 | 287 |
<locationnarrative><_merge><1>$Locality_Description</1></_merge></locationnarrative> |
288 | 288 |
<slopeaspect><_compass><value>$slope_aspect</value></_compass></slopeaspect> |
289 | 289 |
<slopegradient>$slope_gradient</slopegradient> |
290 |
<sourceaccessioncode> |
|
291 |
<_alt> |
|
292 |
<1>$PlotID</1> |
|
293 |
<2><_merge><2>$SiteCode</2></_merge></2> |
|
294 |
</_alt> |
|
295 |
</sourceaccessioncode> |
|
290 |
<sourceaccessioncode>$PlotID</sourceaccessioncode> |
|
296 | 291 |
</location> |
297 | 292 |
</VegBIEN> |
298 | 293 |
Inserted 23 new rows into database |
inputs/SALVIAS/test/import.organisms.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<authorlocationcode> |
|
5 |
<_merge> |
|
6 |
<1>$PlotCode</1> |
|
7 |
<2>$Line</2> |
|
8 |
</_merge> |
|
9 |
</authorlocationcode> |
|
4 |
<authorlocationcode>$Line</authorlocationcode> |
|
10 | 5 |
<locationevent> |
11 | 6 |
<authoreventcode>$Line</authoreventcode> |
12 |
<parent_id> |
|
13 |
<locationevent> |
|
14 |
<location_id> |
|
15 |
<location> |
|
16 |
<sourceaccessioncode> |
|
17 |
<_alt> |
|
18 |
<1>$PlotID</1> |
|
19 |
<2>$PlotCode</2> |
|
20 |
</_alt> |
|
21 |
</sourceaccessioncode> |
|
22 |
</location> |
|
23 |
</location_id> |
|
24 |
<authoreventcode>$PlotCode</authoreventcode> |
|
25 |
<sourceaccessioncode>$PlotID</sourceaccessioncode> |
|
26 |
</locationevent> |
|
27 |
</parent_id> |
|
28 | 7 |
<taxonoccurrence> |
29 | 8 |
<aggregateoccurrence> |
30 | 9 |
<collectiondate><_date><date><_dateRangeStart><value><_date><date>$census_date</date></_date></value></_dateRangeStart></date></_date></collectiondate> |
... | ... | |
279 | 258 |
</voucher> |
280 | 259 |
</taxonoccurrence> |
281 | 260 |
</locationevent> |
282 |
<sourceaccessioncode> |
|
283 |
<_alt> |
|
284 |
<2> |
|
285 |
<_merge> |
|
286 |
<1> |
|
287 |
<_alt> |
|
288 |
<1>$PlotID</1> |
|
289 |
<2>$PlotCode</2> |
|
290 |
</_alt> |
|
291 |
</1> |
|
292 |
<2>$Line</2> |
|
293 |
</_merge> |
|
294 |
</2> |
|
295 |
</_alt> |
|
296 |
</sourceaccessioncode> |
|
261 |
<parent_id> |
|
262 |
<location> |
|
263 |
<authorlocationcode>$PlotCode</authorlocationcode> |
|
264 |
<sourceaccessioncode>$PlotID</sourceaccessioncode> |
|
265 |
</location> |
|
266 |
</parent_id> |
|
297 | 267 |
</location> |
298 | 268 |
</VegBIEN> |
299 | 269 |
Inserted 47 new rows into database |
inputs/SALVIAS/maps/VegBIEN.plots.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:,Comments |
2 | 2 |
plot_area_ha,/location/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 |
SiteCode,/location/authorlocationcode/_merge/2,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
|
|
3 |
SiteCode,/location/authorlocationcode,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
4 | 4 |
Elev,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",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. |
5 | 5 |
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
6 | 6 |
elev_min_m,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
... | ... | |
43 | 43 |
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" |
44 | 44 |
slope_aspect,/location/slopeaspect/_compass/value, |
45 | 45 |
slope_gradient,/location/slopegradient, |
46 |
PlotID,/location/sourceaccessioncode/_alt/1,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
47 |
SiteCode,/location/sourceaccessioncode/_alt/2/_merge/2,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
46 |
PlotID,/location/sourceaccessioncode,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
48 | 47 |
AccessCode,,** No input mapping for AccessCode ** |
49 | 48 |
ElevSource,,** No input mapping for ElevSource ** |
50 | 49 |
Habitat,,** No input mapping for Habitat ** |
inputs/SALVIAS/maps/VegBIEN.organisms.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:,Comments |
2 |
PlotCode,/location/authorlocationcode/_merge/1,"Brad: Same as plotCode, above" |
|
3 |
Line,/location/authorlocationcode/_merge/2, |
|
2 |
Line,/location/authorlocationcode, |
|
4 | 3 |
Line,/location/locationevent/authoreventcode, |
5 |
PlotID,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
6 |
PlotCode,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/2,"Brad: Same as plotCode, above" |
|
7 |
PlotCode,/location/locationevent/parent_id/locationevent/authoreventcode,"Brad: Same as plotCode, above" |
|
8 |
PlotID,/location/locationevent/parent_id/locationevent/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
9 | 4 |
census_date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_*/date, |
10 | 5 |
NoInd,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"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." |
11 | 6 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
... | ... | |
47 | 42 |
DetType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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." |
48 | 43 |
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/1",Brad: Incorrect. Map instead as for voucher_string |
49 | 44 |
SourceVoucher,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
50 |
PlotID,/location/sourceaccessioncode/_alt/2/_merge/1/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
51 |
PlotCode,/location/sourceaccessioncode/_alt/2/_merge/1/_alt/2,"Brad: Same as plotCode, above" |
|
52 |
Line,/location/sourceaccessioncode/_alt/2/_merge/2, |
|
45 |
PlotCode,/location/parent_id/location/authorlocationcode,"Brad: Same as plotCode, above" |
|
46 |
PlotID,/location/parent_id/location/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
53 | 47 |
GenAuth,,** No input mapping for GenAuth ** |
54 | 48 |
IsMorpho,,** No input mapping for IsMorpho ** |
55 | 49 |
OrigAuth,,** No input mapping for OrigAuth ** |
mappings/VegCSV-VegBIEN.specimens.csv | ||
---|---|---|
1 | 1 |
VegCSV[DwC],VegBIEN:,Comments |
2 | 2 |
plotArea,/location/area, |
3 |
parentPlotName,/location/authorlocationcode/_merge/1, |
|
4 |
plotName,/location/authorlocationcode/_merge/2, |
|
3 |
plotName,/location/authorlocationcode, |
|
5 | 4 |
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
6 | 5 |
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
7 | 6 |
minimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
... | ... | |
25 | 24 |
communityName,/location/locationevent/commclass/commdetermination/*_id/commconcept/commdescription, |
26 | 25 |
plotEventEndDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value, |
27 | 26 |
plotEventStartDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value, |
28 |
parentLocationID,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/1, |
|
29 |
parentPlotName,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/2, |
|
30 |
parentPlotName,/location/locationevent/parent_id/locationevent/authoreventcode, |
|
31 |
parentLocationID,/location/locationevent/parent_id/locationevent/sourceaccessioncode, |
|
32 | 27 |
precipitation,/location/locationevent/precipitation, |
33 | 28 |
acidity,/location/locationevent/soilobs/acidity, |
34 | 29 |
baseSaturation,/location/locationevent/soilobs/basesaturation, |
... | ... | |
102 | 97 |
minimumDepthInMeters,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
103 | 98 |
locality,/location/locationnarrative/_merge/1, |
104 | 99 |
plotNotes,/location/notespublic, |
100 |
parentPlotName,/location/parent_id/location/authorlocationcode, |
|
101 |
parentLocationID,/location/parent_id/location/sourceaccessioncode, |
|
105 | 102 |
slopeAspect,/location/slopeaspect/_compass/value, |
106 | 103 |
slopeGradient,/location/slopegradient, |
107 |
locationID,/location/sourceaccessioncode/_alt/1, |
|
108 |
parentLocationID,/location/sourceaccessioncode/_alt/2/_merge/1/_alt/1, |
|
109 |
parentPlotName,/location/sourceaccessioncode/_alt/2/_merge/1/_alt/2, |
|
110 |
plotName,/location/sourceaccessioncode/_alt/2/_merge/2, |
|
104 |
locationID,/location/sourceaccessioncode, |
mappings/for_review/VegCSV-VegBIEN.specimens.csv | ||
---|---|---|
1 | 1 |
VegCSV[DwC],VegBIEN:,Comments |
2 | 2 |
plotArea,//location/area, |
3 |
parentPlotName,//location/authorlocationcode, |
|
4 | 3 |
plotName,//location/authorlocationcode, |
5 | 4 |
verbatimElevation,//location/elevation, |
6 | 5 |
maximumElevationInMeters,//location/elevation, |
... | ... | |
25 | 24 |
communityName,//commconcept/commdescription, |
26 | 25 |
plotEventEndDate,//locationevent/obsenddate/_*/date, |
27 | 26 |
plotEventStartDate,//locationevent/obsstartdate/_*/date, |
28 |
parentLocationID,//location/sourceaccessioncode, |
|
29 |
parentPlotName,//location/sourceaccessioncode, |
|
30 |
parentPlotName,//locationevent/authoreventcode, |
|
31 |
parentLocationID,//locationevent/sourceaccessioncode, |
|
32 | 27 |
precipitation,//locationevent/precipitation, |
33 | 28 |
acidity,//soilobs/acidity, |
34 | 29 |
baseSaturation,//soilobs/basesaturation, |
... | ... | |
102 | 97 |
minimumDepthInMeters,//locationevent/waterdepth, |
103 | 98 |
locality,//location/locationnarrative, |
104 | 99 |
plotNotes,//location/notespublic, |
100 |
parentPlotName,//location/authorlocationcode, |
|
101 |
parentLocationID,//location/sourceaccessioncode, |
|
105 | 102 |
slopeAspect,//location/slopeaspect, |
106 | 103 |
slopeGradient,//location/slopegradient, |
107 | 104 |
locationID,//location/sourceaccessioncode, |
108 |
parentLocationID,//location/sourceaccessioncode, |
|
109 |
parentPlotName,//location/sourceaccessioncode, |
|
110 |
plotName,//location/sourceaccessioncode, |
Also available in: Unified diff
mappings/VegCSV-VegBIEN.specimens.csv: location unique keys: Map to a new parent location for the location, instead of a parent locationevent for the locationevent. This much simpler mapping (which does not require _alt or _merge) is possible now that the necessary unique indexes have been set up.