# Quick Tutorial for WRF-FIRE Output

**URL:** <https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248>\
**Category:** Uncategorized\
**Created:** [December 8, 2022, 11:54am UTC](https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248 "2022-12-08T11:54:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![atmosphere\_123](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@atmosphere\_123](https://vapor.discourse.group/u/atmosphere_123)\
**Post date:** [December 8, 2022, 11:54am UTC](https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248/1 "2022-12-08T11:54:05Z")

</div>

Is there a quick tutorial on how to create a video of wildfire spread from a WRF-SFIRE output - similar to what’s shown in the Vapor Gallery?  
For example: This is how to render the geo map. This is how to render the fire perimeter. This is how to render smoke plumes, etc.

Every tutorial is over 30 min long, generic, and with no clear outcome at the end, which is very frustrating for new users of Vapor, let alone WRF-SFIRE new users!

Thanks,

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [December 9, 2022, 9:30pm UTC](https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248/2 "2022-12-09T21:30:08Z")

</div>

Stay tuned. Meanwhile, all tutorials have their subject matter timestamped in the video comments. You don’t need to slog through the whole thing if you know what you’re looking for. It sounds like you only need to watch portions on the Image, TwoDData, and Volume renderers for your use case.

But I do not cover fire perimeter or smoke in any of the videos. I’ll get permission to demo a wrf-fire dataset and demo it once that happens.

---

<div class="post-metadata">

**Author:** ![atmosphere\_123](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@atmosphere\_123](https://vapor.discourse.group/u/atmosphere_123)\
**Post date:** [December 28, 2022, 11:51pm UTC](https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248/3 "2022-12-28T23:51:06Z")

</div>

Thanks!  
Any update on the demo?

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [December 29, 2022, 8:07pm UTC](https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248/4 "2022-12-29T20:07:17Z")

</div>

It should be available after we release version 3.8, in early January 2023.

---

<div class="post-metadata">

**Author:** ![atmosphere\_123](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@atmosphere\_123](https://vapor.discourse.group/u/atmosphere_123)\
**Post date:** [January 20, 2023, 1:28am UTC](https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248/5 "2023-01-20T01:28:27Z")

</div>

The newest video is about python integration. There is no fire case tutorial.

Could you just guide me on how to make a fire visualization with Vapor? I can even upload the _wrfout_ file for you to make the fire spread video yourself, if that’s easier.

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [January 25, 2023, 4:45pm UTC](https://vapor.discourse.group/t/quick-tutorial-for-wrf-fire-output/248/6 "2023-01-25T16:45:10Z")

</div>

I’m currently working on a WRF-Fire visualization that I’ll use for a video tutorial, but it’s not ready yet.

In the meantime, you need to create an [Image Renderer for the map, and a TwoDData Renderer for FIRE\_AREA](https://www.youtube.com/watch?v=BH3rBAee73I&list=PLGiYuH3VLcQ0ogZiwJUR2tif7CTBKOTWu&index=10&t=1230s), and a [Volume Renderer](https://www.youtube.com/watch?v=BH3rBAee73I&list=PLGiYuH3VLcQ0ogZiwJUR2tif7CTBKOTWu&index=10&t=2310s) for the SMOKE variable.

Use the [Transfer Function](https://www.youtube.com/watch?v=Wcb2sv9YP4s&list=PLGiYuH3VLcQ0ogZiwJUR2tif7CTBKOTWu&index=18) to adjust the color for your renderers. See the attached .tf3 files below, and load them via the Transfer Function if you’d like sample color maps for SMOKE and FIRE\_AREA.

To make a video, configure your renderers as you like them and click Capture-\>Image Sequence-\>PNG in Vapor’s main menu. Vapor will prompt you for a prefix for your images. Then click the play button at the top of the GUI and let Vapor capture images for each of your timesteps. After that, you’ll need to use another application like ffmpeg to create an .mp4 from your .png files.

Here’s an ffmpeg command I’ve used in the past. You’ll care about changing the _-r 10_, which is the framerate, the _c2\_%04d.png_ refers to my files, which were prefixed with _c2\__, and _c2.mp4_ which is the output file name.

ffmpeg -r 10 -y -i c2\_%04d.png -vcodec libx264 -pix\_fmt yuv420p c2.mp4

> **[fireArea.tf3](https://drive.google.com/file/d/1J5gOGnYDRBpaHr8tk63PXNi1AhOYklse/view?usp=sharing)**
>
> Google Drive file.

> **[smoke.tf3](https://drive.google.com/file/d/1BSBrJwFv8CUZAZe4HYbVGd_9Jlx-tjwI/view?usp=share_link)**
>
> Google Drive file.
