Skip to content

COG Multispectral Small

rasterGeoTIFFEPSG:32633tinybundled

A four-band Cloud-Optimized GeoTIFF (blue, green, red, NIR) with NoData, internal tiling and one overview level. Exercises COG structure validation.

Pixels of cog_multispectral_small, a 64x64 raster, with NoData in magenta
4 bands, 64x64 px, uint16, sentinel NoData. Rendered from the case's actual pixels, contrast-stretched for display; NoData is shown in magenta.
Property Value
Case ID cog_multispectral_small
Category raster
Format GeoTIFF
CRS EPSG:32633
Location Southern Italy / Sicily (synthetic, UTM 33N) — 15.00°E, 40.65°N → 15.01°E, 40.65°N
Test tier integration
Size class tiny
Storage class bundled
Redistributable yes
Loader rasterio
Status validated

Use this case

import pytest


@pytest.mark.geocase_case("cog_multispectral_small")
def test_cog_multispectral_small(geocase_case) -> None:
    data = geocase_case.load()
    assert data is not None

Use GeoCase in your tests

Install the complete set of vector, raster, and NetCDF dependencies:

pip install "geocase[all]"

View GeoCase on PyPI.

What this case checks

Confirm GeoCase recognises a tiled, overview-bearing multispectral GeoTIFF as COG-structured while preserving band order and NoData.

Risk types covered

Expected behavior

Assertion Expected
expect_loadable yes
expect_crs yes
expected_epsg 32633
expect_nodata yes
expected_band_count 4
expected_dtype uint16
expected_shape [64, 64]
expected_nodata_value 0
nodata_convention sentinel
expected_compression deflate
expected_overviews yes
expected_band_names blue, green, red, nir
is_cog yes

Known answer

Computed from the actual bytes and gated against them. Grade your own output against these.

Quantity Value
Mean over valid pixels 2640.0
Mean including NoData 2477.578125
NoData pixels 1008
Bounds (case CRS) [500000.0, 4499360.0, 500640.0, 4500000.0]

Required capabilities

  • load
  • multiband-read
  • cog-check
  • overview-check

Files

Browse this case on GitHub

Source and license

  • Source: geocase-synthetic
  • License: MIT

Tags

cog delivery:cloud-optimized geography:utm geotiff multispectral product:cog raster