Skip to content

While downloading images this error appears #144

@shubham-scisar

Description

@shubham-scisar

`Downloading 239 tiles to data/tiles
Traceback (most recent call last):
File "rasterio/_base.pyx", line 213, in rasterio._base.DatasetBase.init
File "rasterio/_shim.pyx", line 64, in rasterio._shim.open_dataset
File "rasterio/_err.pyx", line 205, in rasterio._err.exc_wrap_pointer
rasterio._err.CPLE_HttpResponseError: HTTP response code: 422 - Failed writing header

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/shubham/anaconda3/envs/bldgdet/bin/label-maker", line 11, in
sys.exit(cli())
File "/home/shubham/anaconda3/envs/bldgdet/lib/python3.6/site-packages/label_maker/main.py", line 105, in cli
download_images(dest_folder=dest_folder, **config)
File "/home/shubham/anaconda3/envs/bldgdet/lib/python3.6/site-packages/label_maker/images.py", line 72, in download_images
image_function = get_image_function(imagery)
File "/home/shubham/anaconda3/envs/bldgdet/lib/python3.6/site-packages/label_maker/utils.py", line 144, in get_image_function
if is_tif(imagery):
File "/home/shubham/anaconda3/envs/bldgdet/lib/python3.6/site-packages/label_maker/utils.py", line 125, in is_tif
with rasterio.open(imagery) as test_ds:
File "/home/shubham/anaconda3/envs/bldgdet/lib/python3.6/site-packages/rasterio/env.py", line 423, in wrapper
return f(*args, **kwds)
File "/home/shubham/anaconda3/envs/bldgdet/lib/python3.6/site-packages/rasterio/init.py", line 216, in open
s = DatasetReader(path, driver=driver, **kwargs)
File "rasterio/_base.pyx", line 215, in rasterio._base.DatasetBase.init
rasterio.errors.RasterioIOError: HTTP response code: 422 - Failed writing header
`

Kindly help as Images could not be downloaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions