Skip to content

[best practices] Optimal parameters for rain forest region #94

@hmvege

Description

@hmvege

Hello all,

I am curious to know if there exists a set of best practices when it comes to running MAJA on ROI covering a rain forest, where the number of cloudy days are > 350, what would be the best way forward?

Running with default settings did unfortunately produce a large amount of false negatives. In the example below I've extracted the cloud mask from the CLM_R1.tif-tile as any bit != 0. A section of the tile T49NEA is seen below:

cloud-mask

From reading #91 I understood that one should in general use more products for the backwards step when there are many cloudy images. There are also a whole host of settings exposed in the L2COMM GIPP file, which I wonder if may need some tweaking.

When running MAJA with following example settings,

$ startmaja -t T49NEA -f /src/maja/folder.txt -d 2019-03-01 -e 2019-09-30 --output_format natif --platform sentinel2 --nbackward 16

I encounter the following warning for (what it seems) every band of every input tile(lightly formatted with line breaks to fit line better):

2021-11-02 16:23:03 [93] WARNING MAJA 4.4 get_detfoo_index_shift:925 
Sentinel2L1ImageFileReaderBase::get_detfoo_index_shift: The detector indices are not in ascending order or do not have a constant shift with the feature indices in the MSK_DETFOO 
/src/maja/work/Start_maja_956da6b0be00592fb2dcf58eefd6d18b/S2A_MSIL1C_20190422T024551_N0207_R132_T49NEA_20190422T071959.SAFE/GRANULE/L1C_T49NEA_A020006_20190422T030127/../../GRANULE/L1C_T49NEA_A020006_20190422T030127/QI_DATA/MSK_DETFOO_B04.gml !

which from reading the aforementioned issue, the reason for this seems to be due to a large amount of clouds present in the imagery (but I may be wrong).

Note that I am running a containerized version of MAJA, built as suggested in issue 80 here and partly with the example seen here.

To verify that MAJA the install is correct and the settings for T49NEA work for other regions, I run MAJA on a region (T32VNM) and time where cloud free scenes exist and compared with sen2cor. Cloud masking on the left is in white, slightly opaque, for MAJA, and on the right, sen2cor cloud mask is seen with pixels blacked out(but clearly not covering all of the clouds).

maja-vs-sen2corr-32vnm

To summarize:

  • What settings are recommended for running MAJA on tile products of a rain forest, where the large majority of available images are partly of entirely clouded?
  • Is it recommended to provide a clear-sky-reference or similar, although that may not exist in all cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions