map2loop.config

class map2loop.config.Config(map_data, verbose_level=VerboseLevel.ALL)

Object that represents a sub-project. It is defined by some source data, a region of interest (bounding box or polygon) and some execution flags.

read_metadata(filename: str)

Helper function that turns json and hjson files into usable configuration dictionaries.

Args:

filename (string) : Path or url to metadata file

save_cmap(workflow: dict)

Create a colourmap for the model using the colour code