natcap.invest.recreation.recmodel_workspace_fetcher

InVEST recreation workspace fetcher.

natcap.invest.recreation.recmodel_workspace_fetcher.execute(args)

Fetch workspace from remote server.

After the call a .zip file exists at args[‘workspace_dir’] named args[‘workspace_id’] + ‘.zip’ and contains the zipped workspace of that model run.

Parameters:
  • args['workspace_dir'] (string) – path to workspace directory

  • args['hostname'] (string) – FQDN to recreation server

  • args['port'] (string or int) – port on hostname for recreation server

  • args['workspace_id'] (string) – workspace identifier

Returns:

None