1 % How to read surface data into ideal run
2 %_______________________________________
4 % 1. build ideal.exe for fire : compile em_fire
6 % 2. in namelist.input set the desired land flags for example
8 % fire_read_fire_ht=.true.
10 % 3. prepare the desired arrays in matlab as 2d at atmosphere or fire size
11 % see what is in the arrays by image_array_2d.m
13 % 4. write the arrays into text files for ideal.exe by write_array2d.m
14 % with the proper filename (see namelist.input, openwfm.org, Registry/registry.fire
15 % or the source at dyn_em/module_initialize_fire.F for the file names)
17 % 5. you can read the files back by read_array_2d.m