Project

General

Profile

« Previous | Next » 

Revision 4306

mappings/VegCore-VegBIEN.csv: fieldNumber (authoreventcode): Don't copy to location.authorlocationcode if an actual locationID was specified

View differences:

inputs/Madidi/0.plots/VegBIEN.csv
1 1
Madidi[Veg+],VegBIEN:,Comments
2 2
Area,/location/area,
3 3
Inventory name,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
4
Inventory code,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
4 5
Altitude,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",
5 6
Minimum altitude,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
6 7
Minimum altitude,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
inputs/CVS/1.organisms/VegBIEN.csv
1 1
CVS,VegBIEN:,Comments
2
authorObsCode,/location/authorlocationcode/_alt/2,
2
authorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
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",
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 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
PLOT_ID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
4 5
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 6
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
6 7
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
2 2
subplot,/location/authorlocationcode/_alt/1,
3 3
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
4 4
plot_code,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
5
PLOT_ID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
5 6
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."
6 7
coll_number,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string
7 8
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/CTFS/Subplot/VegBIEN.csv
1 1
CTFS[Veg+],VegBIEN:,Comments
2 2
QuadratName,/location/authorlocationcode/_alt/1,
3 3
QuadratName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
4
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
4 5
QuadratName,"/location/parent_id/location/authorlocationcode/_if[@name=""if subplot""]/cond/_exists",
5 6
QuadratName,"/location/parent_id/location/sourceaccessioncode/_if[@name=""if subplot""]/cond/_exists",
6 7
PlotID,"/location/parent_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then",
inputs/CTFS/Plot/VegBIEN.csv
1 1
CTFS[Veg+],VegBIEN:,Comments
2 2
SizeOfSite,/location/area,
3 3
PlotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
4
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
4 5
Elevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",
5 6
ShapeOfSite,/location/locationdetermination/footprintgeometry_dwc,
6 7
Latitude,"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value",
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 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
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
4 5
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 6
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
6 7
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
2 2
Line,/location/authorlocationcode/_alt/1,
3 3
Line,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
4 4
PlotCode,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
5
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
5 6
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."
6 7
coll_number,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string
7 8
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
3 3
subplot,/location/authorlocationcode/_alt/1,
4 4
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
5 5
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
6
fieldNumber,/location/authorlocationcode/_alt/2,
6
locationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
7
fieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
7 8
occurrenceID,/location/authorlocationcode/_alt/3,
8 9
institutionCode,/location/authorlocationcode/_alt/4/_merge/1,
9 10
collectionCode,/location/authorlocationcode/_alt/4/_merge/2/_merge/1,
mappings/Veg+-VegBIEN.csv
10 10
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
11 11
PlotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
12 12
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
13
AuthorObsCode,/location/authorlocationcode/_alt/2,
14
FieldNumber,/location/authorlocationcode/_alt/2,
15
PlotCensusNumber,/location/authorlocationcode/_alt/2,
16
authorObsCode,/location/authorlocationcode/_alt/2,
17
fieldNumber,/location/authorlocationcode/_alt/2,
13
LocationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
14
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
15
locationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
16
plotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
17
AuthorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
18
FieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
19
PlotCensusNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
20
authorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
21
fieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
18 22
GlobalUniqueIdentifier,/location/authorlocationcode/_alt/3,
19 23
Id,/location/authorlocationcode/_alt/3,
20 24
OccurrenceID,/location/authorlocationcode/_alt/3,
mappings/Veg+.cs-VegBIEN.csv
6 6
QuadratName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
7 7
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists",
8 8
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",
9
PlotCensusNumber,/location/authorlocationcode/_alt/2,
10
authorObsCode,/location/authorlocationcode/_alt/2,
11
fieldNumber,/location/authorlocationcode/_alt/2,
9
locationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
10
plotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
11
PlotCensusNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
12
authorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
13
fieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
12 14
globalUniqueIdentifier,/location/authorlocationcode/_alt/3,
13 15
id,/location/authorlocationcode/_alt/3,
14 16
occurrenceID,/location/authorlocationcode/_alt/3,
mappings/for_review/VegCore-VegBIEN.csv
3 3
subplot,//location/authorlocationcode,
4 4
subplot,"//location/authorlocationcode/_if[@name=""if subplot""]/cond/_exists",
5 5
plotName,"//location/authorlocationcode/_if[@name=""if subplot""]/else",
6
fieldNumber,//location/authorlocationcode,
6
locationID,"//location/authorlocationcode/_if[@name=""if locationID""]/cond/_exists",
7
fieldNumber,"//location/authorlocationcode/_if[@name=""if locationID""]/else",
7 8
occurrenceID,//location/authorlocationcode,
8 9
institutionCode,//location/authorlocationcode,
9 10
collectionCode,//location/authorlocationcode,

Also available in: Unified diff