# coding=UTF-8
# -----------------------------------------------
# Generated by InVEST 3.16.0 on Fri Aug  1 11:10:58 2025
# Model: Sediment Delivery Ratio

import logging
import sys

import natcap.invest.sdr.sdr
import natcap.invest.utils

LOGGER = logging.getLogger(__name__)
root_logger = logging.getLogger()

handler = logging.StreamHandler(sys.stdout)
formatter = logging.Formatter(
    fmt=natcap.invest.utils.LOG_FMT,
    datefmt='%m/%d/%Y %H:%M:%S ')
handler.setFormatter(formatter)
logging.basicConfig(level=logging.INFO, handlers=[handler])

file_handler = logging.FileHandler('model_logs.txt')
root_logger.addHandler(file_handler)

args = {
    'biophysical_table_path': '',
    'dem_path': '',
    'drainage_path': '',
    'erodibility_path': '',
    'erosivity_path': '',
    'flow_dir_algorithm': 'D8',
    'ic_0_param': '',
    'k_param': '',
    'l_max': '',
    'lulc_path': '',
    'results_suffix': '',
    'sdr_max': '',
    'threshold_flow_accumulation': '',
    'watersheds_path': '',
    'workspace_dir': '',
}

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