natcap.invest.ui package

Submodules

natcap.invest.ui.carbon module

natcap.invest.ui.cbc module

natcap.invest.ui.crop_production module

natcap.invest.ui.cv module

natcap.invest.ui.execution module

natcap.invest.ui.finfish module

natcap.invest.ui.fisheries module

natcap.invest.ui.forest_carbon module

natcap.invest.ui.globio module

natcap.invest.ui.habitat_quality module

natcap.invest.ui.hra module

natcap.invest.ui.hydropower module

natcap.invest.ui.inputs module

natcap.invest.ui.launcher module

natcap.invest.ui.model module

natcap.invest.ui.ndr module

natcap.invest.ui.overlap_analysis module

natcap.invest.ui.pollination module

natcap.invest.ui.recreation module

natcap.invest.ui.routing module

natcap.invest.ui.scenario_gen module

natcap.invest.ui.scenic_quality module

natcap.invest.ui.sdr module

natcap.invest.ui.seasonal_water_yield module

natcap.invest.ui.usage module

Module to that provides functions for usage logging.

natcap.invest.ui.usage.log_run(*args, **kwds)

Context manager to log an InVEST model run and exit status.

Parameters:
  • module (string) – The string module name that identifies the model.
  • args (dict) – The full args dictionary.
Returns:

None

natcap.invest.ui.usage_logger module

Functions to assist with remote logging of InVEST usage.

class natcap.invest.ui.usage_logger.LoggingServer

Bases: object

RPC server for logging invest runs and getting database summaries.

log_invest_run
natcap.invest.ui.usage_logger.execute(args)

Function to start a remote procedure call server.

Parameters:
  • args['hostname'] (string) – network interface to bind to
  • args['port'] (int) – TCP port to bind to
Returns:

never

natcap.invest.ui.wave_energy module

natcap.invest.ui.wind_energy module

Module contents