GithubHelp home page GithubHelp logo

Comments (5)

lautenberger avatar lautenberger commented on June 29, 2024

Thank you Dwi - please attach the complete input deck and I'll take a look

from elmfire.

dwimjpurnomo avatar dwimjpurnomo commented on June 29, 2024

This is the link for the input deck.
https://drive.google.com/file/d/13ao5LS3dPjZM06qBn6YivJP7AVO4xN0n/view?usp=sharing

from elmfire.

lautenberger avatar lautenberger commented on June 29, 2024

Got it, thanks. Will have a look at it now

from elmfire.

lautenberger avatar lautenberger commented on June 29, 2024

OK, here's what I did after un-compressing the debug.rar file to a local folder:

clauten@celsius:~/dwi-debug$ mkdir scratch
clauten@celsius:~/dwi-debug$ mkdir misc
clauten@celsius:~/dwi-debug$ cp $ELMFIRE_BASE_DIR/build/source/fuel_models.csv ./misc
clauten@celsius:~/dwi-debug$ $ELMFIRE_INSTALL_DIR/elmfire_debug elmfire.data

ELMFIRE runs and terminates with this error:

At line 662 of file ../../source/elmfire_level_set.f90
Fortran runtime error: Index '1' of dimension 3 of array 'bldg_footprint_frac%r4' above upper bound of 0

Basically, ELMFIRE throws an error when it tires to access the building footprint fraction raster which hasn't been allocated yet.

Line 662 of elmfire_level_set.f90 is a call to the enhanced spotting routines being developed by @yqin123 which expects a building footprint fraction raster. To use the "old" spotting algorithm (which doesn't need the building footprint fraction raster) you can set USE_SUPERSEDED_SPOTTING = .TRUE. (the default setting) in the &SPOTTING namelist group.

Alternatively, in the &WUI namelist group you could set USE_BLDG_SPREAD_MODEL = .TRUE. and then specify filenames for input rasters, or use constant parameters - see this comment in Issue #1 for details.

from elmfire.

lautenberger avatar lautenberger commented on June 29, 2024

I've trapped this by adding some checking on the inputs side:

fe087a1

from elmfire.

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.