scenario.demo200_calibrate
来自「CA仿真模型中SLEUTH模型」· DEMO200_CALIBRATE 代码 · 共 434 行 · 第 1/2 页
DEMO200_CALIBRATE
434 行
# format: <location>.urban.<date>.[<user info>].gif # # URBAN_DATA= demo200.urban.1930.gif URBAN_DATA= demo200.urban.1950.gif URBAN_DATA= demo200.urban.1970.gif URBAN_DATA= demo200.urban.1990.gif # # Road data GIFs # format: <location>.roads.<date>.[<user info>].gif # ROAD_DATA= demo200.roads.1930.gif ROAD_DATA= demo200.roads.1950.gif ROAD_DATA= demo200.roads.1970.gif ROAD_DATA= demo200.roads.1990.gif # # Landuse data GIFs # format: <location>.landuse.<date>.[<user info>].gif # LANDUSE_DATA= demo200.landuse.1930.gif LANDUSE_DATA= demo200.landuse.1990.gif # # Excluded data GIF # format: <location>.excluded.[<user info>].gif # EXCLUDED_DATA= demo200.excluded.gif # # Slope data GIF # format: <location>.slope.[<user info>].gif # SLOPE_DATA= demo200.slope.gif # # Background data GIF # format: <location>.hillshade.[<user info>].gif # #BACKGROUND_DATA= demo200.hillshade.gif BACKGROUND_DATA= demo200.hillshade.water.gif # XI. OUTPUT IMAGES # WRITE_COLOR_KEY_IMAGES: Creates image maps of each colortable. # File name format: 'key_[type]_COLORMAP' # where [type] represents the colortable. # ECHO_IMAGE_FILES: Creates GIF of each input file used in that job. # File names format: 'echo_of_[input_filename]' # where [input_filename] represents the input name. # ANIMATION: if whirlgif has been compiled, and the WHIRLGIF_BINARY # path has been defined, animated gifs begining with the # file name 'animated' will be created in PREDICT mode. WRITE_COLOR_KEY_IMAGES(YES/NO)=noECHO_IMAGE_FILES(YES/NO)=noANIMATION(YES/NO)= no# XII. COLORTABLE SETTINGS # A. DATE COLOR SETTING # The date will automatically be placed in the lower left corner # of output images. DATE_COLOR may be designated in with red, green, # and blue values (format: <red_value, green_value, blue_value> ) # or with hexadecimal begining with '0X' (format: <0X######> ). #default DATE_COLOR= 0XFFFFFF white DATE_COLOR= 0XFFFFFF #white # B. URBAN (NON-LANDUSE) COLORTABLE SETTINGS # 1. URBAN MODE OUTPUTS # TEST mode: Annual images of simulated urban growth will be # created using SEED_COLOR to indicate urbanized areas.# CALIBRATE mode: Images will not be created. # PREDICT mode: Annual probability images of simulated urban # growth will be created using the PROBABILITY # _COLORTABLE. The initializing urban data will be # indicated by SEED_COLOR. # # 2. COLORTABLE SETTINGS # SEED_COLOR: initializing and extrapolated historic urban extent# WATER_COLOR: BACKGROUND_DATA is used as a backdrop for # simulated urban growth. If pixels in this file # contain the value zero (0), they will be filled # with the color value in WATER_COLOR. In this way, # major water bodies in a study area may be included # in output images. #SEED_COLOR= 0XFFFF00 #yellow SEED_COLOR= 249, 209, 110 #pale yellow #WATER_COLOR= 0X0000FF # blue WATER_COLOR= 20, 52, 214 # royal blue# 3. PROBABILITY COLORTABLE FOR URBAN GROWTH # For PREDICTION, annual probability images of urban growth # will be created using the monte carlo iterations. In these # images, the higher the value the more likely urbanizaion is. # In order to interpret these 'continuous' values more easily # they may be color classified by range. # # If 'hex' is not present then the range is transparent. # The transparent range must be the first on the list. # The max number of entries is 100. # PROBABILITY_COLOR: a color value in hexadecimal that indicates# a probability range. # low/upper: indicate the boundaries of the range. # # low, upper, hex, (Optional Name) PROBABILITY_COLOR= 0, 1, , #transparent PROBABILITY_COLOR= 1, 10, 0X00ff33, #greenPROBABILITY_COLOR= 10, 20, 0X00cc33, # PROBABILITY_COLOR= 20, 30, 0X009933, #PROBABILITY_COLOR= 30, 40, 0X006666, #bluePROBABILITY_COLOR= 40, 50, 0X003366, #PROBABILITY_COLOR= 50, 60, 0X000066, # PROBABILITY_COLOR= 60, 70, 0XFF6A6A, #lt orangePROBABILITY_COLOR= 70, 80, 0Xff7F00, #dark orangePROBABILITY_COLOR= 80, 90, 0Xff3E96, #violetredPROBABILITY_COLOR= 90, 100, 0Xff0033, #dark red # C. LAND COVER COLORTABLE # Land cover input images should be in grayscale GIF image format. # The 'pix' value indicates a land class grayscale pixel value in # the image. If desired, the model will create color classified # land cover output. The output colortable is designated by the # 'hex/rgb' values. # pix: input land class pixel value # name: text string indicating land class # flag: special case land classes # URB - urban class (area is included in urban input data # and will not be transitioned by deltatron) # UNC - unclass (NODATA areas in image) # EXC - excluded (land class will be ignored by deltatron) # hex/rgb: hexidecimal or rgb (red, green, blue) output colors # # pix, name, flag, hex/rgb, #comment LANDUSE_CLASS= 0, Unclass , UNC , 0X000000 LANDUSE_CLASS= 1, Urban , URB , 0X8b2323 #dark redLANDUSE_CLASS= 2, Agric , , 0Xffec8b #pale yellow LANDUSE_CLASS= 3, Range , , 0Xee9a49 #tan LANDUSE_CLASS= 4, Forest , , 0X006400 LANDUSE_CLASS= 5, Water , EXC , 0X104e8b LANDUSE_CLASS= 6, Wetland , , 0X483d8b LANDUSE_CLASS= 7, Barren , , 0Xeec591 # D. GROWTH TYPE IMAGE OUTPUT CONTROL AND COLORTABLE # # From here you can control the output of the Z grid # (urban growth) just after it is returned from the spr_spread() # function. In this way it is possible to see the different types # of growth that have occured for a particular growth cycle. # # VIEW_GROWTH_TYPES(YES/NO) provides an on/off # toggle to control whether the images are generated. # # GROWTH_TYPE_PRINT_WINDOW provides a print window # to control the amount of images created. # format: <start_run>,<end_run>,<start_monte_carlo>, # <end_monte_carlo>,<start_year>,<end_year> # for example: # GROWTH_TYPE_PRINT_WINDOW=run1,run2,mc1,mc2,year1,year2 # so images are only created when # run1<= current run <=run2 AND # mc1 <= current monte carlo <= mc2 AND # year1 <= currrent year <= year2 # # 0 == first VIEW_GROWTH_TYPES(YES/NO)=NO GROWTH_TYPE_PRINT_WINDOW=0,0,0,0,1995,2020 PHASE0G_GROWTH_COLOR= 0xff0000 # seed urban area PHASE1G_GROWTH_COLOR= 0X00ff00 # diffusion growth PHASE2G_GROWTH_COLOR= 0X0000ff # NOT USED PHASE3G_GROWTH_COLOR= 0Xffff00 # breed growth PHASE4G_GROWTH_COLOR= 0Xffffff # spread growth PHASE5G_GROWTH_COLOR= 0X00ffff # road influenced growth #************************************************************ # # E. DELTATRON AGING SECTION # # From here you can control the output of the deltatron grid # just before they are aged # # VIEW_DELTATRON_AGING(YES/NO) provides an on/off # toggle to control whether the images are generated. # # DELTATRON_PRINT_WINDOW provides a print window # to control the amount of images created. # format: <start_run>,<end_run>,<start_monte_carlo>, # <end_monte_carlo>,<start_year>,<end_year> # for example: # DELTATRON_PRINT_WINDOW=run1,run2,mc1,mc2,year1,year2 # so images are only created when # run1<= current run <=run2 AND # mc1 <= current monte carlo <= mc2 AND # year1 <= currrent year <= year2 # # 0 == first VIEW_DELTATRON_AGING(YES/NO)=NO DELTATRON_PRINT_WINDOW=0,0,0,0,1930,2020 DELTATRON_COLOR= 0x000000 # index 0 No or dead deltatron DELTATRON_COLOR= 0X00FF00 # index 1 age = 1 year DELTATRON_COLOR= 0X00D200 # index 2 age = 2 year DELTATRON_COLOR= 0X00AA00 # index 3 age = 3 year DELTATRON_COLOR= 0X008200 # index 4 age = 4 year DELTATRON_COLOR= 0X005A00 # index 5 age = 5 year # XIII. SELF-MODIFICATION PARAMETERS # SLEUTH is a self-modifying cellular automata. For more # information see our PROJECT GIGALOPOLIS web site# (www.ncgia.ucsb.edu/project/gig/About/abGrowth.htm) # and publications (and/or grep 'self modification' in code). ROAD_GRAV_SENSITIVITY=0.01 SLOPE_SENSITIVITY=0.1 CRITICAL_LOW=0.97 CRITICAL_HIGH=1.3 #CRITICAL_LOW=0.0 #CRITICAL_HIGH=10000000000000.0 CRITICAL_SLOPE=15.0 BOOM=1.01 BUST=0.09
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?