Closed tucotuco closed 3 years ago
@melecoq Fixed this in https://github.com/VertNet/bels/commit/a74b29c3803fd0a08751cc5975af366fe7d3fed0
Now just need to use query_best_sans_coords_georef_reduced (https://github.com/VertNet/bels/blob/main/bels/bels_query.py#L121) in place of query_best_sans_coords_georef (https://github.com/VertNet/bels/blob/marie.bels/bels/job.py#L56).
Added in 42240864403ce10c38a3367becb53a73473a7bf1.
Right now job.py creates a dwc_location_hash from the input, looks up the Location in the gazetteer and returns that with its georeference, if any. Instead, the job needs to find the best georeference using the matching-sans-coordinates string of the input following the sequence created for the following test:
https://github.com/VertNet/bels/blob/main/test/bels_query_tests.py#L228