Skip to content

Optical Dateline West Small

rasterGeoTIFFEPSG:4326tinybundled

An RGB GeoTIFF whose bounds straddle the antimeridian at -180 longitude, mirroring optical_dateline_small about 180. The control for the crossing's sign: identical size, dtype, band count, CRS and pixel size, so a behavioural difference between the pair is attributable to the direction of the crossing and to nothing else.

Pixels of optical_dateline_west_small, a 16x16 raster, with NoData in magenta
3 bands, 16x16 px, uint8. Rendered from the case's actual pixels, contrast-stretched for display; NoData is shown in magenta.
Property Value
Case ID optical_dateline_west_small
Category raster
Format GeoTIFF
CRS EPSG:4326
Location Antimeridian, North Pacific — 179.78°E, 0.68°N → 179.90°W, 1.00°N (crosses the antimeridian — the box runs east from the first corner, over 180°)
Test tier integration
Size class tiny
Storage class bundled
Redistributable yes
Loader rasterio
Status validated

Use this case

import pytest


@pytest.mark.geocase_case("optical_dateline_west_small")
def test_optical_dateline_west_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

Answer whether antimeridian mishandling is symmetric. Round 6 found GDAL's AutoCreateWarpedVRT returning a zero-height dataset for the eastward-crossing sibling and could not say whether the westward crossing behaves the same, because no negative-wrap raster existed. Run both; a difference names the sign.

Risk types covered

Expected behavior

Assertion Expected
expect_loadable yes
expect_crs yes
expected_epsg 4326
expected_band_count 3
expected_dtype uint8
expected_shape [16, 16]
expected_compression deflate
expected_band_names red, green, blue

Known answer

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

Quantity Value
NoData pixels 0
Bounds (case CRS) [-180.22, 0.68, -179.9, 1.0]

Required capabilities

  • load
  • crs-check

Files

Browse this case on GitHub

Source and license

  • Source: geocase-synthetic
  • License: MIT

Tags

delivery:single-file eo geography:dateline geotiff optical product:optical raster single_variable