...
 
......@@ -14,7 +14,6 @@ end_date = dt.datetime.strptime(sys.argv[4],'%Y-%m-%d_%H:%M:%S')
native_coordinates = sys.argv[5]
wrf_nc_file_str = sys.argv[6]
# Load the river model
with open('river_model.pk1','rb') as f:
river_dict = pk.load(f)
......
......@@ -173,12 +173,12 @@ BACKWARD_STEP = 1
[namelist:NML_RIVER_TYPE]
RIVER_NUMBER = 0
RIVER_KIND = 'variable'
RIVER_TS_SETTING = 'specified'
RIVER_TS_SETTING = ${RIVER_TS_SETTING}
RIVER_INFLOW_LOCATION = 'node'
RIVER_INFO_FILE = '${GRID_NAME}_riv.nml'
[namelist:NML_OPEN_BOUNDARY_CONTROL]
OBC_ON = T
OBC_ON = ${OBC_ON}
OBC_NODE_LIST_FILE = '${GRID_NAME}_obc.dat'
OBC_ELEVATION_FORCING_ON = ${ELEV_FORCE}
OBC_ELEVATION_FILE = '${GRID_NAME}_elevtide.nc'
......
......@@ -64,6 +64,8 @@ STARTUP_DMAX='-3'
HORIZONTAL_MIXING_COEFFICIENT='0.04'
VERTICAL_MIXING_COEFFICIENT='1.000000e-06'
COORDINATES='cartesian'
RIVER_TS_SETTING='calculated'
OBC_ON='F'
# Output options
NC_INTERVAL='seconds= 3600.'
......
......@@ -129,6 +129,8 @@
HEATING_ON={{HEATING_ON}}
PRECIPITATION_ON={{PRECIPITATION_ON}}
AIR_PRESSURE_ON={{AIR_PRESSURE_ON}}
OBC_ON={{OBC_ON}}
RIVER_TS_SETTING={{RIVER_TS_SETTING}}
TEMP_ACTIVE={{TEMP_ACTIVE}}
SALT_ACTIVE={{SALT_ACTIVE}}
......