-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fortran runtime error: Bad real number in item 1 of list input #34
Comments
Hi Troy - thanks for submitting an issue. Yes, ELMFIRE can encounter problems reading rasters when NODATA is not set. It also expects wind speed and direction to be Float32 and not Int16. Did making those changes get you around the issue or are you still stuck? If the latter, please attach or give a link to the complete input deck and I'll run in a debugger on my end to figure out what's going on. Thanks! Chris |
Hi Chris - yes I did make those changes. Here's a link to the input data: https://drive.google.com/file/d/18smJOk4_88SU3uX5_OjPbPTdd3bdv19k/view?usp=sharing Thank you for your help! |
I was able to reproduce the issue on my end. What happened is that bits of metadata embedded the There's an easy fix though - you just have to scrub the embedded metadata from the input GeoTiffs. There's a few ways to do that but the approach I took was to rename the
That way the files that land in |
If you're generating lots of raster outputs it's probably better to do the conversion to GeoTiff outside of ELMFIRE, basically by issuing the same Try setting
This will create a bunch of individual GeoTiffs that you can subsequently stack into a multiband raster using |
Thanks, now I don't get that error, but alas, there is another. Directly following "Determining random ignition locations", I get "Program received signal SIGSEGV: Segmentation fault - invalid memory reference." I expected it might be something with the meteorology start/stop/skip in the &MONTE_CARLO group, but everything I've tried changing results in the same error. I have 30 meteorology bands (daily data) which I intend to simulate 10 groups of 3 days of weather. I have an ignition mask raster with probabilities and reviewed the user guide to make sure everything is set correctly. Here's the &MONTE_CARLO group: &MONTE_CARLO |
I suspect the problem occurs when processing
On my end, doing this this allows the case to run to completion (at least with a smaller number of ensemble members). So if you're able to successfully run with the dummy ignition density raster from |
To tack onto this - I receive the same error following "Determining random ignition locations" when attempting to do a test burn probability with these inputs: &MONTE_CARLO This run uses the same 01-run.sh file and inputs as the 03-real-fuels tutorial. |
OK, post your complete input deck and I'll take a look. If there's anything that you don't want posted here publicly you can email me a link at [email protected]. |
Empty inputs should be filled in from 01-run.sh because the landscape data is pulled from cloudfire. Thanks for taking a look at this. &INPUTS &OUTPUTS &COMPUTATIONAL_DOMAIN &TIME_CONTROL &MONTE_CARLO &SIMULATOR &MISCELLANEOUS |
Hi Chris, I've realized that you may have meant all of my input files, in which case, here they are. Again, I do want to stress that these were all pulled directly from cloudfires. Thanks, Andrew |
I was able to run ELMFIRE by following your test case. I've ensured that the raster properties are exactly the same for the idg.tif as fuels inputs. I'm able to run ELMFIRE with my original idg.tif by following step 1 and not step 2. The fire_size_stats.csv output shows that ignitions did use the ignition density grid to constrain ignitions where values were 0 and influenced placement where values were >0. If I replace |
@johnsonas6 let's move discussion of your issue to Issue #37 because it appears to be distinct from the issue that @troysalt reported. Along those lines, @troysalt would you mind posting a link to the input deck that you're working from? If the link https://drive.google.com/file/d/18smJOk4_88SU3uX5_OjPbPTdd3bdv19k/view?usp=sharing is still current I'm no longer able to access it, could you provide access to [email protected]? Thanks in advance |
Hi Chris, I shared the inputs direct to you at the same link. I also sent separately a second version of an ignition mask "idg.tif", this one was produced in the same way as the |
Thank you, confirming successful receipt of both files. I will look at this tomorrow and get back to you ASAP. |
Troy, I was able to get this to run to completion with
The keyword Also, this type of calculation is normally run in parallel so instead of launching as:
You should execute elmfire like this, or you won't get valid
Two more things:
|
Hi Chris, I implemented all of your suggested changes on this thread, including the metadata stripping, and am now running on ELMFIRE 2023.1015. The run completes, but I'm still not getting a valid |
Hello,
When running ELMFIRE 2023.06, I'm encountering an error shortly after the run starts.
The error points back to line 1700 of elmfire_io.f90. That line is reading the no data value from the input rasters. I figured that some of my input rasters must not have a no data value set, or that the value was 'n/a', hence "bad real number". I tried to fix this by updating all of my input rasters to ensure they have no data set to -9999 and are in the data type specified in the user guide.
If I traced things back correctly, it looks like the file with the error is wd.tif. Odd because it looks like ws.tif did not encounter this error. ws.tif and wd.tif were identical except wd.tif was converted from int16 to float32. If it helps, the source data is gridMET processed and converted to TIFF using xarray and rioxarray.
Thank you!
The text was updated successfully, but these errors were encountered: