Class: Export::Dwca::GbifProfile::SpeciesProfile

Inherits:
Object
  • Object
show all
Defined in:
lib/export/dwca/gbif_profile/species_profile.rb

Instance Attribute Summary collapse

Instance Attribute Details

#ageInDaysString

ageInDays (rs.gbif.org/terms/1.0/ageInDays)

Maximum observed age of an organism given as number of days

Examples: 5

Returns:

  • (String)


99
100
101
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 99

def ageInDays
  @ageInDays
end

#habitatString

habitat (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: www.iucnredlist.org/static/major_habitats

Vocabulary: rs.gbif.org/vocabulary/iucn/habitat.xml

Examples: “1.1”

Returns:

  • (String)


139
140
141
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 139

def habitat
  @habitat
end

#isExtinctString

isExtinct (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: rs.gbif.org/vocabulary/basic/boolean.xml

Examples: TRUE

Returns:

  • (String)


81
82
83
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 81

def isExtinct
  @isExtinct
end

#isFreshwaterString

isFreshwater (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: rs.gbif.org/vocabulary/basic/boolean.xml

Examples: TRUE

Returns:

  • (String)


36
37
38
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 36

def isFreshwater
  @isFreshwater
end

#isHybridString

isHybrid (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: rs.gbif.org/vocabulary/basic/boolean.xml

Examples: TRUE

Returns:

  • (String)


70
71
72
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 70

def isHybrid
  @isHybrid
end

#isInvasiveString

isInvasive (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: rs.gbif.org/vocabulary/basic/boolean.xml

Examples: TRUE

Returns:

  • (String)


59
60
61
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 59

def isInvasive
  @isInvasive
end

#isMarineString

isMarine (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: rs.gbif.org/vocabulary/basic/boolean.xml

Examples: TRUE

Returns:

  • (String)


25
26
27
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 25

def isMarine
  @isMarine
end

#isTerrestrialString

isTerrestrial (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: rs.gbif.org/vocabulary/basic/boolean.xml

Examples: false

Returns:

  • (String)


47
48
49
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 47

def isTerrestrial
  @isTerrestrial
end

#lifeFormString

lifeForm (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: en.wikipedia.org/wiki/Raunkiær_plant life-form. Recommended vocabulary: rs.gbif.org/vocabulary/gbif/life_form.xml

Vocabulary: rs.gbif.org/vocabulary/gbif/life_form.xml

Examples: Phanerophyte

Returns:

  • (String)


128
129
130
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 128

def lifeForm
  @lifeForm
end

#livingPeriodString

livingPeriod (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 en.wikipedia.org/wiki/Geologic_column

Examples: Cretaceous

Returns:

  • (String)


91
92
93
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 91

def livingPeriod
  @livingPeriod
end

#massInGramsString

massInGrams (rs.gbif.org/terms/1.0/massInGrams)

Maximum observed weight of an organism in grams.

Examples: 12

Returns:

  • (String)


116
117
118
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 116

def massInGrams
  @massInGrams
end

#sexString

sex (rs.tdwg.org/dwc/terms/sex)

Comma separated list of known sexes to exist for this organism. Recommended vocabulary is: rs.gbif.org/vocabulary/gbif/sex.xml

Vocabulary: rs.gbif.org/vocabulary/gbif/sex.xml

Examples: “Male,Female”

Returns:

  • (String)


150
151
152
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 150

def sex
  @sex
end

#sizeInMillimitersString

sizeInMillimiters (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

Returns:

  • (String)


108
109
110
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 108

def sizeInMillimiters
  @sizeInMillimiters
end

#taxonIDString

taxonID (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.

Returns:

  • (String)


14
15
16
# File 'lib/export/dwca/gbif_profile/species_profile.rb', line 14

def taxonID
  @taxonID
end