goblin_lite.resource_manager.directory

This module is used to create the directory structure for the CBM-Runner model. This is primarily used to create the directory structure for the SIT when attempting concurrent runs of the model.

Module Contents

Classes

Directories

Directories class is used to create the directory structure for the CBM-Runner model. This is primarily

class goblin_lite.resource_manager.directory.Directories(path)[source]

Directories class is used to create the directory structure for the CBM-Runner model. This is primarily used to create the directory structure for the SIT when attempting concurrent runs of the model.

Args:

path: str

The path to the directory where the directory structure will be created.

Attributes:

path: str

The path to the directory where the directory structure will be created.

paths_class: Paths

An instance of the Paths class from the cbm_runner package.

Methods:

create_database_directory(self):

Create the directory for the database.

create_cbm_directory(self):

Create the directory for the CBM-Runner model.

cbm_generated_input_directories(self, scenarios):

Create the directory for the generated input data for the CBM-Runner model.

create_goblin_directory_strucutre(self, scenarios):

Create the directory structure for the CBM-Runner model.

create_database_directory()[source]

Create the directory for the database.

Args:

None

Returns:

None

create_cbm_directory()[source]

Create the directory for the CBM-Runner model.

Args:

None

Returns:

None

cbm_generated_input_directories(scenarios)[source]

Create the directory for the generated input data for the CBM-Runner model.

Args:
scenarios: int

The number of scenarios to create directories for.

Returns:

None

create_goblin_directory_structure()[source]

Create the directory structure for the CBM-Runner model.

Args:
scenarios: int

The number of scenarios to create directories for.