Import WRF data

I am using VAPOR to directly import my WRF-ARW wrfout files through the WRF import option. After loading the file, I checked the dataset metadata and found that the transform values look unusual. The X and Y scales are both 1.00000, but the Z scale is about 13181.0208, while the Z origin is only 3.00000. The X/Y origins are large projected-coordinate values. When I use different renderers to display 3D variables, the vertical dimension appears abnormally large relative to the horizontal dimensions. It looks as if the Z scale and origin may have been interpreted incorrectly, or that the horizontal and vertical coordinates are not being displayed in the same scale.

I can take a look. Can you share a sample file?

PS - You can email it to me at pearse@ucar.edu

Hi Astro,

Is the file you sent me standard wrfout data, or has it been postprocessed? I see that there are “coordinates” attributes on the 3D variables which is a CF convention, but not a WRF one as far as I’m aware.

It’s standard wrfout data without postprocessed.Do I need to process the 3D variables of the data?

This turns out to be a weird edge case in some of VAPOR’s core utilities and I’m worried that fixing it will introduce regressions in other datasets. To work around this, you can simply rename AFWA_TURB to zAFWA_TURB (prefix it with a z) with NCO:

ncrename -v AFWA_TURB,zAFWA_TURB wrfout_d03_2013-07-07_21_30_00 wrfout_d03_2013-07-07_21_30_00_rename

I’m going to go ahead and write a ticket on this in case the issue does come up again. Please let me know if you run into any other issues.

Thanks!

-Scott