DebugOnly

ClimaCore.DebugOnlyModule
DebugOnly

Module for debugging tools. The tools in this module are subject to change without warning and are not supported for production use.

source
ClimaCore.DebugOnly.post_op_callbackFunction
post_op_callback(result, args...; kwargs...)

Callback applied to the result of every data operation when call_post_op_callback returns true.

The function has no methods by default: it is a debugging hook, and users add the method that checks what they need (see example_debug_post_op_callback).

This function is called from every data operation, so expensive work performed in post_op_callback slows down the whole code.

source