Project

General

Profile

« Previous | Next » 

Revision 7525

mappings/Makefile: VegCore.vocab.csv: Ignore leading ? when sorting so that ambiguous terms sort alphabetically with other terms. This prevents terms from moving from their previous location when they become ambiguous.

View differences:

mappings/VegCore.vocab.csv
1 1
VegCore
2 2
?DBH
3
?acidity
4
?area
5
?basalDiam
6
?basalDiameter
7
?baseSaturation
8
?calcium
9
?carbon
10
?cationExchangeCapacity
11
?clay
12
?depth
13
?diameterBreastHeight
14
?diameterBreastHeightGentry
15
?distErrCountry
16
?distErrStateProvince
17
?distanceToCountry
18
?distanceToStateProvince
19
?elevation
20
?exchangeCapacity
21
?fieldNotes
22
?fieldNumber
23
?gentryDbh
24
?globalUniqueIdentifier
25
?height
26
?heightFirstBranch
27
?intercept
28
?magnesium
29
?maximumDepth
30
?maximumElevation
31
?minimumDepth
32
?minimumElevation
33
?nitrogen
34
?notes
35
?observationType
36
?organic
37
?phosphorus
38
?plotArea
39
?potassium
40
?precipitation
41
?sand
42
?silt
43
?sodium
44
?soilAcidity
45
?soilC
46
?soilCa
47
?soilCationCap
48
?soilClay
49
?soilNa
50
?soilOrganic
51
?soilSand
52
?soilSilt
53
?species
54
?stemDbh
55
?stemHeight
56
?temperature
57 3
ID
58 4
OMIT
59 5
PRIVATE
......
90 36
accession
91 37
accessionNumber
92 38
accordingTo
39
?acidity
93 40
acidity_fraction
94 41
acidity_percent
95 42
aggregateOccurrenceID
96 43
aggregateOrganismObservationID
97 44
aggregatorOrPrimary
98 45
annotations
46
?area
99 47
associatedMedia
100 48
associatedOccurrences
101 49
associatedReferences
......
109 57
authorStemCode
110 58
authorTaxonCode
111 59
barcode
60
?basalDiam
61
?basalDiameter
112 62
basalDiameter_cm
113 63
basalDiameter_in
114 64
basalDiameter_m
65
?baseSaturation
115 66
baseSaturation_fraction
116 67
baseSaturation_percent
117 68
basisOfRecord
......
119 70
behavior
120 71
bibliographicCitation
121 72
boundingBox
73
?calcium
122 74
calcium_fraction
123 75
calcium_percent
124 76
canopyForm
125 77
canopyPosition
78
?carbon
126 79
carbon_fraction
127 80
carbon_percent
128 81
catalogNumber
82
?cationExchangeCapacity
129 83
cationExchangeCapacity_cmol_kg
130 84
cationExchangeCapacity_meq_100g
131 85
censusID
......
133 87
censusNumber
134 88
cf_aff
135 89
class
90
?clay
136 91
clay_fraction
137 92
clay_percent
138 93
collectedDate
......
185 140
dcterms_type
186 141
decimalLatitude
187 142
decimalLongitude
143
?depth
188 144
descriptionOfSite
189 145
detType
146
?diameterBreastHeight
147
?diameterBreastHeightGentry
190 148
diameterBreastHeightGentry_cm
191 149
diameterBreastHeightGentry_in
192 150
diameterBreastHeightGentry_m
......
194 152
diameterBreastHeight_in
195 153
diameterBreastHeight_m
196 154
disposition
155
?distErrCountry
156
?distErrStateProvince
197 157
distanceAboveSurfaceInMeters
158
?distanceToCountry
198 159
distanceToCountry_km
199 160
distanceToCountry_m
161
?distanceToStateProvince
200 162
distanceToStateProvince_km
201 163
distanceToStateProvince_m
202 164
dynamicProperties
......
205 167
earliestEpochOrLowestSeries
206 168
earliestEraOrLowestErathem
207 169
earliestPeriodOrLowestSystem
170
?elevation
208 171
elevationInMeters
209 172
endDate
210 173
endDayOfYear
......
213 176
eventID
214 177
eventRemarks
215 178
eventTime
179
?exchangeCapacity
216 180
family
217 181
familyScore
182
?fieldNotes
218 183
fieldNotes_DwC_curatorial
219 184
fieldNotes_DwC_terms
185
?fieldNumber
220 186
fieldNumber_DwC_classic
221 187
fieldNumber_DwC_terms
222 188
fm
......
225 191
footprintWKT
226 192
forma
227 193
formation
194
?gentryDbh
228 195
genus
229 196
genusScore
230 197
geodeticDatum
......
237 204
georeferencedBy
238 205
georeferencedDate
239 206
geovalid
207
?globalUniqueIdentifier
240 208
globalUniqueIdentifier_DwC
241 209
globalUniqueIdentifier_SpeciesLink
242 210
group
243 211
growthForm
244 212
habit
245 213
habitat
214
?height
215
?heightFirstBranch
246 216
heightFirstBranch_ft
247 217
heightFirstBranch_m
248 218
height_ft
......
277 247
infraspecificEpithet
278 248
institutionCode
279 249
institutionID
250
?intercept
280 251
intercept_cm
281 252
intercept_m
282 253
interpretationType
......
320 291
longitude
321 292
longitude_DMS
322 293
lowestBiostratigraphicZone
294
?magnesium
323 295
magnesium_fraction
324 296
magnesium_percent
325 297
matchedFamilyFit_fraction
......
328 300
matchedTaxonFit_fraction
329 301
maxSlopeAspect
330 302
maxSlopeGradient
303
?maximumDepth
331 304
maximumDepthInMeters
332 305
maximumDepth_verbatim
333 306
maximumDistanceAboveSurfaceInMeters
307
?maximumElevation
334 308
maximumElevationInMeters
335 309
maximumElevation_verbatim
336 310
measurementAccuracy
......
348 322
methodology
349 323
minSlopeAspect
350 324
minSlopeGradient
325
?minimumDepth
351 326
minimumDepthInMeters
352 327
minimumDepth_verbatim
353 328
minimumDistanceAboveSurfaceInMeters
329
?minimumElevation
354 330
minimumElevationInMeters
355 331
minimumElevation_verbatim
356 332
modified
......
366 342
namePublishedIn
367 343
namePublishedInID
368 344
namePublishedInYear
345
?nitrogen
369 346
nitrogen_fraction
370 347
nitrogen_percent
371 348
nomenclaturalCode
372 349
nomenclaturalStatus
350
?notes
373 351
notes_Madidi
374 352
notes_SALVIAS
375 353
obsEndDate
376 354
obsStartDate
377 355
observationGranularity
378 356
observationMeasure
357
?observationType
379 358
observationType_BIEN2
380 359
observationType_SALVIAS
381 360
occurrenceID
......
383 362
occurrenceStatus
384 363
oldGrowth
385 364
order
365
?organic
386 366
organic_fraction
387 367
organic_percent
388 368
organismNotes
......
419 399
parentTaxonID
420 400
ph
421 401
phenology
402
?phosphorus
422 403
phosphorus_fraction
423 404
phosphorus_percent
424 405
phylum
406
?plotArea
425 407
plotArea_ha
426 408
plotArea_m2
427 409
plotCensusNumber
......
434 416
plotRelativeY
435 417
plotUniqueIdentifierID
436 418
pointRadiusSpatialFit
419
?potassium
437 420
potassium_fraction
438 421
potassium_percent
439 422
pottasium
440 423
precip_mm
424
?precipitation
441 425
precipitation_m
442 426
precipitation_mm
443 427
preparation
......
477 461
samplingEffort
478 462
samplingProtocol
479 463
samplingProtocolID
464
?sand
480 465
sand_fraction
481 466
sand_percent
482 467
scientificName
......
485 470
scientificNameID
486 471
sex
487 472
shapeOfSite
473
?silt
488 474
silt_fraction
489 475
silt_percent
490 476
slopeAspect
491 477
slopeGradient
478
?sodium
492 479
sodium_fraction
493 480
sodium_percent
481
?soilAcidity
482
?soilC
483
?soilCa
484
?soilCationCap
485
?soilClay
494 486
soilConductivity
487
?soilNa
488
?soilOrganic
489
?soilSand
490
?soilSilt
495 491
soilTexture
492
?species
496 493
speciesBinomial
497 494
speciesInvID
498 495
speciesName
......
511 508
stemCanopyPosition
512 509
stemCode
513 510
stemCount
511
?stemDbh
512
?stemHeight
514 513
stemID
515 514
stemLianaInfestation
516 515
stemNotes
......
541 540
taxonRemarks
542 541
taxonomicStatus
543 542
temp_C
543
?temperature
544 544
temperature_C
545 545
temperature_F
546 546
texture
mappings/Makefile
27 27
	php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@
28 28

  
29 29
$(vocab): VegCore.htm
30
	(echo VegCore; $(sed) -n 's/^<h[2-4][^>]*>(<img [^>]*>)? *<a href="#[^>]*>(\??([a-z]|[A-Z]{2})[^<]*)<\/a>.*<a href="#[^"-]+".*$$/\2/p'\
31
|sort -u) <$< >$@
30
	(echo VegCore; $(sed) -n 's/^<h[2-4][^>]*>(<img [^>]*>)? *<a href="#[^>]*>(\??([a-z]|[A-Z]{2})[^<]*)<\/a>.*<a href="#[^"-]+".*$$/\2/p') \
31
<$< >$@
32
	$(bin)/in_place $@ $(bin)/sort_ci
32 33

  
33 34
$(thesaurus): VegCore.htm
34 35
	(echo "Veg+,VegCore"; $(bin)/redmine_synonyms|grep -vE '^\??[A-Z][a-z]';\

Also available in: Unified diff