Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
concept_of_region [2020/02/18 10:47]
argemiro
concept_of_region [2020/02/18 22:47] (current)
argemiro
Line 13: Line 13:
 {{ :​tutorial:​region1.jpg|}}\\ {{ :​tutorial:​region1.jpg|}}\\
 \\ \\
-This subset of functors permits division of a map into several regional maps, which can be input for separate models or submodels, whose parameters are customized for each map’s region. Let’s adapt the model ''​Calc_forest_remaining_per_state''​ (LINK) to use the concept of regions. First open the Region Tab in the library window.\\+This subset of functors permits division of a map into several regional maps, which can be input for separate models or submodels, whose parameters are customized for each map’s region. Let’s adapt the model ''​Calc_forest_remaining_per_state''​ (You can find this model in the folder: ''​\Guidebook_Dinamica_5\Models\using_concept_of_region''​) to use the concept of regions. First open the Region Tab in the library window.\\
 \\ \\
 \\ \\
Line 36: Line 36:
 <note tip>​**TIP**:​ it is easier to select everything to be placed within //[[:For Each Category]]//​ and then to take only //[[:Load Map]]// and //[[:Save Map]]// out of it.</​note>  ​ <note tip>​**TIP**:​ it is easier to select everything to be placed within //[[:For Each Category]]//​ and then to take only //[[:Load Map]]// and //[[:Save Map]]// out of it.</​note>  ​
  
-Now break the link between //[[:Load Categorical Map]]// and //​[[:​Calculate Map]]// (use the Remove Items tool and click on the arrow connecting both functors); next, connect the first to //[[:Region Manager]]// and to //[[:For Each Category]]//​ too. This map will control the regionalization process splitting the other maps into several regions according to its cell classes or categories through the functor //​[[:​Regionalize Map]]//. Drag this functor and place it within //[[:For Each Category]]//,​ break the link between Map ''​brazilian_amazon_lanscape.tif''​ and //​[[:​Calculate Map]]// and finally connect the first to //​[[:​Regionalize Map]]//​.  ​+Now break the link between //[[:Load Categorical Map]]// and //​[[:​Calculate Map]]// (use the Remove Items tool and click on the arrow connecting both functors); next, connect the first to //[[:Region Manager]]// and to //[[:For Each Category]]//​ too. This map will control the regionalization process splitting the other maps into several regions according to its cell classes or categories through the functor //​[[:​Regionalize Map]]//. Drag this functor and place it within //[[:For Each Category]]//,​ break the link between Map ''​brazilian_amazon_lanscape.tif'' ​(You can find this map in the folder: ''​\Guidebook_Dinamica_5\Database\using_concept_of_region''​) ​and //​[[:​Calculate Map]]// and finally connect the first to //​[[:​Regionalize Map]]//​.  ​
  
 {{ :​tutorial:​region6.jpg |}}\\ {{ :​tutorial:​region6.jpg |}}\\
 \\ \\
 Note that there are two //[[:Number Map]]// functors disconnected within //​[[:​Calculate Map]]//. You do not need the Map #2 and Value #1 anymore, so delete them. Now connect //​[[:​Regionalize Map]]// to Map #1. Open the [[:​Save ​ Note that there are two //[[:Number Map]]// functors disconnected within //​[[:​Calculate Map]]//. You do not need the Map #2 and Value #1 anymore, so delete them. Now connect //​[[:​Regionalize Map]]// to Map #1. Open the [[:​Save ​
-Lookup Table]] functor and change the file name to ''​remaining_forest_extent_per_state''​. Make sure it will be saved into folder ​lesson3.\\+Lookup Table]] functor and change the file name to ''​remaining_forest_extent_per_state''​. Make sure it will be saved into folder ​''​\Guidebook_Dinamica_5\Models\using_concept_of_region''​\\
 \\ \\
 {{ :​tutorial:​region7.jpg |}}\\ {{ :​tutorial:​region7.jpg |}}\\
Line 50: Line 50:
 {{ :​tutorial:​region5.jpg |}}\\ {{ :​tutorial:​region5.jpg |}}\\
 \\ \\
-Finally save the model as a new file ''​my_calc_forest_remaining_per_state_using_subregions.xml''​ into folder ​LINK (using_concept_of_regionand run it.\\ +Finally save the model as a new file ''​my_calc_forest_remaining_per_state_using_subregions.xml''​ into folder ​''​\Guidebook_Dinamica_5\Database\using_concept_of_region'' ​and run it.\\ 
 \\ \\
 Can you explain how this model works?\\ Can you explain how this model works?\\