Parametrization
The FORCE openEO processes (force_level2 and force_tsa) accept most of the parameters that can be passed using FORCE’s native parametrization files (level 2, TSA). The exceptions to this rule are explained below.
There are 4 types of parameters that do not correspond exactly to the FORCE parameter files
- Special parameters that require translation (e.g., the area of interest)
- Additional parameters of the openEO integration (e.g., the processing
name) - FORCE parameters that are not exposed through the openEO API (e.g., the number of processes used for processing)
- Parameters that support only a subset of the possible values
Parameter names follow the openEO convention and have snake_case. Otherwise, the names are unchanged from those of the original parameter files. It is possible to inspect the processes (and see their parameters) using openEO’s describe_process method. See [processes.qmd] for more.
Parameter values may be strings (the same as in FORCE parameter files) or native python values which can be serialized to JSON. Values are converted to UPPERCASE before being passed into the parameter file.
Parameter values are passed as a dictionary to the arguments parameter of openeo.internal.graph_building.PGNode:
This process must be wrapped as a StacResource as described in FORCE level 2.
Examples
| FORCE parameter file | openEO |
|---|---|
PROJECTION = GLANCE7 |
projection = GLANCE7 |
DO_BRDF = TRUE |
do_brdf=True |
CLOUD_THRESHOLD = 0.225 |
cloud_threshold=0.255 |
FORCE Level 2
Special parameters
aoi: replaces theFILE_AOIparameter. Pass a geojson feature (instead of a shapefile). See also the aoi parameter description of level2dem: replaces digital elevation model specific parameters (FILE_DEM,DEM_RESAMPLING,DEM_NODATA). Only possible value isCopernicus_30m
openEO specific parameters
Check out the FORCE level 2 section of the guide to learn more about selecting and passing inputs.
stac_documentandstac_url: STAC documents describing the input products. Can be either an URLstac_urlor the content (stac_documentas a dictionary) of a STAC document. One of these parameters must be set.name: Give a name to the FORCE processing task. Determines the name of the STAC item describing the output data cube.
Partially supported parameters
projection: Only GLANCE7 (the default) is tested.output_format: SupportsGTiff,COG
Unsupported parameters
Input/Output directories (managed by the integration)
FILE_QUEUEDIR_LEVEL2DIR_LOGDIR_PROVENANCEDIR_TEMP
Parallel processing parameters (managed by the integration)
NPROCNTHREADPARALLEL_READSDELAYTIMEOUT_ZIP
FORCE Time Series Analysis
Special parameters
openEO specific parameters
Partially supported parameters
output_format: SupportsGTiff,COGtarget_sensor: Supports Sentinel-2 types:- SEN2A
- SEN2B
- SEN2C
- SEN2L
Unsupported parameters
Input/Output directories (managed by the integration)
DIR_LOWERDIR_HIGHERDIR_PROVENANCEDIR_MASK
Masking
DIR_MASKBASE_MASKREAD_ERROR_MASK
Output Options
FILE_OUTPUT_OPTIONS
Parallel processing (managed by the integration)
NTREHAD_READNTHREAD_COMPUTENTHREAD_WRITESTREAMING(TRUE)PRETTY_PROGRESS
Extent
FILE_TILE
Spectral Mixture Analysis
FILE_ENDMEM(NULL)SMA_SUM_TO_ONESMA_NON_NEGSMA_SHD_NORMSMA_ENDMEMBEROUTPUT_RMS
Python UDFs
FILE_PYTHONPYTHON_TYPEOUTPUT_PYP
R UDFs
FILE_RSTATSRSTATS_TYPEOUTPUT_RSP