Skip to content

Commit

Permalink
iSnobal - CSU - Add Cameron Pass configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jomey committed Jan 17, 2025
1 parent cbcb4cc commit ef03f86
Show file tree
Hide file tree
Showing 2 changed files with 303 additions and 0 deletions.
277 changes: 277 additions & 0 deletions iSnobal/CSU/configs/CP_awsm_2021.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,277 @@
################################################################################
# Files for DEM and vegetation
################################################################################

[topo]
filename: /projects/[email protected]/iSnobal-configs/CameronPass/topo.nc
sky_view_factor_angles: 16

################################################################################
# Dates to run model
################################################################################

[time]
time_step: 60
start_date: 2020-10-02 00:00
end_date: 2021-09-30 23:00
time_zone: utc


################################################################################
# Gridded datasets configurations
################################################################################

[gridded]
data_type: hrrr_grib
hrrr_directory: /pl/active/McGrath_Snow/HRRR
hrrr_sixth_hour_variables: precip_int
wrf_file: None
netcdf_file: None


################################################################################
# Air temperature distribution
################################################################################

[air_temp]
distribution: grid
grid_local: True
grid_method: cubic
grid_mask: False
grid_local_n: 25
detrend: True
detrend_slope: -1
min: -73.0
max: 47.0
dk_ncores: 32


################################################################################
# Vapor pressure distribution
################################################################################

[vapor_pressure]
distribution: grid
grid_local: True
grid_method: cubic
grid_mask: False
grid_local_n: 25
detrend: True
detrend_slope: -1
min: 20.0
max: 5000.0
dew_point_tolerance: 0.01
dew_point_nthreads: 32
dk_ncores: 32


################################################################################
# Wind speed and wind direction distribution
################################################################################

[wind]
distribution: grid
grid_local: False
grid_method: linear
grid_mask: True
min: 0.5
max: 25.0
wind_model: wind_ninja
wind_ninja_dir: /pl/active/McGrath_Snow/isnobal/CP_katana
wind_ninja_pref: topo_windninja_topo
wind_ninja_tz: utc
wind_ninja_dxdy: 200
wind_ninja_roughness: 0.01
wind_ninja_height: 5.0
detrend: False
detrend_slope: 1
station_peak: None
station_default: 11.4
veg_default: 0.0
veg_41: 3.3
veg_42: 3.3
veg_43: 11.4
veg_3011: 3.3
veg_3061: 3.3
reduction_factor: 1.0
dk_ncores: 32


######################################################################
# Precipitation distr
######################################################################

[precip]
distribution: grid
grid_local: True
grid_method: cubic
grid_mask: True
grid_local_n: 25
dk_ncores: 32
detrend: False
detrend_slope: 1
min: 0.0
max: None
precip_temp_method: wet_bulb
precip_rescaling_model: None
marks2017_timesteps_to_end_storms: 6
susong1999_timesteps_to_end_storms: 6
new_snow_density_model: susong1999
winstral_veg_3011: 0.7
station_adjust_for_undercatch: False
storm_mass_threshold: 1.0
storm_days_restart: /pl/active/McGrath_Snow/isnobal/wy2021/cp/run20201001/storm_days.nc


################################################################################
# Albedo distribution
################################################################################

[albedo]
grain_size: 100.0
max_grain: 700.0
dirt: 2.0
max: 1.0
min: 0.0
decay_method: date_method
grid_mask: True
date_method_start_decay: 2021-3-15
date_method_end_decay: 2021-6-15
date_method_decay_power: 0.714
date_method_veg_default: 0.2
date_method_veg_41: 0.36
date_method_veg_42: 0.36
date_method_veg_43: 0.25


################################################################################
# Cloud Factor - Fraction used to limit solar radiation Cloudy (0) - Sunny (1)
################################################################################

[cloud_factor]
grid_mask: True
dk_ncores: 32


################################################################################
# Solar radiation
################################################################################

[solar]
clear_opt_depth: 100.0
clear_tau: 0.2
clear_omega: 0.85
clear_gamma: 0.3
min: 0.0
max: 800.0
correct_cloud: True
correct_veg: True
correct_albedo: True


################################################################################
# Incoming thermal radiation
################################################################################

[thermal]
cloud_method: garen2005
distribution: grid
grid_local: False
grid_method: cubic
grid_mask: True
detrend: False
detrend_slope: 0
min: 0.0
max: 600.0
correct_veg: True
correct_terrain: True
correct_cloud: True
clear_sky_method: marks1979
marks1979_nthreads: 32


################################################################################
# Soil temperature
################################################################################

[soil_temp]
temp: -2.5


################################################################################
# Output variables
################################################################################

[output]
frequency: 1
variables: thermal, air_temp, vapor_pressure, wind_speed, net_solar, precip, precip_temp, percent_snow, snow_density, storm_days, cloud_factor, albedo_vis, albedo_ir
file_type: netcdf
input_backup: False
out_location: None
mask_output: False


################################################################################
# System variables and Logging
################################################################################

[system]
threading: False
time_out: None
qotw: True
queue_max_values: 1


[awsm master]
run_smrf: True
model_type: ipysnobal
mask_isnobal: False

[PATHS]
path_dr: /pl/active/McGrath_Snow/
basin: iSnobal
project_name: CP
project_description: Cameron Pass water year 2021
folder_date_style: day

[update depth]
update: False


################################################################################
# enter grid info for iSnobal
################################################################################

[GRID]
# thresh_normal: 60
# Medium mass threshold
# thresh_medium: 25
# thresh_small: 1

################################################################################
# model run files for iSnobal
################################################################################

[FILES]
init_type: netcdf_out
init_file: /pl/active/McGrath_Snow/isnobal/wy2021/cp/run20201001/snow.nc

[awsm system]
log_level: info
log_to_file: False
ithreads: 32

###################### variables for restarting iSnobal ####################
[isnobal restart]
restart_crash: False
depth_thresh: 0.00
wyh_restart_output: 0
output_folders: daily

[ipysnobal]
forcing_data_type: netcdf

[ipysnobal constants]
z_u: 5
z_T: 2

26 changes: 26 additions & 0 deletions iSnobal/CSU/configs/CP_katana.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[topo]
filename: /projects/[email protected]/iSnobal-configs/CameronPass/topo.nc
zone_number: 13
zone_letter: N

[time]
start_date: 2020-10-01 00:00:00 UTC
end_date: 2020-11-01 00:00:00 UTC

[input]
data_type: hrrr
hrrr_directory: /pl/active/McGrath_Snow/HRRR
hrrr_num_wgrib_threads: 24

[output]
out_location: /pl/active/McGrath_Snow/iSnobal/CP_katana/
wn_cfg: /projects/[email protected]/iSnobal-configs/CameronPass/katana.ini
make_new_gribs: true

[logging]
log_level: info
log_file: /pl/active/McGrath_Snow/iSnobal/CP_katana/katana.log

[wind_ninja]
mesh_resolution: 200
num_threads: 24

0 comments on commit ef03f86

Please sign in to comment.