Imageomics / dashboard-prototype

Prototype data dashboard for Imageomics Data
http://dash.imageomics.org
MIT License
5 stars 2 forks source link

Single errors in lat and lon break the map #48

Closed omnomdombomb closed 11 months ago

omnomdombomb commented 1 year ago

If the lat or lon values are incorrectly formatted they with be read as integers instead of floats. This breaks the entire map dashboard. Code should be added to ignore these errors.

egrace479 commented 1 year ago

If the lat or lon values are incorrectly formatted they with be read as integers instead of floats. This breaks the entire map dashboard. Code should be added to ignore these errors.

Yes, I believe it's problematic when the lat value is outside [-90, 90] or lon is outside [-180, 180]. I can add a check for that while processing the data to remove problematic values. Great catch!

egrace479 commented 1 year ago

Addressed in PR #50 to the dev branch. Will be implemented in v1.1.0.