Code Monkey home page Code Monkey logo

Comments (3)

achubaty avatar achubaty commented on August 14, 2024

some messages (which should be warnings) are being triggered spuriously:

BC_HRV_preamble: inputObjects: NAME_1, LU_NAME are used from sim inside InitStudyArea, but are not declared in metadata inputObjects

Here I'm using e.g., sim$canProvs$NAME_1 (where canProvs is an sf object) but it's being flagged incorrectly.

Likewise, per PredictiveEcology/LandMine#4 (comment):

LandMine: inputObjects: ros is used from sim inside fireROS, but is not declared in metadata inputObjects

safe to ignore: ros is column in a data.table and sim$ROSTable$ros <- foo is used, so code checks are incorrectly flagging this.

from spades.core.

achubaty avatar achubaty commented on August 14, 2024

from PredictiveEcology/LandMine#4 (comment)

fireReturnInterval, sppEquiv are declared in metadata outputObjects, but are not assigned in the module

  • fireReturnInterval is updated via sim$fireReturnInterval[] <- foo, so can ignore this message
  • sppEquiv is a data.table and is updated by reference sim$sppEquiv[, LandMine := foo]

@eliotmcintire i'm not sure how easy/quick it is to update the code cheks in SpaDES.core to account for these. obv low priority, but now this is documented :)

from spades.core.

achubaty avatar achubaty commented on August 14, 2024

from fRI-Research/LandWeb_preamble#3 (comment):

LandWeb_preamble: outputObjects: TSFLayerName are assigned to sim inside InitMaps, but are not declared in metadata outputObjects

spurious: TSFLayerName being used as index to sim to reference another object:

ml[[TSFLayerName]][] <- as.integer(ml[[TSFLayerName]][])

from spades.core.

Related Issues (20)

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.