Skip to content

Skip a downloaded or watched data file that is not newer #158

Done

Description

@jwrosewell

data-updates.md (newFileAvailable, lines 316 to 319 at 706de1f0) says 'A watched or downloaded file that is not newer is not loaded, and the check is reported as not needed'. Python loads every downloaded file and every watched file whose time changed, and reports AUTO_UPDATE_SUCCESS (datafile_update_service.py lines 247 to 285 and 605 to 650 at 6ad5ae2). This needs the published date of a file read before it is loaded, which the SWIG layer does not offer today. Done when a file with the same or an older published date is reported AUTO_UPDATE_NOT_NEEDED and not loaded, by both routes, with tests.

Activity

  1. jwrosewell commented on Dec 1, 2026

    @jwrosewell
    ContributorAuthor

    Fixed by #282. A watched or downloaded data file is now loaded only when the published date in its header is later than that of the data in use, and is otherwise reported as AUTO_UPDATE_NOT_NEEDED, with tests for both routes. Released in 4.6.2 through #240 and #302. #280 asked for the same change and closed with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions