Remove extra, uneeded comments

develop
Chris Leaman 6 years ago
parent 5a8990df60
commit ca1add7fa7

@ -36,7 +36,6 @@ def forecast_twl(
# cross-section profiles once per site. # cross-section profiles once per site.
logger.info("Calculating beach slopes") logger.info("Calculating beach slopes")
site_ids = df_twl.index.get_level_values("site_id").unique() site_ids = df_twl.index.get_level_values("site_id").unique()
# site_ids = [x for x in site_ids if 'NARRA' in x] # todo remove this - for testing narrabeen only
if slope == "foreshore": if slope == "foreshore":
# Process each site_id with a different process and combine results at the end # Process each site_id with a different process and combine results at the end
@ -47,7 +46,6 @@ def forecast_twl(
df_twl["beta"] = pd.concat(results) df_twl["beta"] = pd.concat(results)
elif slope == "mean": elif slope == "mean":
# todo mean beach profile
df_temp = df_twl.join(df_profile_features, how="inner") df_temp = df_twl.join(df_profile_features, how="inner")
df_temp["mhw"] = 0.5 df_temp["mhw"] = 0.5
with Pool(processes=n_processes) as pool: with Pool(processes=n_processes) as pool:

Loading…
Cancel
Save