When indexing a scene that does not have a data file for a measurement defined in the product's definition, what is the best practice for indexing the scene such that ODC returns no data for it (more specifically, the data variable should be filled with the nodata value for that measurement for that time)?

Can we specify an empty string ('') for path for the measurement in the dataset document to do this, or something similarly simple?

1 Answer 1


A possible workaround is to create a raster with no data and refer to it every time you do not have data for that particular measurement/band/layer. This works if the input dataset has always the same extent and projection.

  • 1
    Thanks, Michele. That is the workaround we hoped to avoid, but maybe it can be a 1 pixel file containing the nodata value. ODC would then fill the rest of the data for that data variable (measurement) for that scene with the nodata value as well.
    – John Rattz
    Apr 12, 2021 at 19:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.