mirror of https://github.com/tdwg/dwc.git
Updates to build Humboldt Extension XML definition for IPT.
This commit is contained in:
parent
3ff51687b3
commit
8a5d4ace0b
|
@ -14,9 +14,9 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
__author__ = "John Wieczorek"
|
__author__ = "John Wieczorek"
|
||||||
__copyright__ = "Copyright 2023 Rauthiflor LLC"
|
__copyright__ = "Copyright 2024 Rauthiflor LLC"
|
||||||
__filename__ = 'build_extension.py'
|
__filename__ = 'build_extension.py'
|
||||||
__version__ = f'{__filename__} 2023-09-15T16:52-03:00'
|
__version__ = f'{__filename__} 2024-03-06T12:43-03:00'
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
|
@ -449,7 +449,11 @@ class DwcDigester(object):
|
||||||
# print(f"{term['iri']}")
|
# print(f"{term['iri']}")
|
||||||
term_data = self.get_term_definition(term['iri'])
|
term_data = self.get_term_definition(term['iri'])
|
||||||
except:
|
except:
|
||||||
print(f"{term['iri']} not found in get_term_definitions({term['iri']})")
|
s = f"{term['iri']} not found in get_term_definitions()."
|
||||||
|
s += "If this is a term from another vocabulary, be sure to copy the "
|
||||||
|
s += "definition, comments, and examples from the original source "
|
||||||
|
s += f"into the output file {file_output}."
|
||||||
|
print(s)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Fill in dc:description, comments, or examples from the standard if it is
|
# Fill in dc:description, comments, or examples from the standard if it is
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
dc:title='Humboldt Ecological Inventory'
|
dc:title='Humboldt Ecological Inventory'
|
||||||
name="HumboldtEcologicalInventory" namespace='http://rs.tdwg.org/eco/terms/'
|
name="HumboldtEcologicalInventory" namespace='http://rs.tdwg.org/eco/terms/'
|
||||||
rowType='http://rs.tdwg.org/eco/terms/Event'
|
rowType='http://rs.tdwg.org/eco/terms/Event'
|
||||||
dc:issued='2023-09-05'
|
dc:issued='2024-02-28'
|
||||||
dc:subject='dwc:Event'
|
dc:subject='dwc:Event'
|
||||||
dc:relation='https://github.com/tdwg/hc/blob/master/vocabulary/term_versions.csv'
|
dc:relation='https://github.com/tdwg/hc/blob/master/vocabulary/term_versions.csv'
|
||||||
dc:description='Extended support for Darwin Core Events related to ecological inventories.'>
|
dc:description='Extended support for Darwin Core Events related to ecological inventories.'>
|
||||||
|
|
|
@ -3,13 +3,15 @@ Site,http://rs.tdwg.org/eco/terms/siteCount,,,,,,
|
||||||
Site,http://rs.tdwg.org/eco/terms/siteNestingDescription,,,,,,
|
Site,http://rs.tdwg.org/eco/terms/siteNestingDescription,,,,,,
|
||||||
Site,http://rs.tdwg.org/eco/terms/verbatimSiteDescriptions,,,,,,
|
Site,http://rs.tdwg.org/eco/terms/verbatimSiteDescriptions,,,,,,
|
||||||
Site,http://rs.tdwg.org/eco/terms/verbatimSiteNames,,,,,,
|
Site,http://rs.tdwg.org/eco/terms/verbatimSiteNames,,,,,,
|
||||||
Site,http://rs.tdwg.org/eco/terms/geospatialScopeAreaInSquareKilometers,,,,,,
|
Site,http://rs.tdwg.org/eco/terms/geospatialScopeAreaValue,,,,,,
|
||||||
Site,http://rs.tdwg.org/eco/terms/totalAreaSampledInSquareKilometers,,,,,,
|
Site,http://rs.tdwg.org/eco/terms/geospatialScopeAreaUnit,,,,,,
|
||||||
|
Site,http://rs.tdwg.org/eco/terms/totalAreaSampledValue,,,,,,
|
||||||
|
Site,http://rs.tdwg.org/eco/terms/totalAreaSampledUnit,,,,,,
|
||||||
Site,http://rs.tdwg.org/eco/terms/reportedWeather,,,,,,
|
Site,http://rs.tdwg.org/eco/terms/reportedWeather,,,,,,
|
||||||
Site,http://rs.tdwg.org/eco/terms/reportedExtremeConditions,,,,,,
|
Site,http://rs.tdwg.org/eco/terms/reportedExtremeConditions,,,,,,
|
||||||
Habitat Scope,http://rs.tdwg.org/eco/terms/targetHabitatScope,,,,,,
|
Habitat Scope,http://rs.tdwg.org/eco/terms/targetHabitatScope,,,,,,
|
||||||
Habitat Scope,http://rs.tdwg.org/eco/terms/excludedHabitatScope,,,,,,
|
Habitat Scope,http://rs.tdwg.org/eco/terms/excludedHabitatScope,,,,,,
|
||||||
Temporal Scope,http://rs.tdwg.org/eco/terms/eventDuration,,,,,,
|
Temporal Scope,http://rs.tdwg.org/eco/terms/eventDurationValue,,,,,,
|
||||||
Temporal Scope,http://rs.tdwg.org/eco/terms/eventDurationUnit,,,,,,
|
Temporal Scope,http://rs.tdwg.org/eco/terms/eventDurationUnit,,,,,,
|
||||||
Taxonomic Scope,http://rs.tdwg.org/eco/terms/targetTaxonomicScope,,,,,,
|
Taxonomic Scope,http://rs.tdwg.org/eco/terms/targetTaxonomicScope,,,,,,
|
||||||
Taxonomic Scope,http://rs.tdwg.org/eco/terms/excludedTaxonomicScope,,,,,,
|
Taxonomic Scope,http://rs.tdwg.org/eco/terms/excludedTaxonomicScope,,,,,,
|
||||||
|
@ -31,13 +33,14 @@ Organismal Scope,http://rs.tdwg.org/eco/terms/targetGrowthFormScope,,,,,,
|
||||||
Organismal Scope,http://rs.tdwg.org/eco/terms/excludedGrowthFormScope,,,,,,
|
Organismal Scope,http://rs.tdwg.org/eco/terms/excludedGrowthFormScope,,,,,,
|
||||||
Organismal Scope,http://rs.tdwg.org/eco/terms/isGrowthFormScopeFullyReported,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
Organismal Scope,http://rs.tdwg.org/eco/terms/isGrowthFormScopeFullyReported,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
||||||
Organismal Scope,http://rs.tdwg.org/eco/terms/hasNonTargetOrganisms,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
Organismal Scope,http://rs.tdwg.org/eco/terms/hasNonTargetOrganisms,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
||||||
Identification,http://rs.tdwg.org/eco/terms/identifiedBy,,,,,,
|
Organismal Scope,http://rs.tdwg.org/eco/terms/verbatimTargetScope,,,,,,
|
||||||
Identification,http://rs.tdwg.org/eco/terms/identificationReferences,,,,,,
|
Identification,http://rs.tdwg.org/dwc/terms/identifiedBy,,,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/compilationType,,,,,,
|
Identification,http://rs.tdwg.org/dwc/terms/identificationReferences,,,,,,
|
||||||
|
Methodology Description,http://rs.tdwg.org/eco/terms/compilationTypes,,,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/compilationSourceTypes,,,,,,
|
Methodology Description,http://rs.tdwg.org/eco/terms/compilationSourceTypes,,,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/inventoryTypes,,,,,,
|
Methodology Description,http://rs.tdwg.org/eco/terms/inventoryTypes,,,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/protocolNames,,,,,,
|
Methodology Description,http://rs.tdwg.org/eco/terms/protocolNames,,,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/protocolDescription,,,,,,
|
Methodology Description,http://rs.tdwg.org/eco/terms/protocolDescriptions,,,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/protocolReferences,,,,,,
|
Methodology Description,http://rs.tdwg.org/eco/terms/protocolReferences,,,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/isAbundanceReported,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
Methodology Description,http://rs.tdwg.org/eco/terms/isAbundanceReported,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
||||||
Methodology Description,http://rs.tdwg.org/eco/terms/isAbundanceCapReported,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
Methodology Description,http://rs.tdwg.org/eco/terms/isAbundanceCapReported,,https://rs.gbif.org/vocabulary/basic/boolean.xml,,,,
|
||||||
|
|
|
Loading…
Reference in New Issue