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
Next revision Both sides next revision
lesson_19 [2020/02/10 22:24]
argemiro
lesson_19 [2020/02/18 10:29]
argemiro
Line 4: Line 4:
 \\ \\
 \\ \\
- 
 ==== What will you learn? ==== ==== What will you learn? ====
 +\\
   * Dinamica EGO wizard tools   * Dinamica EGO wizard tools
   * Creating Wizards   * Creating Wizards
   * Formatting Wizards ​   * Formatting Wizards ​
 \\ \\
-====== Wizards ​====== +==== Wizards ==== 
- +\\ 
-===== What is ===== +A Wizard is an easy way to create a presentation for a model developed in Dinamica EGO with formatted text, images and other graphical features. In a Wizard it is also possible alter the models'​ inputs to run an easy simulation without an advanced understanding of the Dinamica GUI and its functors. ​ 
- +\\ 
-A Wizard is an easy way to create a presentation for a model developed in Dinamica EGO with formatted ​ +A Wizard Tutorial is a sequence of pages containing formatted text, tables, images, diagrams, animations, embedded videos or any other internet browser compatible technology inserted by the author. Each page can contain general information about the model and the simulation inputs. Simulation inputs can be directly linked to script inputs, making it a fast and easy way to set parameters and run a simulation. 
-text, images and other graphical features. In a Wizard it is also possible alter the models'​inputs to run an easy simulation without an advanced understanding of the Dinamica GUI and its functors. A Wizard Tutorial is a  +\\ 
-sequence of pages containing formatted text, tables, images, diagrams, animations, embedded ​ +\\ 
-videos or any other internet browser compatible technology inserted by the author. Each page can contain general information ​ +{{ :​wizard:​wizard_presentation.png?​nolink&​900 |Wizard overview}} 
-about the model and the simulation inputs. Simulation inputs can be directly linked to script inputs, making +\\ 
-it a fast and easy way to set parameters and run a simulation. +{{ :​wizard:​wizard_model_correspondence.png?​nolink&​800 |Model-wizard correspondence}} 
- +\\ 
-[{{ :​wizard:​wizard_presentation.png?​nolink&​900 |Wizard overview}}] +An author ​can create his own Wizard Tutorial to present and explain its concepts and ideas. The Wizard Editor is a powerful tool to create text, format information and illustrations visually, include tables, and set inputs/​outputs. The author selects model script functors to include in the Wizard so not all functors are visible to Wizard users.  
-[{{ :​wizard:​wizard_model_correspondence.png?​nolink&​800 |Model-wizard correspondence}}] +\\ 
- +\\
-A model author ​creates their own Wizard Tutorial to present and explain its concepts and ideas. The Wizard Editor is a powerful tool to create text, format information and illustrations visually, include tables, and set inputs/​outputs. The author selects model script functors to include in the Wizard so not all functors are visible to Wizard users.  +
 {{ :​wizard:​editor1.png?​nolink&​700 |Wizard editor in use}} {{ :​wizard:​editor1.png?​nolink&​700 |Wizard editor in use}}
- +\\ 
-So, if you are a model author, it is a good idea to create a wizard to make it easier for other users to understand +\\ 
-and run your model. +==== The Tool ==== 
- +\\ 
-===== The Tool ===== +The Wizard should be a logical sequence of pages, each using a graphical area to convey information and possibly ports linked to the model. This is a very clear idea that can be seen in the wizard editor. The following videos provide directions on using the wizard tool: 
- +\\
-It is important to present a extant hierarchy in a tutorial that guides the user through the model. ​The Wizard +
-should be a logical sequence of pages, each using a graphical area to convey information and possibly ports linked to the model. This is a very clear idea that can be seen in the wizard editor. The following videos provide directions on using the wizard tool: +
 {{youtube>​_Jc61ARsHuA?​medium}} {{youtube>​_Jc61ARsHuA?​medium}}
 +\\
 Here is how to run a Wizard in the current interface: Here is how to run a Wizard in the current interface:
 +\\
 {{youtube>​I7DPear5yao?​medium}} {{youtube>​I7DPear5yao?​medium}}
- +\\ 
-To open Wizart ​tool click on the edit bar in the menu: +To open the Wizard ​tool click on the edit bar in the menu: 
- +\\ 
-{{:wizard:​editor_menu.png?​nolink&​|Editor button in menu}} +{{wizard:​editor_menu.png?​nolink&​|Editor button in menu}} 
- +\\ 
-It has an intuitive interface that we are going to learn how to use through the examples. +It has an intuitive interface that we are going to learn how to use through the following ​examples. 
- +\\ 
-{{:wizard:​editor_interface.png?​nolink&​|Wizard editor intuitive interface}} +{{wizard:​editor_interface.png?​nolink&​|Wizard editor intuitive interface}} 
- +\\ 
-===== Examples ===== +=== Simple Wizard === 
- +\\ 
-==== Simple Wizard ​==== +Lets start with a quick example where we create a wizard for a script that performs only a simple map algebra operation. 
- +\\
-Lets start with a quick example where we create a wizard for a script that performs only a simple map +
-algebra operation. +
 We are going to need the functors: We are going to need the functors:
   * [[Load Map]]   * [[Load Map]]
Line 62: Line 54:
   * [[Number Map]]   * [[Number Map]]
   * [[Save Map]]   * [[Save Map]]
 +\\
 === Building the model === === Building the model ===
- +\\ 
-How we build the model: +Assemble ​the functors according to the following picture. 
 +\\ 
 +\\
 {{:​wizard:​model.png?​nolink&​|Simple model}} {{:​wizard:​model.png?​nolink&​|Simple model}}
- +\\ 
-In the [[Calculate Map]] we are going to perform a simple operation with the input that is filter the +\\ 
-values equals to **null**, set them to **1** and set **0** to the others. +In the [[Calculate Map]] we are going to perform a simple operation with the input that, for values equals to **null**, set them to **1** **0** to the others. 
 +\\ 
 +\\
 {{:​wizard:​expression.png?​nolink&​|Expression used to filter the input map null values}} {{:​wizard:​expression.png?​nolink&​|Expression used to filter the input map null values}}
 +\\ 
 +\\
 === Creating the Wizard === === Creating the Wizard ===
 +\\
 To create a wizard o need first to save your model. Save it with XML extension and open the wizard To create a wizard o need first to save your model. Save it with XML extension and open the wizard
 editor. ​ editor. ​
Line 212: Line 207:
  
 {{:​wizard:​run_wizard_button_toolbar.png?​nolink&​|Run wizard button in tool bar}} {{:​wizard:​run_wizard_button_toolbar.png?​nolink&​|Run wizard button in tool bar}}
- 
- 
 \\ \\
 \\ \\
-Congratulations,​ you have successfully completed this lesson! ​Now let’s move to the **next lesson:​** ​[[lesson_20|LESSON 20Dinamica EGO and R Coupling]]+===Congratulations,​ you have successfully completed this lesson!=== 
 +\\ 
 +[[lesson_20|Next Lesson]] 
 +\\ 
 +☞[[:guidebook_start| Back to Guidebook Start]]