Giter VIP home page Giter VIP logo

landmine's Introduction

Overview

Landmine is a model created for simulating the natural range of variation for landscapes in the boreal forest. Written in the 1990s (Andison 1996), it has been widely used by the public and the private sector for various purposes. This SpaDES module is a rewrite of the fire component in native R.

Current Differences

The current version has not been fully tested and compared with the original version, and there are currently several known differences:

  • Fire sizes are taken from a Truncated Pareto distribution, resulting in numerous very small fires, and few large fires.
  • Parameters have been not been fitted to the landscapes that are under study in the LandWeb project

Known species

Landmine requires the following codes as inputs (the genus_spec form below), and converts and groups species as follows. Each of the species groups has its own Rate of Spread (ROS) for fire spreading:

  • PINU

    • "Pinu_ban"
    • "Pinu_con"
    • "Pinu_sp"
  • DECI

    • Betu_pap
    • Popu_bal
    • Popu_tre
    • Lari_lar
  • PICE_MAR

    • Pice_mar
  • PICE_GLA

    • Pice_gla
  • ABIE

    • Abie_sp

landmine's People

Contributors

achubaty avatar eliotmcintire avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

landmine's Issues

cannot run Landmine.Rmd: DEoptim error

I cannot run LandMine.Rmd. It fails on the DEoptim call. Since I'm not clear on what all the params are in fitSN, I'm not comfortable changing the upper and lower limits just to make it work.

> outs <- DEoptim(fitSN, lower = c(-2, -3, -3, -3, 1, 3.5, 0.75), 
+                 upper = c(-0.1, -0.5, -0.5, -1, 3.5, 5, 1), 
+         control = DEoptim.control(VTR = 0.001, itermax = 170, cluster = cl, strategy = 6), 
+         ros = ros, centreCell = centreCell, fireSizes = c(10, 100, 1000, 10000, 100000), 
+         desiredPerimeterArea = 0.003, burnFun = burnFun, burn1 = burn1)
Error in DEoptim(fitSN, lower = c(-2, -3, -3, -3, 1, 3.5, 0.75), upper = c(-0.1,  : 
  NaN value of objective function! 
Perhaps adjust the bounds.

module code checks report possible issues

  • LandMine: module code: fireReturnInterval, sppEquiv are declared in metadata outputObjects, but are not assigned in the module
  • LandMine: module code: rasterToMatchReporting is declared in metadata inputObjects, but is not used in the module
  • LandMine: module code: .inputObjects: local variable ‘cacheTags’ assigned but may not be used (LandMine/LandMine.R:532)
  • LandMine: module code: .inputObjects: local variable ‘nOT’ assigned but may not be used (LandMine/LandMine.R:538)
  • LandMine: module code: Burn: local variable ‘polys’ assigned but may not be used (LandMine/LandMine.R:505)
  • LandMine: module code: Init: local variable ‘sns’ assigned but may not be used (LandMine/LandMine.R:243)
  • LandMine: inputObjects: studyArea is assigned to sim inside .inputObjects, but is not declared in metadata inputObjects
  • LandMine: inputObjects: ros is used from sim inside fireROS, but is not declared in metadata inputObjects
  • LandMine: inputObjects: studyArea, sppEquivalencies_CA are used from sim inside .inputObjects, but are not declared in metadata inputObjects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.