I would like to calculate how many times is some area under cloud for some defined period. My basic idea is to make cloud masks and then do overlay of many layers and some raster algebra. I have cloud mask calculated by Idepix and my problem is I would like to have a layer with just two values - 0 for area without cloud and 1 for cloud (or other classification - for raster analyses) , but cloud mask does not have these two discrete values but range from 254.004 (shown as no cloud) to 255 (shown as cloud) in my case.
My question are if I can classify this cloud mask as two discrete values or if there are other and betetr options how to do that - other tools/approaches. I want just layer with these two values that I could export to QGIS/GRASS and make some raster analysis there. I already tried to export this idepix cloud mask to QGIS and classify it there but result is all the time just black image. My last question is if it is possible to do all this procces in SNAP, or I should make cloud mask there and then do other steps in QGIS. Thank you.