Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

chronozarr 0.5.3

Python and npm 0.5.3 share this release. See the installation guide and npm viewer guide for matching packages.

This patch preserves source validity during raster conversion and makes append publication reliable on filesystems with coarse timestamps. It also corrects viewer contrast after data or masks leave the reader cache. The store format and JavaScript reader are unchanged.

Raster conversion

  • Explicit masks on individual GeoTIFF bands now contribute to the store's shared mask. A pixel is valid only when every selected data band is valid. Alpha precedence, nodata overrides and raw stored values are preserved. When bands represent dates, each date uses only its selected bands' masks.
  • Local TIFF .aux.xml metadata is read whether or not the file has a .msk. Scale and nodata no longer depend on mask-sidecar presence. Added, changed or removed local sidecars invalidate an already planned conversion.
  • Masked raster work staged by an older converter is refused on resume. Keep that work for inspection and restart with a fresh --work-dir. Unmasked conversion fingerprints retain their earlier semantics.

If an earlier conversion discarded a per-band mask, convert again from the original rasters with a fresh work directory. Upgrading cannot infer source validity from the stored values, and store validation cannot detect that loss.

Append and export

  • Append compares object contents when size and modification time are equal. This prevents changed metadata, time coordinates or shards from being skipped on a coarse-timestamp filesystem. Its report counts the objects actually published. Existing inconsistent metadata is not repaired automatically.
  • Content comparison streams at most 1 MiB per read. In the worst case it adds two reads of the existing store's bytes, beyond append's existing staging copy, validation and publication work. Allow for that local I/O when sizing an append.
  • UTC export selectors ending in Z can omit minutes or seconds and still name an exact instant. 2024-03-01T12:30Z means 12:30:00Z, regardless of the stored fractional precision. Without Z, the same selector keeps its minute prefix meaning.

Viewer

  • Automatic contrast uses the complete sample set and its validity masks. Missing reader data or masks are read again, one cell at a time. A partial cache no longer biases the range or admits masked outliers.
  • An empty first view leaves an automatic single-band or dual-pol range unset. Moving to valid data measures the range. Persistent contrast-read failures report contrast_unavailable and settle the viewer's waiters. Check the connection, then change the view or choose Auto stretch to try again.
  • Playback now updates cache priority for its selected level while buffering. This fixes a startup stall caused by normal-resolution data crowding out coarse frames.
  • Store replacement and camera changes resume queued GPU uploads. A small reader cache no longer leaves the view loading after all its data arrives. Evicted cells needed by the view are fetched again one at a time, within a bounded retry limit.
  • If the reader cache cannot retain a chunk for upload, the frame becomes unavailable with cache_capacity ("View cannot be held in memory"). Increase the viewer cache budget, zoom in, or use a store with smaller chunks, then reopen it.
  • Loop export waits for the paused view's contrast before recording. Cancel also works during preparation. A store or view change during preparation refuses the export with an explanation.

Sharing

When Cloudflare throttles quick-tunnel creation with HTTP 429, share explains the failure and suggests trying later. Use preview locally, or publish for permanent hosting. The original exit status and Cloudflare diagnostic are retained.