I2FeaturesToGrid
builders
Name |
Default Value |
Description |
Type |
Mandatory |
Name |
|---|---|---|---|---|---|
[‘I2Classification’] |
The name of the class defining the builder. |
list |
False |
||
/path/to/iota2/sources |
The path to user builders. |
str |
False |
Notes
builders_class_name
Available builders are : ‘I2Classification’, ‘I2FeaturesMap’ and ‘I2Obia’.
builders_paths
If not indicated, the iota2 source directory is used: */iota2/sequence_builders/.
chain
Name |
Default Value |
Description |
Type |
Mandatory |
Name |
|---|---|---|---|---|---|
features_path |
None |
Input directory containing features as rasters. |
str |
False |
features_path |
from_rasterdb_resampling_method |
nn |
Output features type choice among app_Superimpose.html#parameters. Enabled if chain.rasters_grid_path is set. |
str |
False |
from_rasterdb_resampling_method |
from_vectordb_resampling_method |
near |
Output features type choice among gdalwarp.html#cmdoption-gdalwarp-r. Enabled if chain.grid is set. |
str |
False |
from_vectordb_resampling_method |
grid |
None |
Input grid to fit. |
str |
False |
grid |
list_tile |
None |
List of tiles to process, separated by space. |
str |
True |
list_tile |
out_worldclim_dtype |
float32 |
Output WorldClim data type, ie : ‘uint16’, ‘float32’. |
np.dtype |
False |
out_worldclim_dtype |
out_worldclim_rescale_range |
None |
Rescale WorldClim data between 0 and max(np.dtype) at run time for RAM usage purpose. |
np.dtype |
False |
out_worldclim_rescale_range |
output_features_pix_type |
float |
Output features type choice among uint8/uint16/int16/uint32/int32/float/double. |
str |
False |
output_features_pix_type |
None |
Absolute path to the output directory |
str |
True |
||
None |
Input grid to fit. |
str |
False |
||
2 |
OTB radius for bicubic interpolation. |
int |
False |
||
None |
Sentinel-1 data directory |
str |
False |
||
s2_path |
None |
Absolute path to Sentinel-2 images (THEIA format). |
str |
False |
s2_path |
[] |
Output spatial resolution. |
list or scalar |
True |
||
srtm_path |
None |
Path to a directory containing srtm data. |
str |
False |
srtm_path |
tile_field |
None |
Column name in ‘grid’ containing tile’s name. |
str |
False |
tile_field |
worldclim_path |
None |
Path to a directory containing WorldClim data. |
str |
False |
worldclim_path |
Notes
output_path
Absolute path to the output directory. It is recommended to have one directory per run of the chain.
rasters_grid_path
All rasters must be in the same directory and must be named by tile ie : ‘T31TCJ.tif’.
resampling_bco_radius
OTB radius for bicubic interpolation. Enabled if ‘nn’ was set to bco in ‘from_rasterdb_resampling_method’ parameter.
s1_dir
The directory must contain all *.SAFE Sentinel-1 data.
spatial_resolution
The spatial resolution expected. It can be provided as integer or float, or as a list containing two values for non squared resolution.
pretrained_model
Name |
Default Value |
Description |
Type |
Mandatory |
Name |
|---|---|---|---|---|---|
boundary_buffer |
None |
List of boundary buffer size |
list |
False |
boundary_buffer |
None |
Predict function name. |
str |
False |
||
None |
Algorithm nature (classification or regression). |
str |
False |
||
None |
Serialized object containing the model. |
str |
False |
||
/path/to/iota2/sources |
Absolute path to the python module. |
str |
False |
Notes
function
This function must have the imposed signature. It does not accept any others parameters. All model dedicated parameters must be stored alongside the model.
mode
The python module must contains the predict function. It must handle all the potential dependencies and imports related to the correct model instantiation.
model
In the configuration file, the mandatory keys $REGION and $SEED must be present as they are replaced by iota2. In case of only one region, the region value is set to 1. Look at the documentation about the model constraints.
module
The python module must contain the predict function. It must handle all the potential dependencies and imports related to the correct model instantiation.