Optical Dateline West Small¶
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.
| 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:
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¶
extent/antimeridianextent/bounds_normalizationextent/coordinate_wrappingfailure_mode/reference_implementation
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¶
loadcrs-check
Files¶
- Primary:
optical_dateline_west_small.tif
Source and license¶
- Source: geocase-synthetic
- License: MIT
Tags¶
delivery:single-file eo geography:dateline geotiff optical product:optical raster single_variable
Related cases¶
- Optical Dateline Small --
optical_dateline_small - Optical Equator Small --
optical_equator_small - Optical Polar Small --
optical_polar_small - Optical RGB Small --
optical_rgb_small - DEM Small --
dem_small