Class: Export::Dwca::GbifProfile::SpeciesProfile
- Inherits:
-
Object
- Object
- Export::Dwca::GbifProfile::SpeciesProfile
- Defined in:
- lib/export/dwca/gbif_profile/species_profile.rb
Constant Summary collapse
- NAMESPACES =
{ :taxonID => 'http://rs.tdwg.org/dwc/terms/taxonID', :isMarine => 'http://rs.gbif.org/terms/1.0/isMarine', :isFreshwater => 'http://rs.gbif.org/terms/1.0/isFreshwater', :isTerrestrial => 'http://rs.gbif.org/terms/1.0/isTerrestrial', :isInvasive => 'http://rs.gbif.org/terms/1.0/isInvasive', :isHybrid => 'http://rs.gbif.org/terms/1.0/isHybrid', :isExtinct => 'http://rs.gbif.org/terms/1.0/isExtinct', :livingPeriod => 'http://rs.gbif.org/terms/1.0/livingPeriod', :ageInDays => 'http://rs.gbif.org/terms/1.0/ageInDays', :sizeInMillimiters => 'http://rs.gbif.org/terms/1.0/sizeInMillimeters', :massInGrams => 'http://rs.gbif.org/terms/1.0/massInGrams', :lifeForm => 'http://rs.gbif.org/terms/1.0/lifeForm', :habitat => 'http://rs.tdwg.org/dwc/terms/habitat', :sex => 'http://rs.tdwg.org/dwc/terms/sex' }.freeze
Instance Attribute Summary collapse
-
#ageInDays ⇒ String
ageInDays (http://rs.gbif.org/terms/1.0/ageInDays).
-
#habitat ⇒ String
habitat (http://rs.tdwg.org/dwc/terms/habitat).
-
#isExtinct ⇒ String
isExtinct (http://rs.gbif.org/terms/1.0/isExtinct).
-
#isFreshwater ⇒ String
isFreshwater (http://rs.gbif.org/terms/1.0/isFreshwater).
-
#isHybrid ⇒ String
isHybrid (http://rs.gbif.org/terms/1.0/isHybrid).
-
#isInvasive ⇒ String
isInvasive (http://rs.gbif.org/terms/1.0/isInvasive).
-
#isMarine ⇒ String
isMarine (http://rs.gbif.org/terms/1.0/isMarine).
-
#isTerrestrial ⇒ String
isTerrestrial (http://rs.gbif.org/terms/1.0/isTerrestrial).
-
#lifeForm ⇒ String
lifeForm (http://rs.gbif.org/terms/1.0/lifeForm).
-
#livingPeriod ⇒ String
livingPeriod (http://rs.gbif.org/terms/1.0/livingPeriod).
-
#massInGrams ⇒ String
massInGrams (http://rs.gbif.org/terms/1.0/massInGrams).
- #sex ⇒ String
-
#sizeInMillimiters ⇒ String
sizeInMillimiters (http://rs.gbif.org/terms/1.0/sizeInMillimeters).
-
#taxonID ⇒ String
taxonID (http://rs.tdwg.org/dwc/terms/taxonID).
Instance Attribute Details
#ageInDays ⇒ String
ageInDays (http://rs.gbif.org/terms/1.0/ageInDays)
Maximum observed age of an organism given as number of days
Examples: 5
116 117 118 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 116 def ageInDays @ageInDays end |
#habitat ⇒ String
habitat (http://rs.tdwg.org/dwc/terms/habitat)
Comma separated list of mayor habitat classification as defined by IUCN in which a species is known to exist: http://www.iucnredlist.org/static/major_habitats
Vocabulary: http://rs.gbif.org/vocabulary/iucn/habitat.xml
Examples: "1.1"
156 157 158 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 156 def habitat @habitat end |
#isExtinct ⇒ String
isExtinct (http://rs.gbif.org/terms/1.0/isExtinct)
Flag indicating an extinct organism. Details about the timeperiod the organism has lived in can be supplied in livingPeriod
Vocabulary: http://rs.gbif.org/vocabulary/basic/boolean.xml
Examples: TRUE
98 99 100 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 98 def isExtinct @isExtinct end |
#isFreshwater ⇒ String
isFreshwater (http://rs.gbif.org/terms/1.0/isFreshwater)
A boolean flag indicating whether the taxon occurrs in freshwater habitats, i.e. can be found in/above rivers or lakes
Vocabulary: http://rs.gbif.org/vocabulary/basic/boolean.xml
Examples: TRUE
53 54 55 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 53 def isFreshwater @isFreshwater end |
#isHybrid ⇒ String
isHybrid (http://rs.gbif.org/terms/1.0/isHybrid)
Flag indicating a hybrid organism. This does not have to be reflected in the name, but can be based on other studies like chromosome numbers etc
Vocabulary: http://rs.gbif.org/vocabulary/basic/boolean.xml
Examples: TRUE
87 88 89 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 87 def isHybrid @isHybrid end |
#isInvasive ⇒ String
isInvasive (http://rs.gbif.org/terms/1.0/isInvasive)
Flag indicating a species known to be invasive/alien in some are of the world. Detailed native and introduced distribution areas can be published with the distribution extension.
Vocabulary: http://rs.gbif.org/vocabulary/basic/boolean.xml
Examples: TRUE
76 77 78 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 76 def isInvasive @isInvasive end |
#isMarine ⇒ String
isMarine (http://rs.gbif.org/terms/1.0/isMarine)
A boolean flag indicating whether the taxon is a marine organism, i.e. can be found in/above sea water
Vocabulary: http://rs.gbif.org/vocabulary/basic/boolean.xml
Examples: TRUE
42 43 44 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 42 def isMarine @isMarine end |
#isTerrestrial ⇒ String
isTerrestrial (http://rs.gbif.org/terms/1.0/isTerrestrial)
A boolean flag indicating the taxon is a terrestial organism, i.e. occurrs on land as opposed to the sea
Vocabulary: http://rs.gbif.org/vocabulary/basic/boolean.xml
Examples: false
64 65 66 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 64 def isTerrestrial @isTerrestrial end |
#lifeForm ⇒ String
lifeForm (http://rs.gbif.org/terms/1.0/lifeForm)
A term describing the growth/lifeform of an organism. Should be based on a vocabulary like Raunkiær for plants: http://en.wikipedia.org/wiki/Raunkiær_plant life-form. Recommended vocabulary: http://rs.gbif.org/vocabulary/gbif/life_form.xml
Vocabulary: http://rs.gbif.org/vocabulary/gbif/life_form.xml
Examples: Phanerophyte
145 146 147 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 145 def lifeForm @lifeForm end |
#livingPeriod ⇒ String
livingPeriod (http://rs.gbif.org/terms/1.0/livingPeriod)
The (geological) time a currently extinct organism is known to have lived. For geological times of fossils ideally based on a vocabulary like http://en.wikipedia.org/wiki/Geologic_column
Examples: Cretaceous
108 109 110 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 108 def livingPeriod @livingPeriod end |
#massInGrams ⇒ String
massInGrams (http://rs.gbif.org/terms/1.0/massInGrams)
Maximum observed weight of an organism in grams.
Examples: 12
133 134 135 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 133 def massInGrams @massInGrams end |
#sex ⇒ String
sex (http://rs.tdwg.org/dwc/terms/sex)
Comma separated list of known sexes to exist for this organism. Recommended vocabulary is: http://rs.gbif.org/vocabulary/gbif/sex.xml
Vocabulary: http://rs.gbif.org/vocabulary/gbif/sex.xml
Examples: "Male,Female"
167 168 169 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 167 def sex @sex end |
#sizeInMillimiters ⇒ String
sizeInMillimiters (http://rs.gbif.org/terms/1.0/sizeInMillimeters)
Maximum observed size of an organism in millimeter. Can be either height, length or width, whichever is greater.
Examples: 1500
125 126 127 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 125 def sizeInMillimiters @sizeInMillimiters end |
#taxonID ⇒ String
taxonID (http://rs.tdwg.org/dwc/terms/taxonID)
The first field in the data file should be the taxonID representing the taxon in the core data file to which this record points. This identifier provides the link between the core data record and the extension record.
31 32 33 |
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 31 def taxonID @taxonID end |