Difference between revisions of "Sandbox"

From Heureka Wiki
Sandbox
Jump to navigation Jump to search
 
(78 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Version 2.3.0
+
{{DISPLAYTITLE:sandbox}}
 +
 
 +
<syntaxhighlight lang="python" line='line'>
 +
def quickSort(arr):
 +
less = []
 +
pivotList = []
 +
more = []
 +
if len(arr) <= 1:
 +
return arr
 +
else:
 +
pass
 +
</syntaxhighlight>
 +
 
 
<!--
 
<!--
{{Languages|Version 2.3.0}}
+
{{#ask:
[[Category:Release]]
+
[[Category:Variables]]
[[newsdate::2015-05-20]] [[language::sv| ]]
+
  | ?VariableUnit = Unit
 +
| ?VariableDescription = Description
 +
| mainlabel = Name
 +
}}
 
-->
 
-->
  
<startFeed />
+
==Bug fixed since version 2.8.0==
 +
<mantis>
 +
status = resolved, closed
 +
fixed_in_version = 2.9.3
 +
show = id,category, summary, fixed_in_version, updated, resolution
 +
</mantis>
  
==Summary==
+
English [[Image:Feed-icon.png]]
<feedDate>2014-06-15</feedDate>
+
{{#ask:[[Category:Release]] [[newsdate::+]]
<endFeed />
+
|?newsdate=
Version 2.3 contains a number of new features:
+
|sort=newsdate
*(Beta) Forest data can now be imported according to the new ForeStand standard (http://www.sis.se/tk538. ).  
+
|order=desc
The import function currently allows importing stand data and GIS data (plot data and tree data will be possible in future versions), from only one file.
+
|date=newsdate
*A new plugin-mechanism allows modellers with programming skills in C# to use their own models in Heureka. The plugin feature currently supports growth, volume, mortality and height models.
+
|format=feed
*The default decay rates for dead wood has been changed
+
|type=rss
*Dead trees can be imported from TreeList-importer
+
|searchlabel= RSS
 
+
}}
 
+
-->
==New features==
 
<startFeed />
 
====Dead trees possible to add when importing tree list data ====
 
Until now, dead trees measured in the field has only been possible to import when the inventory has been made with FMPP field computer.
 
Now it is also possible to add dead trees registration to the Excel-sheet template used for tree list import. In the sheet Trees,
 
two new (optional) columns has been added: Status and DecayClass. Status is blank, 0 or 1 for living trees, 2 for dead standing tree, 3 for dead lying tree, and 4 for dead tree if the position is unknown. DecayClass is set to 0-4, or left blank. If left blank, Heureka will distribute the dead tree volume over decay classes automatically. The same applies to if the species field is left blank, then Heureka will distribute the dead wood volume in proportion to the species distribution of the living trees. If tree height for a dead tree or log is left blank, there are new functions to calculate the dead wood volume.
 
 
 
In the Dead Wood control table, you can set how many decay classes has been inventoried (for example if only classes less decayed than class 2 has been inventoried and whether volume should be simulated for the remaining classes).
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
 
 
====Default decay rates changed ====
 
Lately, the amount of dead wood is a funtion that has been used in a number of projects. It appears that the amount of dead wood accumulated over time according to a Heureka prognosis may be overestimated. The amount of dead wood is a function of mortality rates and decay rates. The decay rate are user-defined, and are by default 1.3 % per year for dead wood volume, and 4 % per year for dead wood biomass. The values have been retrived from Table 2 in Harmon, Karnkina & Sextion (2000), "Decomposition vectors: a new approach to estimating woody detritus decomposition dynamics". It is not clear why that specific table was selected (12 years ago). The new default values have been retrieved from Table 3 instead and gives a little higher dacya rates and a little less ackumulation of dead wood. Note however that this part is quite uncertain and needs further investigation. So please pay attention to these uncertainties when analysing results in dead wood and carbon contents in dead wood.
 
 
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
====Beta: Import data using new forest data standard ====
 
(Beta) Stand register data can be imported as XML-files formatted according the new ForeStand standard (http://www.sis.se/tk538). This allows for importing stand data and GIS data from the same file. It also allows for importing tree layers and different tree species in a more flexible way than the ordinary Stand Register importer.
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
====Plugin framework ====
 
There is a new folder under My Documents > Heureka > Common called Plugins. A programmer can implement one of Heureka's C# interfaces available (currently for tree growth, tree volume, tree mortality and tree height). When you start a Heureka application, this folder will be scanned for dll-files that implement any of these interfaces. If found, the name of the function will be available in the Production Model control table, and used in simulations if selected.
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
====Mortality data by user-defined diameter classes ====
 
A new result type has been introduced that allows the user to set up diameter classes for dead wood of different species and view a number of result properties for these classes. These settings can be accessed from the 'Dead Wood' control table, under 'Mortality Diameter Classes'.
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
==Bug fixes==
 
<startFeed />
 
====Fixed: Null values in conditions were not handled ====
 
Fixed: If you formulated a condition in the forest domain builder and used IS NULL or IS NOT NULL as part of the expression the evaluation failed.
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
====Fixed: Simulation sometimes crashed ====
 
Fixed: In PlanWise and RegWise, parallelization is used to minimize execution times, so that more than one CPU-core is used if available. Sometimes, there would be a conflict when different so called threads were writing to the Output progress window at the exact same time. This would result in e runtime exception error.
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
====Fixed: Copy/paste data in Timber pricelists now works as intended ====
 
Fixed: In the timber pricelist editor, the 'Copy' and 'Paste' actions would always apply to the pricelist grid, even if the user was working in one of the other grids. These actions now work as expected.
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
==Other improvements==
 
<startFeed />
 
====Captions added to buttons ====
 
To make life easier for the user, text labels has been added to several tool buttons in the applications user interfaces.
 
<feedDate>2015-05-20</feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
====Promting for saving of pricelist better implemented ====
 
New projects no longer prompt where to save pricelist if they're still using the default pricelist. Only when changes have been made to the pricelist will a prompt appear.
 
<feedDate>2015-05-20/feedDate>
 
<endFeed />
 
 
 
<startFeed />
 
====Dead wood is now viewable in initial state ====
 
Dead wood is back as a viewable result type in initial state.
 
<feedDate>2015-05-20/feedDate>
 
<endFeed />
 

Latest revision as of 15:32, 6 December 2017


1def quickSort(arr):
2	less = []
3	pivotList = []
4	more = []
5	if len(arr) <= 1:
6		return arr
7	else:
8		pass


Bug fixed since version 2.8.0

Id Category Summary Fixed_in_version Updated Resolution
0000160 Map Exception when exporting result map 2.9.3 2017-12-06 fixed
0000155 Report generator Add height class diagram type to StandWise 2.9.3 2017-12-06 fixed
0000159 TPG NC-areas created during rerun of simulation do not get added to the optimization 2.9.3 2017-12-06 fixed
0000158 Map plugins Plugin for creating varying-width bufferzones based on water protection classification gives unexpected results 2.9.3 2017-12-06 fixed
0000162 TPG DeadWoodData initial distribution incorrectly calculated 2.9.3 2017-12-06 fixed
0000156 Report generator Improve design of histograms in StandWise 2.9.3 2017-12-06 fixed
0000163 Other Excel process remains running after program is closed 2.9.3 2017-12-06 fixed


English Feed-icon.png RSS -->