Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

organismQuantity integer value is incorrectly converted to float #508

Open
peggynewman opened this issue Aug 18, 2021 · 2 comments
Open
Labels
pipelines Issue related to pipelines question Further information is requested

Comments

@peggynewman
Copy link

sample :
https://biocache.ala.org.au/occurrences/743f6bc0-e5ed-4371-b12e-48e794141567

@brucehyslop
Copy link

organismQuantity is stored in solr with datatype string, formatting of the value is performed by pipelines.

According to the DwC term definition this value can contains non numeric values depending on the organismQuantityType term

https://dwc.tdwg.org/terms/#dwc:organismQuantity

organismQuantity
Identifier http://rs.tdwg.org/dwc/terms/organismQuantity
Definition A number or enumeration value for the quantity of organisms.
Comments An organismQuantity must have a corresponding organismQuantityType.
Examples 27 (organismQuantity) with individuals (organismQuantityType). 12.5 (organismQuantity) with % biomass (organismQuantityType). r (organismQuantity) with Braun Blanquet Scale (organismQuantityType). many (organismQuantity) with individuals (organismQuantityType).

@djtfmartin
Copy link
Member

@peggynewman - given the above definition, can this be closed ? If not I suggest we move the issue to gbif/pipelines for discussion with gbif team.

@javier-molina javier-molina added question Further information is requested pipelines Issue related to pipelines labels Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipelines Issue related to pipelines question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants