forefireAPI / firefront

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

Forefire nc creation file #25

Closed aalonsop closed 6 months ago

aalonsop commented 6 months ago

Context : Normal forefire simulation with a fuelmap with a greater size than MNH grid.

Issue : For a simulation where the fuelMap is of greater detail than the atmospherical grid (for example fuelNX=2420 and fuelNY=1020 for a MNH grid of atmoNX=242 and atmoNY=102), when specifying the atmospherical grid on the file run.ff it has to match the fuelMap size (here it would be "setParameters[atmoNX=2420;atmoNY=1020]"). If the atmospherical grid is specified as the one from MNH (ie "setParameters[atmoNX=242;atmoNY=102]") then there is a segmentation fault when creating the nc file.

filippi commented 6 months ago

Resolved ! now maps is size optimized, compression is applied