Skip to content

config

This module provides configuration for the global debugger via get_debugger

When loading, the configuration will be searched in the global environment variable NDSL_DEBUG_CONFIG

Configuration is a yaml file of the shape

stencils_or_class:
    - stencil_name
    - ClassName.orchestrated_method
    - ClassName.__call__
track_parameter_by_name:
    - name_of_variable
timestep_name: TopClassName
save_from_timestep: 3
save_all: False
dir_name: ./my/local/path
save_compute_domain_only: False

Functions:

Name Description
get_debugger

Retrieve the global debugger throughout the middleware, default to None if there is no configuration. Parameter "force_reload" will reload the configuration.