Skip to content

GeoTIFF Float64 Small

rasterGeoTIFFEPSG:32633tinybundled

A small single-band GeoTIFF stored as 64-bit floating-point values. Tests that raster loaders and downstream code preserve high-precision floating dtype semantics rather than narrowing to float32 implicitly.

Pixels of geotiff_float64_small, a 10x10 raster, with NoData in magenta
10x10 px. Rendered from the case's actual pixels, contrast-stretched for display; NoData is shown in magenta.
Property Value
Case ID geotiff_float64_small
Category raster
Format GeoTIFF
CRS EPSG:32633
Location Equator, Gulf of Guinea (synthetic) — 15.00°E, 0.01°N → 15.00°E, 0.01°N
Test tier unit
Size class tiny
Storage class bundled
Redistributable yes
Loader rasterio
Status validated

Use this case

import pytest


@pytest.mark.geocase_case("geotiff_float64_small")
def test_geotiff_float64_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 that 64-bit floating-point rasters open with the correct dtype and preserve their declared numeric storage type through simple reads.

Risk types covered

Expected behavior

Assertion Expected
expect_loadable yes
expect_crs yes
expected_epsg 32633
expect_nodata yes
expected_shape [10, 10]

Known answer

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

Quantity Value
Mean over valid pixels 7.2590253021
Mean including NoData -192.8661552039
NoData pixels 2
Bounds (case CRS) [500000.0, 900.0, 500100.0, 1000.0]

Notes

Purpose

Single-band float64 raster for validating high-precision floating-point dtype handling.

What to expect

  • CRS is EPSG:32633.
  • One band (float64).
  • NoData is -9999.0.
  • Pixel values include decimal precision that would be lossy if narrowed.

Required capabilities

  • load
  • dtype-check
  • nodata-check

Files

Browse this case on GitHub

Source and license

  • Source: geocase-curated
  • License: MIT

Tags

dtype float64 geotiff raster