error when the spectral library inputs regression based unmixing (synthMix)

Issue #697 resolved
suri created an issue

Windows OS

QGIS version: 3.16
Spectral library input to Regression-based unmixing (synMix) always reports an error, it seems to be missing a JavaScript Object Notation (JSON) file. How is the JSON file obtained?

Comments (6)

  1. Andreas Janz

    Currently, you need to have a sidecar file right next to your speclib.sli called speclib.json. See the EnMAP-Box testdata for an example:

  2. suri reporter

    Thanks for your answer. How do I get the speclib.json ? Do I write it myself or is it automatically generated from the Spectral Library Window of the EnMAP-Box?

  3. Andreas Janz

    You have to create the JSON file.

    Note that we are currently changing the way we handle speclibs, so in a not so far future, you won’t need to create those files anymore 🙂

  4. Log in to comment