|
|
|
@ -12,9 +12,17 @@ from src.analysis.runup_models import sto06_individual, sto06
|
|
|
|
|
logging.config.fileConfig("./src/logging.conf", disable_existing_loggers=False)
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
|
MULTIPROCESS_THREADS = int(os.environ.get("MULTIPROCESS_THREADS", 4))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def forecast_twl(
|
|
|
|
|
df_tides, df_profiles, df_waves, df_profile_features, runup_function, n_processes=4, slope="foreshore"
|
|
|
|
|
df_tides,
|
|
|
|
|
df_profiles,
|
|
|
|
|
df_waves,
|
|
|
|
|
df_profile_features,
|
|
|
|
|
runup_function,
|
|
|
|
|
n_processes=MULTIPROCESS_THREADS,
|
|
|
|
|
slope="foreshore",
|
|
|
|
|
):
|
|
|
|
|
# Use df_waves as a base
|
|
|
|
|
df_twl = df_waves.copy()
|
|
|
|
|