Commit 585d41be authored by Modellers Operational's avatar Modellers Operational

Bug fix river make for turning off ltls temperatures for forecast

parent 2ae7b81a
......@@ -52,7 +52,7 @@ for this_river in river_list:
try:
this_river._expandDateSeries(start_date, end_date)
except:
pass
this_river.use_ltls_temp = False
# Get and write out the forecast predictions
grid = common_dir + '/' + grid_name + '_grd.dat'
......@@ -72,3 +72,5 @@ aqua_prep.add_rivers(positions, names, times, flux_array, temperature, salinity,
aqua_prep.check_rivers(max_discharge=400, min_depth=None, open_boundary_proximity=None, noisy=False)
aqua_prep.write_river_forcing(output_file, ersem=False)
aqua_prep.write_river_namelist(output_file_nml, output_file, vertical_distribution='uniform')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment