Project

General

Profile

« Previous | Next » 

Revision 4247

mappings/VegCore-VegBIEN.csv: plotName -> /location/authorlocationcode mapping: When subplot is provided, remove this mapping using _if ... _exists instead of _alt so that a NULL subplot value will not cause the parent plot's name to be used for the subplot name

View differences:

inputs/Madidi/0.plots/VegBIEN.csv
1 1
Madidi,VegBIEN:,Comments
2 2
Area,/location/area,
3
Inventory name,/location/authorlocationcode/_alt/1/_alt/2,
3
Inventory name,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
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",
inputs/SALVIAS-CSV/0.plots/VegBIEN.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/_alt/1/_alt/2,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
3
plot_code,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",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",
inputs/SALVIAS-CSV/1.organisms/VegBIEN.csv
1 1
SALVIAS-CSV,VegBIEN:,Comments
2
subplot,/location/authorlocationcode/_alt/1/_alt/1,
2
subplot,/location/authorlocationcode/_alt/1,
3
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
3 4
det_type,"/location/authorlocationcode/_alt/4/_merge/3/_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."
4 5
coll_number,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string
5 6
voucher_string,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
inputs/SALVIAS/0.plots/VegBIEN.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/_alt/1/_alt/2,Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project)
3
SiteCode,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",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",
inputs/SALVIAS/1.organisms/VegBIEN.csv
1 1
SALVIAS,VegBIEN:,Comments
2
Line,/location/authorlocationcode/_alt/1/_alt/1,
2
Line,/location/authorlocationcode/_alt/1,
3
Line,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
3 4
DetType,"/location/authorlocationcode/_alt/4/_merge/3/_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."
4 5
coll_number,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string
5 6
SourceVoucher,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
mappings/VegCore-VegBIEN.csv
1 1
VegCore[Veg+],VegBIEN:,Comments
2 2
plotArea,/location/area,
3
subplot,/location/authorlocationcode/_alt/1/_alt/1,
4
plotName,/location/authorlocationcode/_alt/1/_alt/2,
3
subplot,/location/authorlocationcode/_alt/1,
4
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
5
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
5 6
fieldNumber,/location/authorlocationcode/_alt/2,
6 7
occurrenceID,/location/authorlocationcode/_alt/3,
7 8
institutionCode,/location/authorlocationcode/_alt/4/_merge/1,
mappings/Veg+-VegBIEN.csv
1 1
Veg+,VegBIEN:,Comments
2 2
PlotArea,/location/area,
3 3
plotArea,/location/area,
4
Subplot,/location/authorlocationcode/_alt/1/_alt/1,
5
subplot,/location/authorlocationcode/_alt/1/_alt/1,
6
PlotName,/location/authorlocationcode/_alt/1/_alt/2,
7
plotName,/location/authorlocationcode/_alt/1/_alt/2,
4
Subplot,/location/authorlocationcode/_alt/1,
5
subplot,/location/authorlocationcode/_alt/1,
6
Subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
7
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
8
PlotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
9
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
8 10
AuthorObsCode,/location/authorlocationcode/_alt/2,
9 11
FieldNumber,/location/authorlocationcode/_alt/2,
10 12
authorObsCode,/location/authorlocationcode/_alt/2,
mappings/Veg+.cs-VegBIEN.csv
1 1
Veg+,VegBIEN:,Comments
2 2
plotArea,/location/area,
3
subplot,/location/authorlocationcode/_alt/1/_alt/1,
4
plotName,/location/authorlocationcode/_alt/1/_alt/2,
3
subplot,/location/authorlocationcode/_alt/1,
4
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
5
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
5 6
authorObsCode,/location/authorlocationcode/_alt/2,
6 7
fieldNumber,/location/authorlocationcode/_alt/2,
7 8
globalUniqueIdentifier,/location/authorlocationcode/_alt/3,
mappings/for_review/VegCore-VegBIEN.csv
1 1
VegCore[Veg+],VegBIEN:,Comments
2 2
plotArea,//location/area,
3 3
subplot,//location/authorlocationcode,
4
plotName,//location/authorlocationcode,
4
subplot,"//location/authorlocationcode/_if[@name=""if subplot""]/cond/_exists",
5
plotName,"//location/authorlocationcode/_if[@name=""if subplot""]/else",
5 6
fieldNumber,//location/authorlocationcode,
6 7
occurrenceID,//location/authorlocationcode,
7 8
institutionCode,//location/authorlocationcode,

Also available in: Unified diff