def test_sieve_invalid_out(basic_image):

    with Env():
        with pytest.raises(ValueError):
            sieve(
                basic_image, basic_image.sum(),
                out=numpy.zeros(basic_image.shape, dtype=rasterio.int32)
            )

        with pytest.raises(ValueError):
            sieve(
                basic_image, basic_image.sum(),
                out=numpy.zeros(
                    (basic_image.shape[0] + 10, basic_image.shape[1] + 10),
                    dtype=rasterio.ubyte
                )
            )
Return the latitude and longitude coordinates of the given station.
dataset/ETHPy150Open mapbox/rasterio/tests/test_features.py/test_sieve_invalid_out--crossover with--dataset/ETHPy150Open impactlab/eemeter/eemeter/location.py/station_to_lat_lng