# SMOKEv3.5 LAYPOINT error with MCIPv5.1 and WRFv4.3

**URL:** <https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447>\
**Category:** SMOKE\
**Created:** [June 23, 2021, 9:20am UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447 "2021-06-23T09:20:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [June 23, 2021, 9:20am UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/1 "2021-06-23T09:20:43Z")

</div>

Hi, all!  
I’m using SMOKE version 3.5, MCIP version 5.1 and WRF version 4.3 for my modeling programs.

First, I got an error message from laypoint log file of SMOKEv3.5 below:

\*\*\* ERROR ABORT in subroutine LAYPOINT  
Cannot process vertical coordinate type -9999

And I understood why that error occurred during running system with url: [SMOKE Laypoint fails on MCIP 5.1 with VGTYP = -9999 ;](https://forum.cmascenter.org/t/smoke-laypoint-fails-on-mcip-5-1-with-vgtyp-9999/1315)

So I revised METCRO3D header ‘VGTYP = -9999’ to ‘VGTYP = 7’ using m3edhdr program.

But I got another error message from laypoint of SMOKEv3.5 below:

\*\*\* ERROR ABORT in subroutine LAYPOINT  
Input met files have inconsistent grids or layers.

I’m not using SMOKE v4.8.1 because my emisson inventory files are ‘IDA’ format and current SMOKE doesn’t support the IDA format.

So, is there any solution to remove this error in SMOKEv3.5 with WRFv4.3 and MCIPv5.1 ???

Please let me know any your opinions

Thanks.

HyeonYeong Park

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [June 24, 2021, 12:27pm UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/2 "2021-06-24T12:27:14Z")

</div>

Please check out this previous ticket:

> [@SMOKE Laypoint fails on MCIP 5.1 with VGTYP = -9999 ;](https://forum.cmascenter.org/t/smoke-laypoint-fails-on-mcip-5-1-with-vgtyp-9999/1315):
>
> This relates to failures in our modeling system caused by WRF updating to use hybrid vertical coordinates. Our new WRF runs are from WRF ARW V4.1.3. We updated to MCIP5.1, which gives VGTYP as a value of -9999 in METCRO3D, and then SMOKEv3.5.1 Laypoint fails with message: NOTE: file “MET\_CRO\_3D” was used to initialize meteorology file header checks. NOTE: Grid settings initialized using MET\_CRO\_3D in gridded file. \*\*\* ERROR ABORT in subroutine LAYPOINT Cannot process vertical coord…

---

<div class="post-metadata">

**Author:** ![jvaughan\_at\_wsu.edu](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@jvaughan\_at\_wsu.edu](https://forum.cmascenter.org/u/jvaughan_at_wsu.edu)\
**Post date:** [June 24, 2021, 5:08pm UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/3 "2021-06-24T17:08:38Z")

</div>

B.H.Baek is doubtlessly correct in saying " [quote]  
You need to update your Laypoint (SMOKE v4.7) with the latest version from SMOKE v4.8 or v4.8.1 to handle this hybrid VGTYP = -9999.  
[/quote]". But if updating SMOKE is infeasible for any reason, use m3edhdr to change the VGTYP value to 7 in all of the MCIP files that have VGTYP = -9999. The GRIDDESC file needs no modification. But this is just a work around, and not quite correct.

---

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [June 25, 2021, 3:12am UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/4 "2021-06-25T03:12:38Z")

</div>

Thank you for your response!  
So… is there only one choice to change SMOKE version 4.7 or 4.8.1 ??

---

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [June 25, 2021, 3:15am UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/5 "2021-06-25T03:15:56Z")

</div>

Thank you for replying!  
But I’ve already mentioned that I changed my VGTYP value from -9999 to 7 using m3edhdr program. And I got another error message.  
So, I think that’s not a good solution, and if there is no solution without changing SMOKE version, I think I have to do it.

And did you change SMOKE version and is it working well??

---

<div class="post-metadata">

**Author:** ![jvaughan\_at\_wsu.edu](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@jvaughan\_at\_wsu.edu](https://forum.cmascenter.org/u/jvaughan_at_wsu.edu)\
**Post date:** [June 25, 2021, 4:12am UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/6 "2021-06-25T04:12:02Z")

</div>

Well, perhaps I misunderstood you…. But I thought said you had used m3edhdr to change the VGTYP in just the one

MCIP file where the error pointed.

And then got an error on inconsistent headers AMONG the MCIP files.

Quoting from your post:

\*\*“\*\ ***So I revised METCRO3D header ‘VGTYP = -9999’ to ‘VGTYP = 7’ using m3edhdr program.**

**But I got another error message from laypoint of SMOKEv3.5 below:**

**\*\*\* ERROR ABORT in subroutine LAYPOINT**  
**Input met files have inconsistent grids or layers.**

“

So, isn’t that what you said?

In our system I changed the VGTYP value in ALL MCIP netCDF file headers.

Here is the SMOKE version info for the LAYPOINT that we ran today:

Program LAYPOINT, Version SMOKEv351\_5Dec2013

But updating your SMOKE code is probably the correct fix.

Good luck,

Joe

---

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [June 25, 2021, 5:04am UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/7 "2021-06-25T05:04:23Z")

</div>

Oh, I got it what you said to me!  
Yes, I only revised METCRO\_3D file’s header.

I’m so sorry to misunderstand you.  
Then, I will try to revise all of headers of MCIP files!

Thank you for your advice 🙂

HyeonYeong Park

---

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [June 29, 2021, 6:05am UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/8 "2021-06-29T06:05:17Z")

</div>

Hi,  
I tried revising the header of some mcip files (METCRO3D, METCRO2D, METDOT3D etc.) and it worked well!

Your suggestion was really helpful to me to solve this problem 🙂

And I also think the best solution is to change the SMOKE version as you mentioned before, so, I will try to change my SMOKE version.

Thank you for your help again!

HyeonYeong Park

---

<div class="post-metadata">

**Author:** ![jvaughan\_at\_wsu.edu](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@jvaughan\_at\_wsu.edu](https://forum.cmascenter.org/u/jvaughan_at_wsu.edu)\
**Post date:** [June 29, 2021, 2:37pm UTC](https://forum.cmascenter.org/t/smokev3-5-laypoint-error-with-mcipv5-1-and-wrfv4-3/2447/9 "2021-06-29T14:37:27Z")

</div>

Happy that worked out for you!

Joe
