You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip a downloaded or watched data file that is not newer #158
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.
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.
Activity
jwrosewell commentedon Dec 1, 2026
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.