isofit.configs.sections.implementation_config

class ImplementationConfig(sub_configdic=None)[source]

Bases: BaseConfigSection

mode

inversion, inversion_mcmc, and ‘simulation’.

Type:

str

Type:

Defines the operating mode for isofit. Current options are

inversion: InversionConfig

optional config for running in inversion mode.

Type:

InversionConfig

n_cores

number of cores to use.

Type:

int

task_inflation_factor

Submit task_inflation_factor*n_cores number of tasks.

Type:

int

ip_head

Ray - parameter. IP-head (for multi-node runs).

Type:

str

redis_password

Ray - parameter. Redis-password (for multi-node runs).

Type:

str

ray_include_dashboard

Ray - parameter. Boolean to include dashboard.

Type:

str

rte_configure_and_exit

Indicates that code should terminate as soon as all radiative transfer engine configuration files are written (without running them)

Type:

bool

rte_auto_rebuild

Flag indicating whether radiative transfer engines should automatically rebuild.

Type:

bool

ray_temp_dir

Overrides the standard ray temporary directory. Useful for multiuser systems.

Type:

str

ray_ignore_reinit_error

Boolean to tell ray to ignore re-initilaization. Can be convenient for multiple Isofit instances.

Type:

bool

io_buffer_size

Integer indicating how large (how many spectra) of chunks to read/process/write. A buffer size of 1 means pixels are processed independently. Large buffers can help prevent IO choke points, especially if the

Type:

bool

max_hash_table_size

The maximum size of inversion hash tables. Can provide speedups with redundant surfaces, but comes with increased memory costs.

Type:

int

debug_mode

A flag to run the code in debug mode, which circumvents ray.

Type:

bool