-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shift now timestamp and embargo period together for two tests
test_raw_and_calexp_should_copy and test_raw_and_calexp_should_copy_yaml have two, different now_time_embargo timestamps. With the new API, it is more difficult to test with multiple now_time_embargo timestamps in one call. Also we wouldn't use that in pratical use case anyway. So, use just the later timestamp, and shift the embargo period for the raw datasets that used the earlier timestamp. The amount of shifting is the difference between the two original now_time_embargo timestamps: 2022-11-13T03:35:12.836981 - 2020-01-17T16:55:11.322700 = 89030401.514281 seconds, or 24730.66708730028 hr. Instead of an embargo period of 0.1 hr, the new embargo period is 0.1 + 24730.66708730028 hr.
- Loading branch information
Showing
2 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters