Research data

CF gathered-array scatter map

Expand a canonical CF gathering index into an explicit array and occupancy mask.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Use last-dimension-fastest indexing for the compress dimensions, then scatter every prefix/suffix value block. Keep stored nulls distinct from unstored locations through a separate occupancy mask.

Gather indices 0,2,4 in a 2×3 lat/lon grid map to (0,0), (0,2), (1,1), separately for each time slice.

Limits

Logical JSON, fixed positive dimension sizes and at most 100000 expanded slots. This canonical subset requires strictly increasing unique gather indices. Values/fill are finite numbers or null; units are copied without conversion. No netCDF file decoding, ragged-array reconstruction or full CF conformance verdict.