EcoNet-NZ / inaturalist-to-cams

Synchronises observations from iNaturalist to the CAMS Weed App
Apache License 2.0
3 stars 3 forks source link

Old observations updated without substantive changes are changed to Purple #88

Open nigelcharman opened 6 months ago

nigelcharman commented 6 months ago

The observations were originally RED. They had additional detail added to Weed Management Aotearoa NZ observation fields, but without the Date Controlled or Date of Status Update being set.

The status should have stayed RED but was changed to PURPLE.

See logs in https://github.com/EcoNet-NZ/inaturalist-to-cams/actions/runs/7951343326/job/21704656554 for details of the fields.

The issue seems to arise from translator.py:

        if visit_date < start_of_this_weed_year:
            visit_status = 'PURPLE'