Skip to content

Commit

Permalink
Update MSS inputs to DeltaCD-3 v0.9
Browse files Browse the repository at this point in the history
The MSS inputs were updated to work with DeltaCD-3 v0.9. The split table, subarea_info_split and landuse_split ratios were created. The landuse csv was trimmed back to 168 areas. GWrates, leach applied and drained and irrigation effeciency was also trimmed back to 168  areas. Adding Zhenlin's notes for MSS. Corrected some minor typos.

[Ticket: DETAW-97]
  • Loading branch information
seshrajagopal committed Jul 9, 2024
1 parent 29f2478 commit ee9189f
Show file tree
Hide file tree
Showing 17 changed files with 17,805 additions and 304 deletions.
3 changes: 3 additions & 0 deletions project_specific/mss/dcd_dsm2_mss1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ dcd:
path_groundwater_rates: "inputs/gwrates_dsm2_mss.csv"
path_dsm2_diversion_rates: "inputs/diversion_factors_dsm2_mss.csv"
path_dsm2_drainage_rates: "inputs/drainage_factors_dsm2_mss.csv"
path_split_table: "inputs/split_table_dsm2.csv"
path_subarea_info_split: "inputs/subarea_info_dsm2_split.csv"
path_landuse_split_ratios: "inputs/landuse_dsm2_split.csv"

# Output files
path_dcd_output: "outputs/dcd_areas_dsm2_mss1.nc"
Expand Down
3 changes: 3 additions & 0 deletions project_specific/mss/dcd_dsm2_mss2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ dcd:
path_groundwater_rates: "inputs/gwrates_dsm2_mss.csv"
path_dsm2_diversion_rates: "inputs/diversion_factors_dsm2_mss.csv"
path_dsm2_drainage_rates: "inputs/drainage_factors_dsm2_mss.csv"
path_split_table: "inputs/split_table_dsm2.csv"
path_subarea_info_split: "inputs/subarea_info_dsm2_split.csv"
path_landuse_split_ratios: "inputs/landuse_dsm2_split.csv"

# Output files
path_dcd_output: "outputs/dcd_areas_dsm2_mss2.nc"
Expand Down
28 changes: 28 additions & 0 deletions project_specific/mss/dcd_schism_mss1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dcd:
# Input files
# path_wateryear_types: "NODCU/WYTYPES"
path_subarea_info: "inputs/subarea_info_dsm2.csv"
path_irrigation_efficiency: "inputs/irrigation_efficiencies_dsm2_mss1.csv"
path_leach_applied: "inputs/leach_applied_dsm2.csv"
path_leach_drained: "inputs/leach_drained_dsm2.csv"
path_detaw_output: "outputs/detawoutput_schism_mss1.nc"
path_groundwater_rates: "inputs/gwrates_dsm2_mss.csv"
path_dsm2_diversion_rates: "inputs/diversion_factors_dsm2_mss.csv"
path_dsm2_drainage_rates: "inputs/drainage_factors_dsm2_mss.csv"
path_split_table: "inputs/split_table_dsm2.csv"
path_subarea_info_split: "inputs/subarea_info_dsm2_split.csv"
path_landuse_split_ratios: "inputs/landuse_dsm2_split.csv"

# Output files
path_dcd_output: "outputs/dcd_areas_schism_mss1.nc"
path_dcd_node_output: "outputs/dcd_schism_mss1.nc"

# DCD parameters
start_water_year: 1922
end_water_year: 2023
leach_scale: 1.0
runoff_rate: 0.75
deep_percolation_rate: 0.25
# For some models, e.g. DSM2, evaporation from waterbody may need to be
# handled as diversions. If so, use True for is_adding_waterbody_evaporation.
is_adding_waterbody_evaporation: False
28 changes: 28 additions & 0 deletions project_specific/mss/dcd_schism_mss2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dcd:
# Input files
# path_wateryear_types: "NODCU/WYTYPES"
path_subarea_info: "inputs/subarea_info_dsm2.csv"
path_irrigation_efficiency: "inputs/irrigation_efficiencies_dsm2_mss2.csv"
path_leach_applied: "inputs/leach_applied_dsm2.csv"
path_leach_drained: "inputs/leach_drained_dsm2.csv"
path_detaw_output: "outputs/detawoutput_schism_mss2.nc"
path_groundwater_rates: "inputs/gwrates_dsm2_mss.csv"
path_dsm2_diversion_rates: "inputs/diversion_factors_dsm2_mss.csv"
path_dsm2_drainage_rates: "inputs/drainage_factors_dsm2_mss.csv"
path_split_table: "inputs/split_table_dsm2.csv"
path_subarea_info_split: "inputs/subarea_info_dsm2_split.csv"
path_landuse_split_ratios: "inputs/landuse_dsm2_split.csv"

# Output files
path_dcd_output: "outputs/dcd_areas_schism_mss2.nc"
path_dcd_node_output: "outputs/dcd_schism_mss2.nc"

