| product_id | Identifier of the ENVISAT product for which the bit-mask shall be created. This is used by the function to retreive the needed flags. |
| bm_expr | A string holding the logical expression for the defintion of the bit-mask. In a bit-mask expression, any number of the flag-names (found in the DDDB) can be composed with "(", ")", "NOT", "AND", "OR". Valid bit-mask expression are for example:
"flags.LAND OR flags.CLOUD" or "NOT flags.WATER AND flags.TURBID_S". |
| offset_x | across-track co-ordinate in pixel co-ordinates (zero-based) of the upper right corner of the source-region |
| offset_y | along-track co-ordinate in pixel co-ordinates (zero-based) of the upper right corner of the source-region |
| raster | the raster for the bit-mask. The data type of the raster must be either e_tid_uchar or e_tid_char. |