ConservationInternational / cplus-plugin

QGIS plugin for using CPLUS framework in effective land-use planning
https://conservationinternational.github.io/cplus-plugin/
GNU General Public License v3.0
3 stars 5 forks source link

Highest position analysis change #236

Open Samweli opened 10 months ago

Samweli commented 10 months ago

Create a zero constant value raster layer and use it in the highest position analysis as the first layer from the list of the passed analysis layers.

The new workflow on the processing steps for the scenario analysis has changed as shown in the below screenshots. In the initial model no effort was taken in addressing issues when using the QGIS raster calculator with data that contain no-data values.

Initial model New model
initial_model new_model

The new model addresses those issues by preparing all the input data by filling and replacing all the no-data values with zero value, as a result the final step in the processing analysis is needed to be updated with an extra zero constant value layer in the first place before all position analysis layers from the passed list to the analysis.

This is to ensure that no zero value is treated as a meaningful statistical value because at the start of the scenario analysis all no-data values were converted to zero values.

Samweli commented 9 months ago

No required anymore as the previous steps in the workflow are not filling the layers with no-data values anymore.

amyburness commented 9 months ago

@gkahiu I had a think about this and we still need to implment this ticket.

The reason is not becuse we are plugging the nulls it is becsue we need to have zero be the first value in the stack so that we can filter out any areas where the IM should not be.