set_of_runs

Attributes

jobname

savedir

config_file

config_dict

run_type

x_vars

var_pairs

Functions

create_run_sub_dir(savedir, jobname, x_vars, run_type, ...)

Create a subdirectory given the set of parameters.

Module Contents

set_of_runs.jobname
set_of_runs.savedir = 'HPC_runs/_Uninferable/'
set_of_runs.config_file
set_of_runs.config_dict
set_of_runs.run_type
set_of_runs.create_run_sub_dir(savedir, jobname, x_vars, run_type, config_dict)

Create a subdirectory given the set of parameters.

Make a subdirectory for a run in a set of runs specified by the jobname and create the appropriate configuration file for that run.

Parameters:
  • savedir (str) – The base directory in which to create the subdirectory.

  • jobname (str) – The name of the job / set of runs.

  • x_vars (list) – The list of x variables to consider for this run

  • run_type (str) – The type of set of runs to do. Example: ‘zfi_set’ for a set of runs to test Zeroed Feature Importance.

  • config_dict (dict) – The configuration dictionary to modify for this run.

set_of_runs.x_vars
set_of_runs.var_pairs = [['no2', 'no2_tm1'], ['ssrd', 'sp'], ['u10', 'v10']]