'CalibrationOp': Unknown element 'outputDNBand'

toolbox version and operating system: 4.0 on linux

On cmd line mode, the calibration graph choked with this error message:
Error: [NodeId: Calibration] Operator ‘CalibrationOp’: Unknown element ‘outputDNBand’

  1. this does not happen if I use the same graph on GUI mode

  2. So, I removed this line from the graph xml file:
    And it ran.

Why is this problem occuring on the command line mode only. Is my remedy (2) ok? The output calibrated s0 look fine.

This was an old parameter which is no longer needed. I’m not sure why it throws this error only for gpt.