Upload Results

After a Cascade-AT model has finished running, we can upload the results to the IHME epi database.

Upload Script

cascade_at.executor.upload.upload_prior(context, rh)[source]

Uploads the saved priors to the epi database in the table epi.model_prior..

Parameters
Return type

None

cascade_at.executor.upload.upload_fit(context, rh)[source]

Uploads the saved final results to a the epi database in the table epi.model_estimate_fit. . :type rh: ResultsHandler :param rh: a Results Handler object :type context: Context :param context: A context object

Return type

None

cascade_at.executor.upload.upload_final(context, rh)[source]

Uploads the saved final results to a the epi database in the table epi.model_estimate_final.

Parameters
Return type

None

cascade_at.executor.upload.format_upload(model_version_id, final=False, fit=False, prior=False)[source]
Return type

None

Upload Cascade Operation

class cascade_at.cascade.cascade_operations.Upload(model_version_id, final=False, fit=False, prior=False, **kwargs)[source]

Bases: cascade_at.cascade.cascade_operations._CascadeOperation

The base class for a cascade operation.

Parameters
  • upstream_commands – A list of commands that are upstream to this operation. This means that it will be run before this operation.

  • executor_parameters – Optional dictionary of execution parameters that updates the execution parameters DEFAULT_EXECUTOR_PARAMETERS