natcap.invest.urban_nature_access.reporter

natcap.invest.urban_nature_access.reporter.get_min_max_for_vector_colorbar(datamin, datamax)

Get a min, max for colorbar range that ensures legend displays nicely

natcap.invest.urban_nature_access.reporter.report(file_registry: dict, args_dict: dict, model_spec: ModelSpec, target_html_filepath: str)

Generate an HTML summary of model results.

Parameters:
  • file_registry (dict) – The natcap.invest.FileRegistry.registry that was returned by the model’s execute method.

  • args_dict (dict) – The arguments that were passed to the model’s execute method.

  • model_spec (natcap.invest.spec.ModelSpec) – the model’s MODEL_SPEC.

  • target_html_filepath (str) – path to an HTML file to be generated by this function.

Returns:

None