Project

General

Profile

« Previous | Next » 

Revision 4879

inputs/TEAM/VL, VT: Split concatenated flat files apart into separate parts each time a header is duplicated, so that the header would be autoremoved by cat_csv. Changed modified BIEN2 flat file headers back to original headers (the duplicated headers) so the headers of all part files would match up. (This is required for cat_csv header autoremoval to work properly.) This results in changes to the input column names in */map.csv.

View differences:

VegBIEN.csv
1 1
TEAM,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
Subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3
1haPlotCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4
ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
5
1haPlotCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
6
Subplot,/location/authorlocationcode,
2
Subplot Number,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3
1ha Plot Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4
Id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
5
1ha Plot Number,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
6
Subplot Number,/location/authorlocationcode,
7 7
Latitude,"/location/locationcoords/latitude_deg/_alt/2/_nullIf:[null=0,type=float]/value",
8 8
Longitude,"/location/locationcoords/longitude_deg/_alt/2/_nullIf:[null=0,type=float]/value",
9 9
Method,/location/locationevent/*_id/method/name,
10
SiteName,/location/locationevent/*_id/project/projectname,
11
Subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
12
1haPlotCode,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
13
ObservationDate,/location/locationevent/obsenddate/_*/date/_alt/2/_dateRangeEnd/value,
14
ObservationDate,/location/locationevent/obsstartdate/_*/date/_alt/2/_dateRangeStart/value,
15
ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
16
dbh,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight_m/_cm_to_m/value,"""Tree diameter measurement. {cm}"" (Diameter definition on p. 6 at <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/TEAM/_src/ci-team_extract/Vegetation-Metadata-1.4.pdf>)"
17
TreeNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/tag,
18
X_1haPlot,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition_m,
19
Y_1haPlot,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition_m,
20
1haPlotCode,"/location/locationevent/taxonoccurrence/authortaxoncode/_first/1/_first/2/_if[@name=""if is organism""]/cond/_exists",
21
TreeNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_first/1/_first/2/_if[@name=""if is organism""]/then",
22
ID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
10
Site Name,/location/locationevent/*_id/project/projectname,
11
Subplot Number,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
12
1ha Plot Number,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode",
13
Observation Date,/location/locationevent/obsenddate/_*/date/_alt/2/_dateRangeEnd/value,
14
Observation Date,/location/locationevent/obsstartdate/_*/date/_alt/2/_dateRangeStart/value,
15
Id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
16
Diameter at 1.3m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight_m/_cm_to_m/value,"""Tree diameter measurement. {cm}"" (Diameter definition on p. 6 at <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/TEAM/_src/ci-team_extract/Vegetation-Metadata-1.4.pdf>)"
17
Tree Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/tag,
18
1ha Plot X Coordinate,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition_m,
19
1ha Plot Y Coordinate,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition_m,
20
1ha Plot Number,"/location/locationevent/taxonoccurrence/authortaxoncode/_first/1/_first/2/_if[@name=""if is organism""]/cond/_exists",
21
Tree Number,"/location/locationevent/taxonoccurrence/authortaxoncode/_first/1/_first/2/_if[@name=""if is organism""]/then",
22
Id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
23 23
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/family,
24 24
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/genus,
25
SpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/species,
26
Collectors,/location/locationevent/taxonoccurrence/verbatimcollectorname,
25
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/species,
26
Names of Collectors,/location/locationevent/taxonoccurrence/verbatimcollectorname,
27 27
Comments,,** No join mapping for Comments ** 
28
ConditionCodes,,** No join mapping for ConditionCodes ** 
29
LocationCodes,,** No join mapping for LocationCodes ** 
30
ProtocolLeadScientist,,** No join mapping for ProtocolLeadScientist ** 
31
ProtocolLeadScientistInstitution,,** No join mapping for ProtocolLeadScientistInstitution ** 
32
ProtocolVersion,,** No join mapping for ProtocolVersion ** 
33
ResponsibleInstitution,,** No join mapping for ResponsibleInstitution ** 
34
SamplingPeriod,,** No join mapping for SamplingPeriod ** 
35
SamplingUnitName,,** No join mapping for SamplingUnitName ** 
36
max_diam,,** No join mapping for max_diam ** 
37
max_diam_pom,,** No join mapping for max_diam_pom ** 
28
Condition Codes,,** No join mapping for Condition Codes ** 
29
Location Codes,,** No join mapping for Location Codes ** 
30
Max Diameter,,** No join mapping for Max Diameter ** 
31
Max Diameter POM,,** No join mapping for Max Diameter POM ** 
32
Protocol Lead Scientist,,** No join mapping for Protocol Lead Scientist ** 
33
Protocol Lead Scientist Institution,,** No join mapping for Protocol Lead Scientist Institution ** 
34
Protocol Version,,** No join mapping for Protocol Version ** 
35
Responsible Institution,,** No join mapping for Responsible Institution ** 
36
Sampling Period,,** No join mapping for Sampling Period ** 
37
Sampling Unit Name,,** No join mapping for Sampling Unit Name ** 

Also available in: Unified diff