Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Proportion of cities in surface data

Status
Not open for further replies.

oleson

Keith Oleson
CSEG and Liaisons
Staff member
Year 2000 surface datasets are the standard dataset we supply. Historical datasets run up through year 2014. So you could create a year 2014 surface dataset. After year 2014, the SSPs are used to prescribe landcover. See the end of this post to see how to do that with an SSP:

 

lby

lby
Member
PCT_URBAN is the percent of each urban density type. The density types in order are tall building district (TBD), high density (HD), and medium density (MD). If you change those percentages, e.g, increase them, then you'll need to decrease some other surface type (e.g., PCT_NATVEG, PCT_CROP, PCT_LAKE, etc.). The sum of PCT_URBAN, PCT_NATVEG, PCT_CROP, PCT_LAKE, PCT_GLACIER, PCT_WETLAND needs to be 100%.
Hi oleson, I had some problems modifying PCT_URBAN. I wanted to change PCT_URBAN to 1.5 times the original, and then recalculated the other PCTS. Modify the code as follows:
CT_URBAN1 = PCT_URBAN * 1.5

APCT_URBAN = dim_sum_n_Wrap(PCT_URBAN1, 0)
printVarSummary(APCT_URBAN)
total_pct =PCT_CROP + PCT_GLACIER + PCT_LAKE + PCT_NATVEG + PCT_WETLAND + APCT_URBAN
total_pct = total_pct + 1e-10

PCT_URBAN1(0,:,:) = PCT_URBAN1(0,:,:) * 100 / total_pct
PCT_URBAN1(1,:,:) = PCT_URBAN1(1,:,:) * 100 / total_pct
PCT_URBAN1(2,:,:) = PCT_URBAN1(2,:,:) * 100 / total_pct
PCT_CROP = PCT_CROP * 100 / total_pct
PCT_GLACIER = PCT_GLACIER * 100 / total_pct
PCT_LAKE = PCT_LAKE * 100 / total_pct
PCT_NATVEG = PCT_NATVEG * 100 / total_pct
PCT_WETLAND = PCT_WETLAND * 100 / total_pct

However, the model cannot be submitted after the modification is successful.
ERROR: BUILD FAIL: cism.buildlib failed, cat /share/home/lililei1/lili/ymqin/byli/city/runout/4glob_alb63_em27_c63_50%city/bld/glc.bldlog.230919-205000
The log file is attached. How should I adjust it?
 
Status
Not open for further replies.
Top