ttu-vertnet / ttu-mammals

Issue tracking for TTU Mammals data in the VertNet portal (portal.vertnet.org).
0 stars 0 forks source link

[TTU Mammals 84773] Artibeus obscurus - US-style date not parsed correctly #9

Closed rdmpage closed 9 years ago

rdmpage commented 9 years ago

For this record (and others fro this source) the US-style date month/day/year has not been parsed correctly. The verbatim date 7/19/2001 has been interpreted as day=7, year=2001, and the month field is not present (I'm guessing because 19 is not a valid month number). I suspect that most, if not all of the verbatim dates in this dataset are likely to be incorrectly interpreted.

.....................................................

You can view the original detail page on VertNet. Here are the original record contents:

Term Value
InstitutionID urn:lsid:biocol.org:col:34902
InstitutionCode TTU
CollectionCode Mammals
BasisOfRecord PreservedSpecimen
OccurrenceID urn:catalog:TTU:Mammals:84773
CatalogNumber 84773
RecordNumber 157
RecordedBy BAKER, R J ET AL; HAYNIE, M L
IndividualCount 1
Sex female
LifeStage adult
OccurrenceStatus present
Preparations skin in alcohol, body skeleton
EventDate 2001
Year 2001
Day 7
VerbatimEventDate 7/19/2001
FieldNumber 104001
HigherGeography ;ECUADOR;PASTAZA DISTRICT;;;;;
Country ECUADOR
StateProvince PASTAZA DISTRICT
Locality 5 KM E PUYO, SAFARI HOSTERIA PARK
VerbatimLocality ECUADOR; PASTAZA DISTRICT; ; 5 KM E PUYO, SAFARI HOSTERIA PARK
VerbatimLatitude 9840350
VerbatimLongitude 166624
ScientificName Artibeus obscurus
HigherClassification ARTIBEUS
Kingdom Animalia
Phylum Chordata
Class Mammalia
Order Chiroptera
Family Phyllostomidae
Genus Artibeus
SpecificEpithet obscurus
TaxonRank species
NomenclaturalCode ICZN
tucotuco commented 9 years ago

The VertNet migrator (https://github.com/VertNet/toolkit) for the TTU data set was updated to version 2015-01-27. This version correctly constructs the eventDate from the verbatimEventDate.

rdmpage commented 9 years ago

@tucotuco thanks for fixing this

tucotuco commented 9 years ago

@rdmpage A pleasure!