Convert options_default.json to options_default.yaml?
YAML officially supports comments and is maybe a bit clearer:
general_opts:
# number of CPU cores to be used for processing (default: "None" -> use all available)
CPUs: "None"
# the logging level to be used (choices: 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL')
log_level: "INFO"
# whether to write all log messages to a file (within output the directory)
create_logfile: true
# input path of the EnMAP L1B image to be processed (zip-archive or root directory)
path_l1b_enmap_image: ""
# input path of an adjacent EnMAP L1B image to be used for gap-filling (zip-archive or root directory)
path_l1b_enmap_image_gapfill: ""
# input path of digital elevation model in map or sensor geometry; GDAL compatible file format
# (must cover the EnMAP L1B data completely if given in map geometry or must have the same
# pixel dimensions like the EnMAP L1B data if given in sensor geometry)
path_dem: ""
# Set to true in case of the preliminary, GFZ-internal dataformat as used for the
# Alpine test dataset. (default: False. Note: This will be removed in future.)
is_dummy_dataformat: false
# average elevation in meters above sea level; may be provided if no DEM is available;
# ignored if DEM is given
average_elevation: 0
# input path of the EnMAP SNR model
path_l1b_snr_model: "./resources/EnMAP_Sensor/EnMAP_Level_1B_SNR.zip"
# directory to be used for temporary files
working_dir: ""
# *Number of lines to be added to the main image [if None, use the whole path_l1b_enmap_image_gapfill].
# Requires path_l1b_enmap_image_gapfill to be set.
n_lines_to_append: "None"
# whether to disable all progress bars during processing
disable_progress_bars: false
output:
# output directory where processed data and log files are saved
output_dir: ""
# file format of all raster output files
# 'GTiff': GeoTIFF
# 'ENVI': ENVI BSQ*/
output_format: "GTiff"
# raster data interleaving type (default: 'pixel')
# - 'band': band-sequential (BSQ)
# - 'line': data interleaved-by-line (BIL; only usable for ENVI output format)
# - 'pixel' data interleaved-by-pixel (BIP)*/
output_interleave: "pixel"