# coding=UTF-8
# -----------------------------------------------
# Generated by InVEST 3.5.0.post295+h31b33aa40623.d20181015 on 10/15/18 10:47:57
# Model: Seasonal Water Yield
import sys
import logging

import natcap.invest.seasonal_water_yield.seasonal_water_yield

logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
logging.getLogger('taskgraph').setLevel(level=logging.WARN)

args = {
    u'alpha_m': u'1/12',
    u'aoi_path': u'data\\invest-data\\seasonal_water_yield\\watershed.shp',
    u'beta_i': u'1.0',
    u'biophysical_table_path': u'data\\invest-data\\seasonal_water_yield\\biophysical_table.csv',
    u'dem_raster_path': u'data\\invest-data\\seasonal_water_yield\\dem.tif',
    u'et0_dir': u'data\\invest-data\\seasonal_water_yield\\eto_dir',
    u'gamma': u'1.0',
    u'lulc_raster_path': u'data\\invest-data\\seasonal_water_yield\\lulc.tif',
    u'monthly_alpha': False,
    u'precip_dir': u'data\\invest-data\\seasonal_water_yield\\precip_dir',
    u'rain_events_table_path': u'data\\invest-data\\seasonal_water_yield\\rain_events_table.csv',
    u'results_suffix': u'',
    u'soil_group_path': u'data\\invest-data\\seasonal_water_yield\\soil_group.tif',
    u'threshold_flow_accumulation': u'1000',
    u'user_defined_climate_zones': False,
    u'user_defined_local_recharge': False,
    u'workspace_dir': u'swy_test_workspace',
    'n_workers': 8,
}

if __name__ == '__main__':
    natcap.invest.seasonal_water_yield.seasonal_water_yield.execute(args)
