# How to get a sub-domain of WRF model output

**URL:** <https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127>\
**Category:** Uncategorized\
**Created:** [September 4, 2021, 9:42am UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127 "2021-09-04T09:42:18Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerf](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Jerf](https://vapor.discourse.group/u/Jerf)\
**Post date:** [September 4, 2021, 9:42am UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/1 "2021-09-04T09:42:18Z")

</div>

We usually use a large WRF domain to get reasonable results. If import WRF output directly, the whole WRF domain is displayed. However, we just focus on a sub-domain, where convective cell(s) is located. My question is how can I get a sub-domain from the WRF output.  
Thanks a lot.

---

<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:** [September 8, 2021, 4:13pm UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/2 "2021-09-08T16:13:17Z")

</div>

Hi,

Subsetting the region can be done in each renderer’s Geometry tab. This has to be done on a per-renderer basis though.

I should make a dedicated video for this, but you can see a demo of the Geometry tab at the timestamped video below.

[![](https://global.discourse-cdn.com/free1/uploads/vapor/original/1X/ec0b5cbecacddb6f85020ee06efa1d69df4492b2.jpeg "2021 CISL Vapor Tutorial") ](https://www.youtube.com/watch?v=MOdZyHBhP80)

Let me know if that’s unclear.

Thanks,  
Scott

---

<div class="post-metadata">

**Author:** ![Jerf](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Jerf](https://vapor.discourse.group/u/Jerf)\
**Post date:** [September 9, 2021, 1:55am UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/3 "2021-09-09T01:55:24Z")

</div>

Dear Scott,

Thank you very much for your rapid reply. I can not reach the youtube website. It would be greatly appreciated if you could send me a copy of the demo by e-mail or another way.

Best regards

Jerf

---

<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:** [September 9, 2021, 6:47pm UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/4 "2021-09-09T18:47:13Z")

</div>

I’m uploading a new video just for the geometry tab right now, but I can email it to you. Feel free to post it here or mail me directly at pearse@ucar.edu and we can be in touch if there’s anything more to elaborate.

---

<div class="post-metadata">

**Author:** ![Jerf](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Jerf](https://vapor.discourse.group/u/Jerf)\
**Post date:** [July 29, 2022, 10:03am UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/5 "2022-07-29T10:03:13Z")

</div>

Dear Pearse,  
Please email the video to me at [yinjinfang88@163.com](mailto:yinjinfang88@163.com). Thank in advance.

Jerf

---

<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:** [July 29, 2022, 8:02pm UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/6 "2022-07-29T20:02:21Z")

</div>

I’m emailing it now through gmail, but it’s being uploaded to google drive. I’m guessing that you can’t view YouTube videos. Let me know if you can’t access google drive as well.

---

<div class="post-metadata">

**Author:** ![Jerf](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Jerf](https://vapor.discourse.group/u/Jerf)\
**Post date:** [July 30, 2022, 2:51am UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/7 "2022-07-30T02:51:32Z")

</div>

Dear Pearse,

Thanks for your immediate reply. Yes. I cann’t access google drive. It would be greatly appreciated if you could spend some time to share the videos in the zenodo platform ([https://zenodo.org/](https://zenodo.org/)).

Best regards

Jerf Yin

---

<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:** [August 1, 2022, 4:30pm UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/8 "2022-08-01T16:30:52Z")

</div>

I’m working on getting it up on Zenodo. Currently I don’t seem to have permission but I think this can be fixed. Stay tuned.

---

<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:** [August 11, 2022, 6:30pm UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/9 "2022-08-11T18:30:14Z")

</div>

@jerf, I’m currently unable to upload to zenodo. I’ll keep looking into this, but in the meantime, I asked a colleague who has gotten around firewall issues in the past. Here’s what he suggests:

> I used to use Mullvad VPN ([Mullvad VPN - Privacy is a universal right](https://mullvad.net/en/)) when I was in China, and it works reasonably well most of the time, so you can recommend this product to her. Another thing was that I can get a much faster and more reliable connection to firewalled content in the early morning (think 5-7am), so that can be an option too. I’d think combining these two approaches can get any youtube videos they’d like 😉

---

<div class="post-metadata">

**Author:** ![Jerf](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Jerf](https://vapor.discourse.group/u/Jerf)\
**Post date:** [August 13, 2022, 2:33pm UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/10 "2022-08-13T14:33:00Z")

</div>

Hi Pearse,

Thanks a lot for the help of your and your team. I obtained the video and can get a reasonable sub-domain now. A few more questions may draw your attention to.  
(1) The labels of Z Axis are “noisy” (Figure 1). How to get tidy labels, such as 0.0, 1.0, 2.0, 3.0, 4.0 km, … The same issue occurs to color bar label.

 ![Figure1](https://global.discourse-cdn.com/free1/uploads/vapor/original/1X/40ca62fb55ea774a4d812365361a30d209e7847f.jpeg)

(2) If a sub-domain is selected, there are gaps between the selected domain and the Axis box.

Thank you again

Jerf

---

<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:** [August 17, 2022, 4:03pm UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/11 "2022-08-17T16:03:29Z")

</div>

> (1) The labels of Z Axis are “noisy” (Figure 1). How to get tidy labels, such as 0.0, 1.0, 2.0, 3.0, 4.0 km, … The same issue occurs to color bar label.

I’m not sure what you mean by “noisy”. If you’re referring to the precision of the labels, there’s a controller in the Annotation tab called “Digits” that allows you set the number of decimal places. If you want the X axis to go from 0 to 4 in increments of 1 km, set the X “Min” annotation value to 0, X “Max” to 4, and the “# tics” parameter 5.

> (2) If a sub-domain is selected, there are gaps between the selected domain and the Axis box.

Under the “Axis Annotations” section, there’s an option to “Copy region from renderer”. If you select your volume, the annotations will snap to that sub-domain.

---

<div class="post-metadata">

**Author:** ![Jerf](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Jerf](https://vapor.discourse.group/u/Jerf)\
**Post date:** [August 18, 2022, 12:51am UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/12 "2022-08-18T00:51:32Z")

</div>

Thanks Pearse. Got it.

---

<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:** [August 18, 2022, 1:59am UTC](https://vapor.discourse.group/t/how-to-get-a-sub-domain-of-wrf-model-output/127/13 "2022-08-18T01:59:23Z")

</div>

> Thanks Pearse. Got it.

I hope I’m not skirting the issue. The noise in the annotations could be due to our lack of antialiasing. I’m just not sure what the noise is in this context.

This is a useful question for my team because we need to guide users who can’t access our youtube content, due to firewalls. Thank you for your question, and bringing attention to one of the issues with accessing our educational content.
