forefireAPI / firefront

ForeFire is an open-source code for wildland fire spread models
GNU General Public License v2.0
37 stars 20 forks source link

Importing Custom Wind Data and Land Cover Indices #19

Closed jimDunn85 closed 1 year ago

jimDunn85 commented 1 year ago

Hi ForeFire,

I have a question relating to running the model on custom data. I imported my elevation and land cover data into MNHCDF2Case.py but I’m not exactly sure how the wind data is formatted. I tried running the script, but I don’t have /Volumes/brando/cases/couleeLaveLES/STRAP.1.SEG01.001.nc4 on my machine so I'm unable to run it. Would you be able to tell me how the wind data is formatted or send a copy of STRAP.1.SEG01.001.nc4 if possible?

Thanks, Jim.

filippi commented 1 year ago

Hi Jim MNHCDF2Case.py is an example of use specifically made for MesoNH (thus MNH) users. Unless you are using this exact atmo code, there is no way it can work and you shall just use the genForeFireCase.py script that is called at the last line, and use this MNHCDF2case file to modify it to your custom requirements.

You new 2 2D matrices (U and V or zonal and meridian) all SI units (m.s-1), of the same extent as the general domain. Regards

jimDunn85 commented 1 year ago

Hi Filippi,

Thank you for getting back to me. I have now got wind working in a modified MNHCDF2Case.py file.

I do have one additional question regarding the fuels.ff file for your Aullene example. Do you have a text document or a website that states what type of land cover each different fuel index is within the file?

Thanks again, Jim.

filippi commented 1 year ago

Hi again,

It is the Corine land cover numbering.

jimDunn85 commented 1 year ago

Hi Filippi,

That's perfect, here is a list of each Corine land cover and their numbering, if anyone else wants to see it: https://land.copernicus.eu/user-corner/technical-library/corine-land-cover-nomenclature-guidelines/html

Thank you for all your help, Jim.