One of the new things in Ilwis4 is the modeller. The modeller is a complex set of tools that tries to “model” the behaviour of dynamic spatial systems in several conceptual layers. In a crude way, one could say that it is a GUI for the script. This is essentially true, but it doesn’t do justice to the whole idea behind the modeller.
The ideas around it are still being developed, but basically (as it looks now) it contains a number of layers.
- Workflow builder: The lowest layer is the workflow builder. This is similar to “modellers” from other packages, such as ArcGIS. Operations are connected by flows and conditions and result in some desired output(s). The operations consist of all the operations plus all the workflows Ilwis4 knows. In Ilwis terms, a workflow is an operation. This layer is rather technical in the sense that all the nuts and bolts of operations are accessible and can be tweaked. It will probably be possible to insert your own python code snippets as seperate “operations”.
- Interactive input layer: The nuts and bolts might be too technical, so the purpose of this layer is to provide a suitable friendly interface to determine the details of the inputs (if needed). The internals of the workflow itself are not relevant at this level, just what goes in and what comes out. For example, there might be an URL to an input map within the workflow. As such, the URL doesn’t provide much extra information about the nature of the input data. The user might know, but that is by ‘chance’. In this layer the user is presented with much more metadata, previews and other details about the possible inputs to make a proper selection for the input. The idea is to seperate the user from the nitty gritty details of the inputs/outputs and workflow technicalities and to focus more on the semantics of what goes into an operation.
- Dynamic modelling: The purpose of this layer is to view the model as a whole and to be able to tweak its input parameters interactively, in value, not in nature. Sounds a bit vague? It is, so let’s give an example. Suppose you have an evaporation model that is, among other things, dependent on temperature. With a set temperature and assuming the rest of the parameters are constant, the system will always produce a certain output. But what would happen if I am able to modify the temperature in a continous way over a certain range? The model would dynamically generate a number of outputs that showed me how temperature effects the model. The idea is to have (depending on the nature of the input) suitable controls for input parameters that can be interactively changed (e.g. a slider) and produce a whole set of outputs that represent the dynamic behaviour of a model.
- Conceptual layer: This describes in text and other media what the model is all about. Its a static layer (mostely).
At the moment we are busy with the first layer (see the example below).
There is still a lot of work to do.
A special export will enable one to export the model to a python script, which can run independently of Ilwis4 (not of ilwis-objects). We will not offer a reverse process, since this is a bit too complicated.
The ideas behind the whole modeller are still under developement. Will it be 4 layers, or 3, or 5? At the moment I have explained my current understanding of the whole process, but that might change.
Note that the modeller doesn’t replace the script (editor). That will still remain.