Esempio n. 1
0
 def test_big_sentinel_search(self):
     """ Search for a bunch of Sentinel data """
     search = Query(**{
         'datetime': '2017-01-01',
         'eo:platform': 'sentinel-2a'
     })
     self.assertEqual(search.found(), self.num_sentinel)
     scenes = search.items()
     self.assertEqual(len(scenes), self.num_sentinel)
Esempio n. 2
0
    def test_big_landsat_search(self):
        """ Search for a bunch of Landsat data """
        search = Query(**{
            'datetime': '2017-01-01',
            'eo:platform': 'landsat-8'
        })
        self.assertEqual(search.found(), self.num_landsat)

        scenes = search.items()

        self.assertEqual(len(scenes), self.num_landsat)