Skip to content

Commit

Permalink
Set nlevurb for the urban-c-alpha site to 4 rather than 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Jul 26, 2023
1 parent 710c6cc commit 8fb8cae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion tools/mksurfdata_esmf/Makefile.data
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ vancouver : FORCE
# /glade/p/cesm/cseg/inputdata/lnd/clm2/surfdata_map/README_c141219
urban-alpha : FORCE
$(SUBSETDATA_POINT_URBAN) --create-surface $(SUBSETDATA_1X1_URBALPHA)
ncks --dmn nlevurb,0,4 surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000.nc surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000_tmp.nc
# Set number of nlevurb dimension to 4 for this site
ncks -O --dmn nlevurb,0,3 -o surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000_tmp.nc surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000.nc
$(MODIFYSURF) modify_1x1_urbanc_alpha.cfg -i surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000_tmp.nc -o surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000_c$(CDATE).nc
$(RM) surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000.nc surfdata_1x1_urbanc_alpha_hist_78pfts_CMIP6_simyr2000_tmp.nc

Expand Down
14 changes: 7 additions & 7 deletions tools/mksurfdata_esmf/modify_1x1_urbanc_alpha.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ ALB_ROOF_DIF = 0.21 0.21
ALB_WALL_DIR = 0.21 0.21
ALB_WALL_DIF = 0.21 0.21

# Variabls on nlevurb which is 5
TK_ROOF = 6.530 0.025 0.230 0.160 0.00
TK_WALL = 0.610 0.430 0.024 0.160 0.00
TK_IMPROAD = 1.170 0.300 0.300 0.420 0.00
CV_ROOF = 2070000.0 7100.0 1500000.0 670000.0 0.0
CV_WALL = 1250000.0 1400000.0 1300.0 670000.0 0.0
CV_IMPROAD = 1140000.0 1050000.0 1050000.0 1290000.0 0.0
# Variabls on nlevurb which is 4 for this site
TK_ROOF = 6.530 0.025 0.230 0.160
TK_WALL = 0.610 0.430 0.024 0.160
TK_IMPROAD = 1.170 0.300 0.300 0.420
CV_ROOF = 2070000.0 7100.0 1500000.0 670000.0
CV_WALL = 1250000.0 1400000.0 1300.0 670000.0
CV_IMPROAD = 1140000.0 1050000.0 1050000.0 1290000.0

# Natural and Crop PFT's don't really need to be set, since they have zero area, but
# it looks better to do so
Expand Down

0 comments on commit 8fb8cae

Please sign in to comment.