pygcam.mcs.explorer

API

pygcam.mcs.explorer.cached(func)

Simple decorator to cache results keyed on method args plus project name. Note that this is not general purpose, but specialized for the McsData class.

pygcam.mcs.explorer.generateDropdownDefaults(app, ids)

Generate dropdown default-setting using the ‘callback’ decorator function.

Parameters:
  • app – a Dash app instance
  • ids – (list(str)) ids of Dropdown controllers to generate callbacks for.
Returns:

none