NiVO / BY TECHNOGISGermany · Indonesia
Drone technology

Estimating Multiband Raster Memory Before Analysis — Client handoff review

Estimating Multiband Raster Memory Before Analysis — a worked case for client handoff review, with explicit data, a sensitivity comparison and an independent evidence check.

Estimating Multiband Raster Memory Before Analysis — Client handoff review

The measurement question

Estimate the uncompressed array size before loading every band into memory. An illustrative 4000 by 3000 raster with five bands and two bytes per sample requires 120000000 bytes, approximately 114.4 MiB, for the array values alone. Converting it to four-byte floating point doubles that portion to about 228.9 MiB. Masks, intermediate arrays and software overhead require additional room. This calculation helps choose tiled or windowed processing and avoids mistaking a compressed file size for runtime memory. Record dimensions, band count and data type from the actual output rather than a sensor marketing label.

This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.

Case conditions and evidence

The calculation is being prepared for a recipient who did not collect the data. The package must explain the observation conditions and the limits of the conclusion without relying on an undocumented conversation. Use stable identifiers so that a question about a result can be traced back to its original evidence.

Ask a second reviewer to reproduce the example from the delivered inputs alone. Any missing unit, reference definition or selection rule is a handoff defect even if the arithmetic is correct.

SD and microSD memory cards beside a coin for scale
SD and microSD memory cards beside a coin for scale.Source: Nashucks · CC0

Reproduce the numerical check

Illustrative input data: Raster width (width) = 5,400 pixels; Raster height (height) = 4,120 pixels; Raster bands (bands) = 5 count; Bytes per band sample (bytes_per_sample) = 2 bytes.

Calculation: width * height * bands * bytes_per_sample / 1048576.

Array element storage only = 212.17346 MiB.

The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.

Change one assumption

Increase only raster width (width) from 5,400 to 5,940 pixels. Re-evaluating the same equation gives array element storage only = 233.39081 MiB. The arithmetic difference from the baseline is 21.217346 MiB.

For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.

Interpret the result

Use an explicit memory budget when planning processing machines or batch size. If intermediate arrays exceed available capacity, test windowed processing while preserving calibration and mask rules, instead of reducing precision without reviewing the analytical consequences.

This computes element storage, not total process memory or compressed disk size. Temporary copies, alignment outputs, overviews and object overhead differ by software. MiB uses 1048576bytes; MB uses 1000000bytes, so label units clearly.

Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.

Independent checks and delivery

Inspect actual array shape, data type and reported nbytes on a representative file. Monitor the complete processing step, including peak memory, and compare tiled and full-array results on a small overlap area.

Deliver the accepted result, the raw evidence manifest, calculation settings and unresolved questions. Separate measured values, derived values and illustrative assumptions in the final record.

Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.

Technical references

  1. NumPy: ndarray.nbytes ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team