Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
using_different_parameters_for_patcher_and_expander_based_on_the_current_sub-region_year [2017/02/24 03:11] hermann |
using_different_parameters_for_patcher_and_expander_based_on_the_current_sub-region_year [2017/02/24 03:14] hermann |
||
---|---|---|---|
Line 19: | Line 19: | ||
====== Using different parameters for Patcher and Expander based on the current sub-region AND year ====== | ====== Using different parameters for Patcher and Expander based on the current sub-region AND year ====== | ||
- | It is possible to overcome all the limitations of SelectXXXX using tables. All parameters (except [[Map Type|maps]] and [[Categorical Map Type|categorical maps]]) can be converted to tables and from tables. And since tables can be stored as CSV files, this gives us a very effective way to reading and storing parameters from disk. | + | It is possible to overcome all the limitations of SelectXXXX using tables. All parameters (except [[Map Type|maps]] and [[Categorical Map Type|categorical maps]]) can be converted to tables and from tables. And since tables can be stored as CSV files, this gives us a very effective way of reading from and saving parameters to disk. |
<note tip> | <note tip> | ||
Line 49: | Line 49: | ||
The first step is adding a new column to our table. This column will represent the current year. | The first step is adding a new column to our table. This column will represent the current year. | ||
+ | <code> | ||
^ Year* ^ From* ^ To* ^ Mean_Patch_Size ^ Patch_Size_Variance ^ Patch_Isometry ^ | ^ Year* ^ From* ^ To* ^ Mean_Patch_Size ^ Patch_Size_Variance ^ Patch_Isometry ^ | ||
| 1 | 1 | 3 | 50 | 10 | 1 | | | 1 | 1 | 3 | 50 | 10 | 1 | | ||
| 1 | 2 | 1 | 10 | 5 | 1.5 | | | 1 | 2 | 1 | 10 | 5 | 1.5 | | ||
| 1 | 2 | 6 | 20 | 0 | 2 | | | 1 | 2 | 6 | 20 | 0 | 2 | | ||
+ | </code> | ||
Now we can just add transition parameters corresponding to the following years. | Now we can just add transition parameters corresponding to the following years. |