cars.conf.input_parameters
This input module refers to parameters and configuration inputs
Module Contents
Functions
|
Read an input parameters json file. |
|
Create images tags from IMG_TAG_ROOT and the given product key |
|
Create images tags from MODEL_TAG_ROOT and the given product key |
|
Create images tags from MODEL_TAG_ROOT and the given product key |
Attributes
- cars.conf.input_parameters.STATIC_PARAMS_TAG = 'static_parameters'
- cars.conf.input_parameters.ConfigType
- cars.conf.input_parameters.read_input_parameters(filename: ConfigType) ConfigType [source]
Read an input parameters json file. Relative paths will be made absolute.
- Parameters
filename (ConfigType) – Path to json file
- Returns
The dictionary read from file
- Return type
ConfigType
- cars.conf.input_parameters.create_img_tag_from_product_key(product_key: str)[source]
Create images tags from IMG_TAG_ROOT and the given product key :param product_key: PRODUCT1_KEY or PRODUCT2_KEY :return: IMG1_TAG or IMG2_TAG
- cars.conf.input_parameters.create_model_tag_from_product_key(product_key: str)[source]
Create images tags from MODEL_TAG_ROOT and the given product key :param product_key: PRODUCT1_KEY or PRODUCT2_KEY :return: MODEL1_TAG or MODEL2_TAG
- cars.conf.input_parameters.create_model_type_tag_from_product_key(product_key: str)[source]
Create images tags from MODEL_TAG_ROOT and the given product key :param product_key: PRODUCT1_KEY or PRODUCT2_KEY :return: MODEL1_TAG or MODEL2_TAG
- cars.conf.input_parameters.INPUT_SECTION_TAG = 'input'
- cars.conf.input_parameters.PRODUCT1_KEY = '1'
- cars.conf.input_parameters.PRODUCT2_KEY = '2'
- cars.conf.input_parameters.IMG_TAG_ROOT = 'img'
- cars.conf.input_parameters.MODEL_TAG_ROOT = 'model'
- cars.conf.input_parameters.MODEL_TYPE_TAG_ROOT = 'model_type'
- cars.conf.input_parameters.IMG1_TAG
- cars.conf.input_parameters.IMG2_TAG
- cars.conf.input_parameters.MODEL1_TAG
- cars.conf.input_parameters.MODEL2_TAG
- cars.conf.input_parameters.MODEL1_TYPE_TAG
- cars.conf.input_parameters.MODEL2_TYPE_TAG
- cars.conf.input_parameters.SRTM_DIR_TAG = 'srtm_dir'
- cars.conf.input_parameters.COLOR1_TAG = 'color1'
- cars.conf.input_parameters.MASK1_TAG = 'mask1'
- cars.conf.input_parameters.MASK2_TAG = 'mask2'
- cars.conf.input_parameters.CLASSIFICATION1_TAG = 'classification1'
- cars.conf.input_parameters.CLASSIFICATION2_TAG = 'classification2'
- cars.conf.input_parameters.NODATA1_TAG = 'nodata1'
- cars.conf.input_parameters.NODATA2_TAG = 'nodata2'
- cars.conf.input_parameters.DEFAULT_ALT_TAG = 'default_alt'
- cars.conf.input_parameters.USE_EPIPOLAR_A_PRIORI = 'use_epipolar_a_priori'
- cars.conf.input_parameters.EPIPOLAR_A_PRIORI = 'epipolar_a_priori'
- cars.conf.input_parameters.INPUT_CONFIGURATION_SCHEMA