# Grid not matching

**URL:** <https://forum.cmascenter.org/t/grid-not-matching/4923>\
**Category:** WRF\
**Tags:** emissions\
**Created:** [May 10, 2024, 11:20pm UTC](https://forum.cmascenter.org/t/grid-not-matching/4923 "2024-05-10T23:20:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kruthika](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kruthika](https://forum.cmascenter.org/u/kruthika)\
**Post date:** [May 10, 2024, 11:20pm UTC](https://forum.cmascenter.org/t/grid-not-matching/4923/1 "2024-05-10T23:20:12Z")

</div>

Hello,

I am using WRF-Chem version 4.5.2. As you can see in the screenshot attached, when I plot an average for oc\_a01, the output is shifted as is the case for all output.

I am using NEI and MEGAN input files. I am running chem\_opt = 201 using MOSAIC.  
I know that the grid dimensions are fine for all input files except for the NEI ANTHRO\_EMIS converted input files.

The wrfout parameters are:  
:CEN\_LAT = 38.705f ;  
:CEN\_LON = -97.42401f ;  
:TRUELAT1 = 31.5f ;  
:TRUELAT2 = 43.5f ;  
:MOAD\_CEN\_LAT = 38.705f ;  
:STAND\_LON = -97.423f ;

However, the wrfchemi files have:  
:CEN\_LAT = 40.57356f ;  
:CEN\_LON = -94.64294f ;  
:TRUELAT1 = 33.f ;  
:TRUELAT2 = 45.f ;  
:MOAD\_CEN\_LAT = 40.57356f ;  
:STAND\_LON = -97.f ;

I was using 12US1\_459X299 from the GRIDDESC. I am unsure how to proceed.

Prior to the last ANTHRO\_EMIS conversion step the grid parameters are mentioned below for all that was generated in the. process:  
Prior to the final anthro\_emis step I looked at the files:

NEI emis files after merge -  
:XCENT = -97. ;  
:YCENT = 40. ;  
:XORIG = -2556000. ;  
:YORIG = -1728000. ;

CMAQ METCRO2D\_150717 -  
:XCENT = -97. ;  
:YCENT = 40. ;  
:XORIG = -2556000. ;  
:YORIG = -1728000.

WRF\_OUT for CMAQ-  
:CEN\_LAT = 40.57356f ;  
:CEN\_LON = -94.64294f ;  
:TRUELAT1 = 33.f ;  
:TRUELAT2 = 45.f ;  
:MOAD\_CEN\_LAT = 40.57356f ;  
:STAND\_LON = -97.f ;

WPS for CMAQ -  
:CEN\_LAT = 40.57356f ;  
:CEN\_LON = -94.64294f ;  
:TRUELAT1 = 33.f ;  
:TRUELAT2 = 45.f ;  
:MOAD\_CEN\_LAT = 40.57356f ;  
:STAND\_LON = -97.f

Any help is much appreciated! Please let me know if you need more information.

Best,  
Kruthika

---

<div class="post-metadata">

**Author:** ![kruthika](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kruthika](https://forum.cmascenter.org/u/kruthika)\
**Post date:** [May 13, 2024, 6:33pm UTC](https://forum.cmascenter.org/t/grid-not-matching/4923/2 "2024-05-13T18:33:36Z")

</div>

I was able to fix it by changing the path to the wrf directory of the wrf-chem simulation instead of the directory used for CMAQ.
