Fix timestamps for map samples not being correct #22

Merged
paul merged 2 commits from 21-fix-ts-map-samples into main 2022-05-10 14:26:39 +02:00
Owner

The RetrievedMaps struct captures the image and its metadata: the last modification time and the base timestamp for the maps.

  • Parse timestamp base from the retrieved maps filename
  • No longer store the last modification time, called "stamp" before, separately in the Maps struct
  • Update methods on Maps to use the RetrievedMaps structs and the timestamp base in particular for sampling and map marking
  • Update the MapsRefresh implemention to use the last modification time
  • Rename some variables from map to image in the helper functions for consistency
  • Update tests and documentation

This closes #21.

The `RetrievedMaps` struct captures the image and its metadata: the last modification time and the base timestamp for the maps. * Parse timestamp base from the retrieved maps filename * No longer store the last modification time, called "stamp" before, separately in the `Maps` struct * Update methods on `Maps` to use the `RetrievedMaps` structs and the timestamp base in particular for sampling and map marking * Update the `MapsRefresh` implemention to use the last modification time * Rename some variables from `map` to `image` in the helper functions for consistency * Update tests and documentation This closes #21.
paul added 2 commits 2022-05-10 14:26:11 +02:00
89395f21f6
Introduce RetrievedMaps; refactor around it
The `RetrievedMaps` struct captures the image and its metadata:
the last modification time and the base timestamp for the maps.

* No longer store the last modification time, called "stamp" before,
  separately in the `Maps` struct
* Update methods on `Maps` to use the `RetrievedMaps` structs and
  the timestamp base in particular for sampling and map marking
* Update the `MapsRefresh` implemention to use the last modification
  time
* Rename some variables from `map` to `image` in the helper functions
  for consistency
* Update tests and documentation
paul merged commit 08cdfe1e1c into main 2022-05-10 14:26:39 +02:00
paul deleted branch 21-fix-ts-map-samples 2022-05-10 14:26:39 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: paul/sinoptik#22
No description provided.