def test_generate_month(run_generate, summary_store: SummaryStore): run_generate("ls8_nbar_scene") # One Month _expect_values( summary_store.update("ls8_nbar_scene", 2017, 4, None), dataset_count=408, footprint_count=408, time_range=Range( begin=datetime(2017, 4, 1, 0, 0, tzinfo=DEFAULT_TZ), end=datetime(2017, 5, 1, 0, 0, tzinfo=DEFAULT_TZ), ), newest_creation_time=datetime(2017, 7, 4, 11, 18, 20, tzinfo=tzutc()), timeline_period="day", timeline_count=30, crses={ "EPSG:28355", "EPSG:28349", "EPSG:28352", "EPSG:28350", "EPSG:28351", "EPSG:28353", "EPSG:28356", "EPSG:28354", }, size_bytes=245_344_352_585, )
def test_s2a_l1_summary(run_generate, summary_store: SummaryStore): run_generate('s2a_level1c_granule') expect_values( summary_store.update('s2a_level1c_granule'), dataset_count=8, footprint_count=8, time_range=Range(begin=datetime(2017, 9, 30, 14, 30, tzinfo=tzutc()), end=datetime(2017, 10, 31, 14, 30, tzinfo=tzutc())), newest_creation_time=datetime(2017, 10, 23, 1, 13, 7, tzinfo=tzutc()), timeline_period='day', timeline_count=31, crses={'EPSG:32753'}, size_bytes=3442177050, )
def test_generate_month(run_generate, summary_store: SummaryStore): run_generate('ls8_nbar_scene') # One Month _expect_values( summary_store.update('ls8_nbar_scene', 2017, 4, None), dataset_count=408, footprint_count=408, time_range=Range(begin=datetime(2017, 4, 1, 0, 0, tzinfo=DEFAULT_TZ), end=datetime(2017, 5, 1, 0, 0, tzinfo=DEFAULT_TZ)), newest_creation_time=datetime(2017, 7, 4, 11, 18, 20, tzinfo=tzutc()), timeline_period='day', timeline_count=30, crses={ 'EPSG:28355', 'EPSG:28349', 'EPSG:28352', 'EPSG:28350', 'EPSG:28351', 'EPSG:28353', 'EPSG:28356', 'EPSG:28354' }, size_bytes=245344352585, )
def test_s2_ard_summary(run_generate, summary_store: SummaryStore): run_generate("s2a_ard_granule") expect_values( summary_store.update("s2a_ard_granule"), dataset_count=8, footprint_count=8, time_range=Range( begin=datetime(2017, 9, 30, 14, 30, tzinfo=tzutc()), end=datetime(2017, 10, 31, 14, 30, tzinfo=tzutc()), ), newest_creation_time=datetime(2018, 7, 26, 23, 49, 25, 684_327, tzinfo=tzutc()), timeline_period="day", timeline_count=31, crses={"EPSG:32753"}, size_bytes=0, )