Closed sat01a closed 8 months ago
Discussion required.
datePrecision
appears to be determined by the length of the raw_eventDate
.datePrecision:YEAR
do not have a processed eventDate
.datePrecision:MONTH
appear to include records that do have a day
or eventDate
value. This datePrecision
is incorrect for some records and inconsistent with the absence of eventDate
for records only containing year
. Initial investigation identified that some have eventDate
of the form yyyy-mm
but may also include a day
value that is used to produce a complete eventDate
without updating datePrecision
to DAY
.datePrecision
to dateTimePrecission
is not recommended as too many assumptions are required. The issue states that the precision is MINUTE
for the example record but the presence of 00
in the raw second value indicates that the correct precision is SECOND
. I suggest this issue not be addressed beyond fixing the errors identified in the datePrecision:MONTH
records.
I concur with @adam-collins. I also suggest transferring this issue to gbif/pipelines repo.
Moving to pipelines https://github.com/gbif/pipelines/issues/919
This is in the current snapshot version
eg here precision is MINUTE not DAY https://biocache-test.ala.org.au/occurrences/4c433838-cace-4ab3-bb01-143d44a9f2af