Project

General

Profile

« Previous | Next » 

Revision 4596

input.Makefile: Maps building: %/.map.csv.last_cleanup: $(newTerms): Remove the CSV header from the terms lists so that multiple terms lists can easily be appended together

View differences:

inputs/REMIB/Specimen/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/CTFS/StemObservation/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/CTFS/Subplot/unmapped_terms.csv
1
Veg+
2 1
OMIT
3 2
""
4 3
""
inputs/CTFS/PlotObservation/unmapped_terms.csv
1
Veg+
2 1
""
inputs/CTFS/TaxonOccurrence/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/CTFS/Plot/new_terms.csv
1
CTFS[Veg+]
2 1
CountryID
3 2
ReferenceX
4 3
ReferenceY
inputs/FIA/Organism/unmapped_terms.csv
1
Veg+
2 1
""
inputs/SALVIAS/projects/new_terms.csv
1
SALVIAS[Veg+]
2 1
project_pi
3 2
allow_download_all
4 3
ipr_specific
inputs/MT/Specimen/new_terms.csv
1
MT[Veg+]
inputs/MT/Specimen/unmapped_terms.csv
1
Veg+
inputs/XAL/Specimen/new_terms.csv
1
"XAL[Veg+,darwin:]:/content/record/"
inputs/XAL/Specimen/unmapped_terms.csv
1
Veg+
2 1
recordNumber/_alt/1
3 2
recordNumber/_alt/2
inputs/TEAM/VL/new_terms.csv
1
TEAM[Veg+]
2 1
SiteName
3 2
1haPlotCode
4 3
ObservationDate
inputs/TEAM/VL/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/TEAM/VT/new_terms.csv
1
TEAM[Veg+]
2 1
ObservationDate
3 2
Collectors
4 3
dbh_pom
inputs/TEAM/VT/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/NY/Specimen/new_terms.csv
1
NY[Veg+]
2 1
key
3 2
PlantFungusDescription
4 3
Substrate
inputs/NY/Specimen/unmapped_terms.csv
1
Veg+
2 1
""
3 2
OMIT
4 3
Locality/_merge/1
inputs/Madidi/Organism/new_terms.csv
1
Madidi[Veg+]
2 1
Expedition
3 2
Inventory name
4 3
Number of inventory (general)
inputs/Madidi/Organism/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/Madidi/Plot/new_terms.csv
1
Madidi[Veg+]
2 1
Inventory number
3 2
Expedition number
4 3
Expedition name
inputs/Madidi/Plot/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/UNCC/Specimen/new_terms.csv
1
UNCC[Veg+]
2 1
accession
3 2
herbarium
4 3
usdaRank
inputs/UNCC/Specimen/unmapped_terms.csv
1
Veg+
2 1
taxonRank/_alt/1
3 2
taxonRank/_alt/2
4 3
Collector/_merge/1
inputs/ACAD/Specimen/new_terms.csv
1
ACAD[Veg+]
inputs/ACAD/Specimen/unmapped_terms.csv
1
Veg+
inputs/SALVIAS-CSV/Organism/new_terms.csv
1
SALVIAS-CSV
2 1
OBSERVATION_ID
3 2
plot_code
4 3
census_no
inputs/SALVIAS-CSV/Organism/unmapped_terms.csv
1
Veg+
2 1
""
3 2
tag/_alt/1
4 3
previousTag/_alt/1
inputs/SALVIAS-CSV/Plot/new_terms.csv
1
SALVIAS-CSV
2 1
project
3 2
plot_code
4 3
major_geo
inputs/SALVIAS-CSV/Plot/unmapped_terms.csv
1
Veg+
2 1
"clay/_units:[default=""%"",to=]/value"
3 2
"silt/_units:[default=""%"",to=]/value"
4 3
"sand/_units:[default=""%"",to=]/value"
inputs/CVS/Organism/new_terms.csv
1
CVS
2 1
obsStartDate
3 2
realLatitude
4 3
realLongitude
inputs/CVS/Organism/unmapped_terms.csv
1
Veg+
2 1
OMIT
3 2
OMIT
4 3
""
inputs/REMIB/Specimen/new_terms.csv
1
REMIB[Veg+]
2 1
acronym
3 2
accession_number
4 3
long_deg
inputs/CTFS/StemObservation/new_terms.csv
1
CTFS[Veg+]
2 1
FamilyID
3 2
GenusID
4 3
SpeciesID
inputs/CTFS/Subplot/new_terms.csv
1
CTFS[Veg+]
2 1
DimX
3 2
DimY
inputs/CTFS/PlotObservation/new_terms.csv
1
CTFS[Veg+]
2 1
Description
inputs/CTFS/TaxonOccurrence/new_terms.csv
1
CTFS[Veg+]
2 1
FamilyID
3 2
GenusID
4 3
SpeciesID
inputs/CTFS/SubplotObservation/unmapped_terms.csv
1
Veg+
inputs/FIA/Organism/new_terms.csv
1
FIA[Veg+]
2 1
TreeTag
3 2
MeasYear
4 3
MeasMon
inputs/SALVIAS/plotMetadata/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/SALVIAS/stems/new_terms.csv
1
SALVIAS
2 1
origrecord_id_stems
3 2
PlotObsID
4 3
NoInd
inputs/CTFS/SubplotObservation/new_terms.csv
1
CTFS[Veg+]
inputs/CTFS/Plot/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/SALVIAS/plotMetadata/new_terms.csv
1
SALVIAS
2 1
orig_filename
3 2
AccessCode
4 3
PrimOwnerID
inputs/SALVIAS/projects/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/SALVIAS/plotObservations/new_terms.csv
1
SALVIAS
2 1
PlotObsID
3 2
PlotCode
4 3
census_no
inputs/ARIZ/Specimen/new_terms.csv
1
ARIZ[Veg+]
2 1
CatalogNumberNumeric
3 2
TimeCollected
4 3
VerbatimCollectingDate
inputs/NCU-NCSC/Specimen/new_terms.csv
1
NCU-NCSC[Veg+]
2 1
Accession Number
3 2
SeriesName
4 3
Barcode
inputs/SALVIAS/plotObservations/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/ARIZ/Specimen/unmapped_terms.csv
1
Veg+
2 1
CatalogNumber/_alt/2
3 2
CatalogNumber/_alt/1
4 3
OMIT
inputs/NCU-NCSC/Specimen/unmapped_terms.csv
1
Veg+
2 1
"Latitude/_replace:[""\?$""=]/value"
3 2
"Longitude/_replace:[""\?$""=]/value"
4 3
""
inputs/MO/Specimen/unmapped_terms.csv
1
Veg+
inputs/VegBank/observation_/new_terms.csv
1
VegBank[Veg+]
2 1
observation_id
3 2
previousobs_id
4 3
dateaccuracy
inputs/QMOR/Specimen/new_terms.csv
1
QMOR[Veg+]
inputs/MO/Specimen/new_terms.csv
1
MO[Veg+]
2 1
convertednotes
inputs/VegBank/taxonobservation_/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/VegBank/plot_/unmapped_terms.csv
1
Veg+
2 1
""
3 2
parentPlotID
4 3
OMIT
inputs/SALVIAS/stems/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
inputs/U/Specimen/unmapped_terms.csv
1
Veg+
2 1
Collector/_merge/1
3 2
""
4 3
""
inputs/GBIF/Specimen/unmapped_terms.csv
1
Veg+
2 1
dcterms:modified
inputs/SpeciesLink/Specimen/unmapped_terms.csv
1
Veg+
2 1
ScientificNameAuthor/_alt/3
3 2
ScientificNameAuthor/_alt/2
4 3
ScientificNameAuthor/_alt/1
inputs/VegBank/taxonobservation_/new_terms.csv
1
VegBank[Veg+]
2 1
plantconcept_id
3 2
taxonobservation_id
4 3
observation_id
inputs/VegBank/plot_/new_terms.csv
1
VegBank[Veg+]
2 1
authorplotcode
3 2
reference_id
4 3
parent_id
inputs/U/Specimen/new_terms.csv
1
U[Veg+]
2 1
Barcode
3 2
Prefix
4 3
Number
inputs/GBIF/Specimen/new_terms.csv
1
GBIF[Veg+]
2 1
LatestDateCollected
3 2
InstitutionCD
4 3
CollectionCD
inputs/SpeciesLink/Specimen/new_terms.csv
1
"SpeciesLink[Veg+,dwc_dwcore_,dwc_curatorial_,dwc_geospatial_,http__purl_org_,dwc_terms_,conceptual_darwin_2003_1_0_]"
2 1
AuthorYearOfScientificName
3 2
DayOfYear
4 3
dc_terms_modified
inputs/input.Makefile
292 292
	touch $@
293 293
# Include comment column so commented mappings are never removed
294 294

  
295
newTerms = $(bin)/filter_out_ci $(1) $(word 3,$+) <$<|$(bin)/cols $(1)
295
newTerms = $(bin)/filter_out_ci $(1) $(word 3,$+) <$<|$(bin)/cols $(1)|tail +2
296 296
else
297 297
%/map.csv: %/src.csv _always
298 298
	$(if $(wildcard $@),,$(if $(wildcard $<),$(CP) $< $@))
inputs/VegBank/observation_/unmapped_terms.csv
1
Veg+
2 1
""
3 2
""
4 3
""
inputs/QMOR/Specimen/unmapped_terms.csv
1
Veg+

Also available in: Unified diff