Skip to content

Commit 5d34c31

Browse files
authored
Merge pull request #2 from yixinmao/master
Code update/cleanup for HESS paper publication
2 parents c96a9bb + 8fd22e8 commit 5d34c31

File tree

114 files changed

+18771
-4051
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+18771
-4051
lines changed

RVIC

control/gen_synthetic_meas/ArkRed/LAI_from_veglib/sm_0.5.prec_0.3.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ root_dir = /civil/hydro/ymao/data_assim/
88
# VIC image driver executable file
99
exe = VIC/vic/drivers/image/vic_image.exe
1010
# MPI exe (this is absolute path!!!)
11-
mpi_exe = mpiexec.hydra
11+
mpi_exe = mpirun
1212
# VIC global template file
1313
vic_global_template = control/vic/ArkRed.Maurer_param.LAI_from_veglib/global.template.txt
1414
# Model step per day. This is VIC model running timestep

control/gen_synthetic_meas/ArkRed/LAI_from_veglib/sm_0.5.prec_1.cfg

Lines changed: 0 additions & 64 deletions
This file was deleted.

control/gen_synthetic_meas/small_basins/arkansas/LAI_from_veglib/sm_0.5.prec_0.3.cfg

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
#######################################################################
2+
# VIC Model Parameters for Stehekin Basin Sample Image Driver Setup
3+
#######################################################################
4+
5+
#######################################################################
6+
# Simulation Parameters
7+
#######################################################################
8+
MODEL_STEPS_PER_DAY 8 # number of model time steps in 24 hour period
9+
SNOW_STEPS_PER_DAY 8 # number of snow model time steps in 24 hour period
10+
RUNOFF_STEPS_PER_DAY 8 # number of runoff time steps in 24 hour period
11+
12+
STARTYEAR 2015 # year model simulation starts
13+
STARTMONTH 01 # month model simulation starts
14+
STARTDAY 01 # day model simulation starts
15+
STARTSEC 0 # second model simulation starts
16+
ENDYEAR 2017
17+
ENDMONTH 12
18+
ENDDAY 31
19+
20+
CALENDAR PROLEPTIC_GREGORIAN
21+
22+
FULL_ENERGY FALSE # calculate full energy balance
23+
FROZEN_SOIL FALSE # calculate frozen soils
24+
25+
#######################################################################
26+
27+
#######################################################################
28+
# DOMAIN INFO
29+
#######################################################################
30+
DOMAIN /gscratch/hydro/ymao/data_assim/param/vic/small_basins/domain.arkansas.nc
31+
DOMAIN_TYPE LAT lat
32+
DOMAIN_TYPE LON lon
33+
DOMAIN_TYPE MASK mask
34+
DOMAIN_TYPE AREA area
35+
DOMAIN_TYPE FRAC frac
36+
DOMAIN_TYPE YDIM lat
37+
DOMAIN_TYPE XDIM lon
38+
39+
######################################################################
40+
## State Files and Parameters
41+
########################################################################
42+
INIT_STATE $init_state
43+
#STATENAME $state_dir/state # Output state file path/prefix. The time (STATEYEAR,STATEMONTH,STATEDAY,STATESEC) will be appended to the prefix automatically in the format yyyymmdd.
44+
#STATEYEAR 2018 # year to save model state
45+
#STATEMONTH 01 # month to save model state
46+
#STATEDAY 01 # day to save model state
47+
#STATESEC 0 # second to save model state
48+
#STATE_FORMAT NETCDF4_CLASSIC # State file format, valid options: NETCDF3_CLASSIC, NETCDF3_64BIT_OFFSET, NETCDF4_CLASSIC, NETCDF4
49+
50+
#######################################################################
51+
# Forcing Files and Parameters
52+
# netcdf forcing files will be of the form: <FORCING1>YYYY.nc
53+
#######################################################################
54+
FORCING1 /gscratch/hydro/ymao/data_assim/tools/prepare_vic_forcing/output/GPM_ArkRed/force_with_NLDAS2/small_basins/arkansas/force.
55+
FORCE_TYPE AIR_TEMP AIR_TEMP # Average air temperature, C
56+
FORCE_TYPE PREC PREC # Total precipitation (rain and snow), mm
57+
FORCE_TYPE PRESSURE PRESSURE # Atmospheric pressure, kPa
58+
FORCE_TYPE SWDOWN SHORTWAVE # Incoming shortwave, W/m2
59+
FORCE_TYPE LWDOWN LONGWAVE # Incoming longwave radiation, W/m2
60+
FORCE_TYPE VP VP # Vapor pressure, kPa
61+
FORCE_TYPE WIND WIND # Wind speed, m/s
62+
WIND_H 10.0 # height of wind speed measurement
63+
64+
#######################################################################
65+
# Land Surface Files and Parameters
66+
#######################################################################
67+
PARAMETERS $param_nc
68+
BASEFLOW NIJSSEN2001 # ARNO or NIJSSEN2001
69+
NODES 3 # number of soil thermal nodes
70+
SNOW_BAND False
71+
72+
#######################################################################
73+
# Output Files and Parameters
74+
#######################################################################
75+
RESULT_DIR $result_dir
76+
OUTFILE fluxes
77+
AGGFREQ NHOURS 3
78+
OUT_FORMAT NETCDF4
79+
COMPRESS 1
80+
81+
#OUTVAR OUT_RAINF
82+
OUTVAR OUT_RUNOFF
83+
OUTVAR OUT_BASEFLOW
84+
#OUTVAR OUT_EVAP
85+
#OUTVAR OUT_SWE
86+
#OUTVAR OUT_SOIL_MOIST
87+
#OUTVAR OUT_SNOW_MELT
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
#######################################################################
2+
# VIC Model Parameters for Stehekin Basin Sample Image Driver Setup
3+
#######################################################################
4+
5+
#######################################################################
6+
# Simulation Parameters
7+
#######################################################################
8+
MODEL_STEPS_PER_DAY 8 # number of model time steps in 24 hour period
9+
SNOW_STEPS_PER_DAY 8 # number of snow model time steps in 24 hour period
10+
RUNOFF_STEPS_PER_DAY 8 # number of runoff time steps in 24 hour period
11+
12+
STARTYEAR 2015 # year model simulation starts
13+
STARTMONTH 01 # month model simulation starts
14+
STARTDAY 01 # day model simulation starts
15+
STARTSEC 0 # second model simulation starts
16+
ENDYEAR 2017
17+
ENDMONTH 12
18+
ENDDAY 31
19+
20+
CALENDAR PROLEPTIC_GREGORIAN
21+
22+
FULL_ENERGY FALSE # calculate full energy balance
23+
FROZEN_SOIL FALSE # calculate frozen soils
24+
25+
#######################################################################
26+
27+
#######################################################################
28+
# DOMAIN INFO
29+
#######################################################################
30+
DOMAIN /gscratch/hydro/ymao/data_assim/param/vic/small_basins/domain.arkansas.nc
31+
DOMAIN_TYPE LAT lat
32+
DOMAIN_TYPE LON lon
33+
DOMAIN_TYPE MASK mask
34+
DOMAIN_TYPE AREA area
35+
DOMAIN_TYPE FRAC frac
36+
DOMAIN_TYPE YDIM lat
37+
DOMAIN_TYPE XDIM lon
38+
39+
######################################################################
40+
## State Files and Parameters
41+
########################################################################
42+
INIT_STATE /gscratch/hydro/ymao/data_assim/output/vic/ArkRed/LAI_from_veglib/spinup.1979_2014.2014start/states/small_basins/state.2014start.20150101_00000.arkansas.nc
43+
STATENAME $state_dir/state # Output state file path/prefix. The time (STATEYEAR,STATEMONTH,STATEDAY,STATESEC) will be appended to the prefix automatically in the format yyyymmdd.
44+
STATEYEAR 2018 # year to save model state
45+
STATEMONTH 01 # month to save model state
46+
STATEDAY 01 # day to save model state
47+
STATESEC 0 # second to save model state
48+
STATE_FORMAT NETCDF4_CLASSIC # State file format, valid options: NETCDF3_CLASSIC, NETCDF3_64BIT_OFFSET, NETCDF4_CLASSIC, NETCDF4
49+
50+
#######################################################################
51+
# Forcing Files and Parameters
52+
# netcdf forcing files will be of the form: <FORCING1>YYYY.nc
53+
#######################################################################
54+
FORCING1 /gscratch/hydro/ymao/data_assim/tools/prepare_vic_forcing/output/GPM_ArkRed/force_with_NLDAS2/small_basins/arkansas/force.
55+
FORCE_TYPE AIR_TEMP AIR_TEMP # Average air temperature, C
56+
FORCE_TYPE PREC PREC # Total precipitation (rain and snow), mm
57+
FORCE_TYPE PRESSURE PRESSURE # Atmospheric pressure, kPa
58+
FORCE_TYPE SWDOWN SHORTWAVE # Incoming shortwave, W/m2
59+
FORCE_TYPE LWDOWN LONGWAVE # Incoming longwave radiation, W/m2
60+
FORCE_TYPE VP VP # Vapor pressure, kPa
61+
FORCE_TYPE WIND WIND # Wind speed, m/s
62+
WIND_H 10.0 # height of wind speed measurement
63+
64+
#######################################################################
65+
# Land Surface Files and Parameters
66+
#######################################################################
67+
PARAMETERS $param_nc
68+
BASEFLOW NIJSSEN2001 # ARNO or NIJSSEN2001
69+
NODES 3 # number of soil thermal nodes
70+
SNOW_BAND False
71+
72+
#######################################################################
73+
# Output Files and Parameters
74+
#######################################################################
75+
RESULT_DIR $result_dir
76+
OUTFILE fluxes
77+
AGGFREQ NYEARS 1
78+
OUT_FORMAT NETCDF4
79+
COMPRESS 1
80+
81+
OUTVAR OUT_RAINF
82+
OUTVAR OUT_RUNOFF
83+
OUTVAR OUT_BASEFLOW
84+
OUTVAR OUT_EVAP
85+
OUTVAR OUT_SWE
86+
OUTVAR OUT_SOIL_MOIST
87+
OUTVAR OUT_SNOW_MELT
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[VIC]
2+
vic_exe = /gscratch/hydro/ymao/data_assim/VIC/vic/drivers/image/vic_image.exe
3+
mpi_exe = mpiexec.hydra
4+
mpi_proc = 1
5+
vic_param_nc_template = /gscratch/hydro/ymao/data_assim/param/vic/small_basins/param.arkansas.Maurer.LAI_from_veglib.nc
6+
# global template for running 2015-2017 as spinup of new parameters
7+
vic_global_template_spinup = /gscratch/hydro/ymao/data_assim/control/mocom/calib_v1/arkansas/global.template.spinup_2015_2017.txt
8+
# global template for running 2015-2017 for calibration statistics
9+
vic_global_template_calib = /gscratch/hydro/ymao/data_assim/control/mocom/calib_v1/arkansas/global.template.calib_2015_2017.txt
10+
11+
[RVIC]
12+
rvic_convolve_template = /gscratch/hydro/ymao/data_assim/control/mocom/calib_v1/arkansas/rvic.convolve.template.cfg
13+
# Time lag between VIC/RVIC forcing and USGS local time [hour]
14+
time_lag = 6
15+
# Site name in RVIC
16+
site = arkansas
17+
18+
[USGS]
19+
# --- USGS streamflow data --- #
20+
usgs_data_txt = /gscratch/hydro/ymao/data_assim/data/USGS/Crow_2017/sites_in_ArkRed/07144200.txt
21+
22+
[TIME]
23+
# --- Time period for calculating statistics --- #
24+
start_time = 2015-03-31-00
25+
end_time = 2017-12-30-21
26+

0 commit comments

Comments
 (0)