def test_on_map(self): gmap = RasterMap(refloat_halflife=6, bitmap_array=self.raster, map_bounds=((-50, -30), (-50, 30), (50, 30), (50, -30)), projection=NoProjection()) # hours assert gmap.on_map((0., 0., 0.)) assert gmap.on_map((55.0, 0., 0.)) is False
def test_on_map(self): gmap = RasterMap(refloat_halflife=6, bitmap_array=self.raster, map_bounds=((-50, -30), (-50, 30), (50, 30), (50, -30)), projection=NoProjection()) # hours assert gmap.on_map((0., 0., 0.)) assert gmap.on_map((55.0, 0., 0.)) is False
def test_on_map(self): gmap = RasterMap(refloat_halflife=6, bitmap_array=self.raster, map_bounds=((-50, -30), (-50, 30), (50, 30), (50, -30)), projection=NoProjection()) # hours # making sure the gmap is set up right assert gmap.on_map((100.0, 1., 0.)) is False assert gmap.on_map((0., 1., 0.))
def test_on_map(self): gmap = RasterMap(refloat_halflife=6, bitmap_array=self.raster, map_bounds=((-50, -30), (-50, 30), (50, 30), (50, -30)), projection=NoProjection()) # hours # making sure the gmap is set up right assert gmap.on_map((100.0, 1., 0.)) is False assert gmap.on_map((0., 1., 0.))