# Issues rendering WRF out files (Paint Failed, domain is just a straightline)

**URL:** <https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369>\
**Category:** Uncategorized\
**Created:** [April 28, 2024, 6:51pm UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369 "2024-04-28T18:51:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://vapor.discourse.group/u/Matt)\
**Post date:** [April 28, 2024, 6:51pm UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/1 "2024-04-28T18:51:49Z")

</div>

Hello,  
I can not find a previous post about this so hopefully you can help!

I am trying to import WRF out files into vapor however when I for example try to view QCLOUD in the volumetric renderer I get paint failed and when I try view REFD\_MAX or any other variable in TwoDData the domain is just a straight line and without any renderers the domain is weirdly shaped

 ![image](https://global.discourse-cdn.com/free1/uploads/vapor/original/1X/9915b66675ae3896d33b9994158ad3ae503ad33e.png)

This data does work in a program called Vislt so I am confused as to why it does not work here?

The WRF out file is here if anyone would like to try help me:

> **[wrfout\_d01\_2024-05-11\_12\_00\_00](https://drive.google.com/file/d/1VPhULoYrs40FJ8dbv5T8IBwnciGEPVob/view?usp=sharing)**
>
> Google Drive file.

Thanks,  
Matt

---

<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:** [May 1, 2024, 12:20am UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/2 "2024-05-01T00:20:52Z")

</div>

Hi @matt, thanks for sharing your file. I’m looking into it.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://vapor.discourse.group/u/Matt)\
**Post date:** [May 1, 2024, 6:06am UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/3 "2024-05-01T06:06:32Z")

</div>

Thank you, I managed to import a new WRF-ARW run and display TwoDData however I still can’t get anything other than that to display

Edit: After a new run it’s the same as described in my original post

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://vapor.discourse.group/u/Matt)\
**Post date:** [May 2, 2024, 7:18am UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/4 "2024-05-02T07:18:48Z")

</div>

Hello,  
It turns out the problem was in my domain settings, problem is fixed

---

<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:** [May 2, 2024, 3:03pm UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/5 "2024-05-02T15:03:05Z")

</div>

Thanks Matt. Could you share what exactly was wrong? Vapor was reading the X coordinates as ranging from -180 to -180, but the values for XLONG, XLONG\_U, and XLONG\_V looked legitimate to me. I’m curious what was going on.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://vapor.discourse.group/u/Matt)\
**Post date:** [May 3, 2024, 9:53am UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/6 "2024-05-03T09:53:17Z")

</div>

I am using [WRF Domain Wizard](https://jiririchter.github.io/WRFDomainWizard/) to set up my domains and in the namelist.wps it generates there is the following:

```auto
 pole_lat = 90
 pole_lon = 0

```

After removing that from my namelist.wps the problem resolved itself.

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://vapor.discourse.group/u/Matt)\
**Post date:** [May 5, 2024, 2:28am UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/7 "2024-05-05T02:28:02Z")

</div>

I would also like to add on that adding

```auto
 &afwa
 afwa_diag_opt=1
 afwa_ptype_opt = 1,1 !(precipitation type)
 afwa_vil_opt = 1, 1 !(vertical integrated liquid)
 afwa_radar_opt = 1, 1 !(radar)
 afwa_severe_opt = 1, 1 !(severe weather)
 afwa_icing_opt = 1, 1 !(icing)
 afwa_vis_opt = 1, 1 !(visibility)
 afwa_cloud_opt = 1, 1 !(cloud)
 afwa_therm_opt = 1, 1 !(thermal indices)
 afwa_turb_opt = 1, 1 !(turbulence)
 afwa_buoy_opt = 1, 1 !(buoyancy)
 /

```

To the namelist breaks any thing to do with 3D Data as removing it fixed all the issues I had with the program however I do need those outputs

---

<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:** [May 8, 2024, 3:24pm UTC](https://vapor.discourse.group/t/issues-rendering-wrf-out-files-paint-failed-domain-is-just-a-straightline/369/8 "2024-05-08T15:24:12Z")

</div>

Hey @matt, I’m not familiar the WRF Domain Wizard or its configuration, but I am noticing an odd value in your projection string. +lon\_0=1.e+20f seems like an error. When I change this value to 145.02, the renderings seem correct. If you change the STAND\_LON global attribute, it should help.

```
            :CEN_LAT = -37.753f ;
            :CEN_LON = 145.02f ;
            :TRUELAT1 = -37.338f ;
            :TRUELAT2 = 1.e+20f ;
            :MOAD_CEN_LAT = -37.753f ;
            :STAND_LON = 1.e+20f ; <--------- Change to 145.02

```