# DCD parameters
start_water_year: 1922
end_water_year: 2023
leach_scale: 1.0
runoff_rate: 0.75
deep_percolation_rate: 0.25
# For some models, e.g. DSM2, evaporation from waterbody may need to be
# handled as diversions. If so, use True for is_adding_waterbody_evaporation.
is_adding_waterbody_evaporation: False
57 changes: 57 additions & 0 deletions project_specific/mss/detaw_schism_mss1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#----------------------------------------------------------------------------
# DeltaCD v1.0 DETAW input file
#----------------------------------------------------------------------------
# DeltaCD estimates the Sacramento-San Joaquin Delta hydrology, including
# consumptive use, ground surface water balance, and channel depletion, given
# the climate and land use data.
#
# It could support the historical, planning or forecasting studies related to
# the Delta surface water quantity and quality. This version provides three
# options to estimate the Delta channel depletions in the customized output
# formats applied to three models: DSM2, SCHISM, and CALSIM. The model inputs
# and outputs of these options could be taken as the basis for developing
# various Delta water environmental studies.
#
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------

# DETAW input parameters
detaw:

#--------------------------------------------------------------------------
# OPTION 1 - DSM2
# DCD estimates the daily historical channel depletions,
# including diversions,drainages and seepage of DSM2 nodes.
# OPTION 2 - SCHISM
# DCD estimates the daily historical channel depletions without
# water surface evaporation. SCHISM itself can estimate the
# water surface evaporation of SCHISM simulation region.
# OPTION 3 - CALSIM3
# DCD estimates the monthly planning of channel depletions for
# seven Delta nodes of CALSIM3, monthly island deep percolations,
# and monthly island groundwater supplied to crop
# evapotranspiration.
target_model: "SCHISM"

#-------------------------------------------------
# Other model parameters
# FIXME Need more documentations here for parameters.
start_water_year: 1922
end_water_year: 2023
input_pcp: 'inputs/mm_pcp.csv'
input_temperature: 'inputs/LODI_PT.csv'
landuse : 'inputs/landuse_dsm2.csv'
et_correction: 'inputs/Percentage_mss1.csv'
critical: 'inputs/critical.csv'
noncritical: 'inputs/noncritical.csv'
calendar: 'inputs/calendar.txt'
# Model Output control
detaw_output: 'outputs/detawoutput_schism_mss1.nc'
precip_output: 'outputs/precip_schism_mss1.nc'
et_output: 'outputs/ET0_mss1.nc'
daily_output: 1
monthly_output: 1
yearly_output: 0
delta_output: 0
daily_output_unit: 1
for_dsm2_only: 1
57 changes: 57 additions & 0 deletions project_specific/mss/detaw_schism_mss2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#----------------------------------------------------------------------------
# DeltaCD v1.0 DETAW input file
#----------------------------------------------------------------------------
# DeltaCD estimates the Sacramento-San Joaquin Delta hydrology, including
# consumptive use, ground surface water balance, and channel depletion, given
# the climate and land use data.
#
# It could support the historical, planning or forecasting studies related to
# the Delta surface water quantity and quality. This version provides three
# options to estimate the Delta channel depletions in the customized output
# formats applied to three models: DSM2, SCHISM, and CALSIM. The model inputs
# and outputs of these options could be taken as the basis for developing
# various Delta water environmental studies.
#
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------

# DETAW input parameters
detaw:

#--------------------------------------------------------------------------
# OPTION 1 - DSM2
# DCD estimates the daily historical channel depletions,
# including diversions,drainages and seepage of DSM2 nodes.
# OPTION 2 - SCHISM
# DCD estimates the daily historical channel depletions without
# water surface evaporation. SCHISM itself can estimate the
# water surface evaporation of SCHISM simulation region.
# OPTION 3 - CALSIM3
# DCD estimates the monthly planning of channel depletions for
# seven Delta nodes of CALSIM3, monthly island deep percolations,
# and monthly island groundwater supplied to crop
# evapotranspiration.
target_model: "SCHISM"

#-------------------------------------------------
# Other model parameters
# FIXME Need more documentations here for parameters.
start_water_year: 1922
end_water_year: 2023
input_pcp: 'inputs/mm_pcp.csv'
input_temperature: 'inputs/LODI_PT.csv'
landuse : 'inputs/landuse_dsm2.csv'
et_correction: 'inputs/Percentage_mss2.csv'
critical: 'inputs/critical.csv'
noncritical: 'inputs/noncritical.csv'
calendar: 'inputs/calendar.txt'
# Model Output control
detaw_output: 'outputs/detawoutput_schism_mss2.nc'
precip_output: 'outputs/precip_schism_mss2.nc'
et_output: 'outputs/ET0_mss2.nc'
daily_output: 1
monthly_output: 1
yearly_output: 0
delta_output: 0
daily_output_unit: 1
for_dsm2_only: 1
Loading

0 comments on commit ee9189f

Please sign in to comment.