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 |
Attributes
- cars.conf.input_parameters.STATIC_PARAMS_TAG = static_parameters
- cars.conf.input_parameters.read_input_parameters(filename)
Read an input parameters json file. Relative paths will be made absolute.
- Parameters
filename (str) – Path to json file
- Returns
The dictionary read from file
- Return type
dict
- cars.conf.input_parameters.create_img_tag_from_product_key(product_key: str)
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)
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.IMG1_TAG
- cars.conf.input_parameters.IMG2_TAG
- cars.conf.input_parameters.MODEL1_TAG
- cars.conf.input_parameters.MODEL2_TAG
- cars.conf.input_parameters.MODEL_TYPE_TAG = model_type
- 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.MASK1_CLASSES_TAG = mask1_classes
- cars.conf.input_parameters.MASK2_CLASSES_TAG = mask2_classes
- 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.INPUT_CONFIGURATION_SCHEMA
- cars.conf.input_parameters.InputConfigurationType