>
args = (), kwargs = {}
def Checksum(self, *args, **kwargs) -> "int":
r"""
Checksum(Band self, int xoff=0, int yoff=0, int * xsize=None, int * ysize=None) -> int
Computes a checksum from a region of a RasterBand.
See :cpp:func:`GDALChecksumImage`.
Parameters
----------
xoff : int, default=0
The pixel offset to left side of the region of the band to
be read. This would be zero to start from the left side.
yoff : int, default=0
The line offset to top side of the region of the band to
be read. This would be zero to start from the top side.
xsize : int, optional
The number of pixels to read in the x direction. By default,
equal to the number of columns in the raster.
ysize : int, optional
The number of rows to read in the y direction. By default,
equal to the number of bands in the raster.
Returns
-------
int
checksum value, or -1 in case of error
"""
> return _gdal.Band_Checksum(self, *args, **kwargs)
E RuntimeError: Checksum value could not be computed due to I/O read error.
E May be caused by: GDAL_WMS>, band 1: IReadBlock failed at X offset 0, Y offset 0: GDALWMS: Unable to download block 0, 0.
E URL:
E
E 404 Not Found
E
E Not Found
E The requested URL was not found on this server.
E
E
E HTTP status code: 404, error:
E
E 404 Not Found
E
E Not Found
E The requested URL was not found on this server.
E
E .
E Add the HTTP status code to to ignore this error (see http://www.gdal.org/frmt_wms.html).
E May be caused by: GDALWMS: Unable to download block 0, 0.
E URL:
E
E 404 Not Found
E
E Not Found
E The requested URL was not found on this server.
E
E
E HTTP status code: 404, error:
E
E 404 Not Found
E
E Not Found
E The requested URL was not found on this server.
E
E .
E Add the HTTP status code to to ignore this error (see http://www.gdal.org/frmt_wms.html).
E:\buildsystem\release-1928\bin\gdal\python\osgeo\gdal.py:7285: RuntimeError
=========================== short test summary info ===========================
FAILED ogr/ogr_fgdb.py::test_ogr_fgdb_19 - AssertionError: assert 6 == 0
+ where 6 = >>(force=True)
+ where >> = >.StartTransaction
FAILED ogr/ogr_fgdb.py::test_ogr_fgdb_20 - AttributeError: 'NoneType' object has no attribute 'CreateLayer'
FAILED gcore/multidim.py::test_multidim_getgridded - AttributeError: 'NoneType' object has no attribute 'GetGridded'
FAILED gcore/tiff_read.py::test_tiff_read_big_strip - RuntimeError: TIFFWriteBufferSetup:No space for output buffer
May be caused by: TIFFWriteBufferSetup:No space for output buffer
FAILED gdrivers/ecw.py::test_ecw_22 - AssertionError: did not get expected SRS.
assert 0
+ where 0 = >>( >)
+ where >> = >.IsSame
+ where > = >>()
+ where >> = >.GetSpatialRef
FAILED gdrivers/ecw.py::test_ecw_25 - AssertionError: assert 'epsg:32631' == 'NUTM31'
- NUTM31
+ epsg:32631
FAILED gdrivers/ecw.py::test_ecw_26 - AssertionError: assert 'epsg:32631' == 'NUTM31'
- NUTM31
+ epsg:32631
FAILED gdrivers/s102.py::test_s102_elevation - AssertionError: assert 'depth' == 'elevation'
- elevation
+ depth
FAILED gdrivers/s102.py::test_s102_north_up_no - assert (1.8, 0.4, 0.0, 48.75, 0.0, -0.5) == approx((1.8 ± 1.8e-06, 0.4 ± 4.0e-07, 0.0 ± 1.0e-12, 47.75 ± 4.8e-05, 0.0 ± 1.0e-12, 0.5 ± 5.0e-07))
comparison failed. Mismatched elements: 2 / 6:
Max absolute difference: 1.0
Max relative difference: 2.0
Index | Obtained | Expected
3 | 48.75 | 47.75 ± 4.8e-05
5 | -0.5 | 0.5 ± 5.0e-07
FAILED gdrivers/wms.py::test_wms_data_via_mrf - RuntimeError: Checksum value could not be computed due to I/O read error.
May be caused by: GDAL_WMS>, band 1: IReadBlock failed at X offset 0, Y offset 0: GDALWMS: Unable to download block 0, 0.
URL:
404 Not Found
Not Found
The requested URL was not found on this server.
HTTP status code: 404, error:
404 Not Found
Not Found
The requested URL was not found on this server.
.
Add the HTTP status code to to ignore this error (see http://www.gdal.org/frmt_wms.html).
May be caused by: GDALWMS: Unable to download block 0, 0.
URL:
404 Not Found
Not Found
The requested URL was not found on this server.
HTTP status code: 404, error:
404 Not Found
Not Found
The requested URL was not found on this server.
.
Add the HTTP status code to to ignore this error (see http://www.gdal.org/frmt_wms.html).
ERROR benchmark/test_gdalwarp.py::test_gdalwarp[near-1]
ERROR benchmark/test_gdalwarp.py::test_gdalwarp[near-ALL_CPUS]
ERROR benchmark/test_gdalwarp.py::test_gdalwarp[cubic-1]
ERROR benchmark/test_gdalwarp.py::test_gdalwarp[cubic-ALL_CPUS]
ERROR benchmark/test_gtiff.py::test_gtiff_byte
ERROR benchmark/test_gtiff.py::test_gtiff_byte_get_srs
ERROR benchmark/test_gtiff.py::test_gtiff_multithread_write[True]
ERROR benchmark/test_gtiff.py::test_gtiff_multithread_write[False]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_default-source_default]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_default-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_tiled-source_default]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_tiled-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_tiled_lzw-source_default]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_tiled_lzw-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_tiled_lzw_all_cpus-source_default]
ERROR benchmark/test_gtiff.py::test_gtiff_create_copy[dest_tiled_lzw_all_cpus-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[NEAREST-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[BILINEAR-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[CUBIC-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[CUBICSPLINE-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[LANCZOS-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[AVERAGE-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[RMS-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[MODE-source_tiled]
ERROR benchmark/test_gtiff.py::test_gtiff_build_overviews[GAUSS-source_tiled]
ERROR benchmark/test_ogr2ogr.py::test_ogr2ogr[50000]
ERROR benchmark/test_ogr2ogr.py::test_ogr2ogr_reproject[10000]
ERROR benchmark/test_ogr_gpkg.py::test_ogr_gpkg_create
ERROR benchmark/test_ogr_gpkg.py::test_ogr_gpkg_spatial_index
= 10 failed, 11417 passed, 2231 skipped, 5 xfailed, 1 xpassed, 29 errors in 569.14s (0:09:29) =
100 - done.