openwfm / WRF-SFIRE

A coupled weather-fire forecasting model built on top of Weather Research and Forecasting (WRF). This is the original https://github.com/openwfm/wrf-fire transitioned to a fork of WRF and selected as ifire=1. Graphic log at https://repo.or.cz/git-browser/by-commit.html?r=WRF-SFIRE.git
https://wiki.openwfm.org
Other
39 stars 12 forks source link

how to skip sfire_model of wrf.exe in em_fire/hill #58

Closed fengggli closed 1 year ago

fengggli commented 1 year ago

Hi Jan,

Hope you are doing well!

Brief

I am currently prototyping a runtime framework to configure and deploy in-situ workflows and I have been playing with WRF-SFIRE model as a potential use case.

The resulting workflow is somehow similar to what I saw in the standalone fire model as described in https://wiki.openwfm.org/wiki/How_to_run_the_standalone_fire_model_in_WRF-SFIRE , and I also saw the similar instructions you provided in “B. fire.exe” section in https://github.com/openwfm/WRF-SFIRE/blob/3c960d725cfab7597bcfcdecb5bc55f70a7e640e/standalone/README.txt#L22-L32

I followed the above steps and the execution seem successful (using the em_fire/hill case). However, I do have some questions(related to performance comparison between the default coupled and standalone execution modes):

Questions

Q1. It seems to me that although sfire_model function is called by both the standalone fire.exe (in step 7), and also earlier at the coupled WRF-SFIRE (in step 5). Is the one in step 5 necessary?

Q2 If it's possible to skip the fire_model in the coupled WRF-SFIRE, how should I do that?

Thanks! Feng

fengggli commented 1 year ago

I found the instructions in here https://wiki.openwfm.org/wiki/Fuel_moisture_model, and tried again today with (true, true,true,0) with those fields in the namelist.input. And it works as expected (fire model is skipped). Close this now. Thanks again for the documentation!

fmoist_run | fmoist_interp | fmoist_only | fire_fmc_read | Function -- | -- | -- | -- | -- .true. | .true. | .false. | 0 | Run the fuel moisture model, create the arrays fmc_gc and fmc_g, and use fmc_g in the fire model. .true. | .true. | .true. | 0 | Run the fuel moisture model and create the arrays fmc_gc and fmc_g in wrfout only, the fire model does not run. .true. | .false. | .true. | 0 | Run the fuel moisture model and create the array fmc_gc in wrfout only, the fire model does not run. .false. | .true. | .false. | 0 | Interpolate the fuel moisture fields fmc_gc from wrfinput to fmc_g and use it in the fire model. .false. | .false. | .false. | 0 | Run the fire model using the fuel moisture map fmc_g from wrfinput. .false. | .false. | .false. | 1 | Run the fire model using the same fuel moisture fmc_g=fuelmc_g everywhere, as given in namelist.fire.