# MCIP4.1 running error

**URL:** <https://forum.cmascenter.org/t/mcip4-1-running-error/1619>\
**Category:** MCIP\
**Created:** [July 3, 2020, 10:09am UTC](https://forum.cmascenter.org/t/mcip4-1-running-error/1619 "2020-07-03T10:09:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![laiber](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@laiber](https://forum.cmascenter.org/u/laiber)\
**Post date:** [July 3, 2020, 10:09am UTC](https://forum.cmascenter.org/t/mcip4-1-running-error/1619/1 "2020-07-03T10:09:24Z")

</div>

Hello,

I am having a problem runnning MCIP4.1 after running WRF3.7.1.  
 ![Snipaste_2020-07-03_16-57-56](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/3380e58c9d285cfa7fceee6d3daf9262d7595163.png)

I cannot upload txt,this is my run.mcip.  
source …/config.cmaq  
set APPL = 0623  
set CoordName = LamCon\_30N\_104W # 16-character maximum  
set GridName = 12benchCA # 16-character maximum  
set DataPath = $M3DATA/  
set InMetDir = $M3DATA/WRF  
set InTerDir = $M3DATA/WPS  
set InSatDir = $M3DATA/goes  
set OutDir = $M3DATA/mcip  
set ProgDir = $M3HOME/scripts/mcip/src  
set WorkDir = $M3DATA/mcip  
set InMetFiles = ( $InMetDir/wrfout\_d01\_2019-01-01\_00:00:00 )  
set IfTer = “T”  
set InTerFile =$InTerDir/geo\_em\_d01.nc  
set InSatFiles = ( )  
set LPV = 0  
set LWOUT = 0  
set LUVCOUT = 1  
set LSAT = 0  
set MCIP\_START = 2019-01-01-00:00:00.0000 # [UTC]  
set MCIP\_END = 2019-01-01-06:00:00.0000 # [UTC]

set INTVL = 60 # [min]  
set CTMLAYS = “-1.0”  
set MKGRID = T  
set BTRIM = 0  
set X0 = 13  
set Y0 = 94  
set NCOLS = 89  
set NROWS = 104  
set LPRT\_COL = 0  
set LPRT\_ROW = 0  
set WRF\_LC\_REF\_LAT = 30.658  
set PROG = mcip  
date

---

<div class="post-metadata">

**Author:** ![laiber](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@laiber](https://forum.cmascenter.org/u/laiber)\
**Post date:** [July 3, 2020, 12:10pm UTC](https://forum.cmascenter.org/t/mcip4-1-running-error/1619/2 "2020-07-03T12:10:46Z")

</div>

```
             USER OPTIONS AND GRID DEFINITIONS

```

Output start date = 2019-01-01-00:00:00.0000  
Output end date = 2019-01-01-00:06:00.0000  
Output interval = 180 minutes

LPV = 0: Will not calculate and output 3D potential vorticity  
LWOUT = 0: Will not output vertical velocity from the met model  
LUVCOUT = 1: Will output u- and v-component winds on C grid  
LSAT = 0: Will not use satellite adjustment of clouds for photolysis

LAI was found in the meteorology input file

FRACTIONAL LAND USE was NOT found in the meteorology input file

MONIN-OBUKHOV LENGTH was NOT found in the meteorology input file

AERODYNAMIC AND STOMATAL RESISTANCE was NOT found in the meteorology input file

2-m TEMPERATURE was found in the meteorology input file

2-m MIXING RATIO was NOT found in the meteorology input file

VEGETATION FRACTION was found in the meteorology input file

10-m WIND was found in the meteorology input file

CANOPY WETNESS was found in the meteorology input file

ROUGHNESS LENGTH was NOT found in the meteorology input file

SOIL MOISTURE, TEMPERATURE, AND TYPE was found in the meteorology input file  
SOIL MOISTURE, TEMPERATURE, AND TYPE will be in the output file

TURBULENT KINETIC ENERGY was NOT found in the meteorology input file

URBAN CANOPY MODEL (WRF ONLY) was NOT used in the meteorology model

Met domain dimensions (col, row, lay): 46 41 27  
MCIP X domain dimensions (col, row, lay): 45 40 27  
Output domain dimensions (col, row, lay): 43 38 27

Output grid resolution: 6.0000000000000000 km  
Window domain origin on met domain (col,row): 1 , 1  
Window domain far corner on met domain (col,row): 46 , 41

Cells and points for diagnostic prints  
LPRT\_COL LPRT\_ROW 22 19  
LPRT\_XCOL LPRT\_XROW 23 20  
LPRT\_METX LPRT\_METY 23 20

IOAPI header variables:  
GDTYP3D 2  
GDNAM3D 1234567890123456  
P\_ALP3D 25.000  
P\_BET3D 47.000  
P\_GAM3D 104.044  
XCENT3D 104.044  
YCENT3D 30.658  
XORIG3D -129000.000  
YORIG3D -114000.000  
XCELL3D 6000.000  
YCELL3D 6000.000  
VGTYP3D 7  
VGTOP3D 5000.000

```
VGLVS3D 1.00000 0.96300 0.92590 0.88890 0.85190 0.81480
          0.77780 0.74070 0.70370 0.66670 0.62960 0.59260
          0.55560 0.51850 0.48150 0.44440 0.40740 0.37040
          0.33330 0.29630 0.25930 0.22220 0.18520 0.14810
          0.11110 0.07410 0.03700 0.00000

```

* * *

```auto
~~~ Processing meteorology for time = 2019-01-01-00:00:00.0000

```

U 1.7792 0.5334 -0.4674 -1.5890 -2.4641  
-2.2036 -0.6467 1.2834 3.0393 4.5449  
6.3178 7.8899 8.9875 9.5218 9.7966  
10.5878 12.9177 17.5208 25.2382 35.7049  
45.2301 51.7442 54.0572 53.3158 51.3024  
45.7124 25.4998

V -0.9221 -1.2481 -0.9513 -0.4342 -1.1899  
-2.1742 -2.4912 -2.5267 -2.2151 -1.6551  
-1.1426 -0.7207 -0.5107 -0.6490 -1.0289  
-1.7468 -2.8479 -3.5438 -2.8545 -0.2461  
3.1118 6.4296 8.4531 8.4168 10.0015  
5.2004 -0.6690

W -0.0016 -0.0014 -0.0013 -0.0012 -0.0011  
-0.0010 -0.0009 -0.0009 -0.0008 -0.0007  
-0.0006 -0.0005 -0.0005 -0.0004 -0.0004  
-0.0003 -0.0003 -0.0002 -0.0002 -0.0001  
-0.0001 -0.0001 -0.0001 -0.0000 -0.0000  
-0.0000 -0.0000 -0.0000

PH 0.0000 -117.3866 -225.4700 -340.4297 -466.3310  
-598.6824 -725.4078 -832.4271 -905.2452 -936.3850  
-927.3021 -891.5656 -837.4071 -774.6593 -720.5664  
-685.1909 -673.4236 -683.6727 -703.9635 -697.7048  
-598.9436 -322.9575 194.9002 988.0486 2109.7065  
3010.0659 3613.9531 5384.9170

PHB 5024.0840 7952.1934 10977.6094 14090.1191 17304.5215  
20637.4727 24079.4570 27658.6113 31366.3691 35224.3633  
39257.6328 43460.4766 47862.1250 52497.1445 57366.2383  
62526.5391 67987.2500 73807.1562 80059.9688 86783.4062  
94086.0312 102113.3672 110991.3906 121011.9531 132489.4844  
146845.4375 166095.6875 195167.3438

P 3169.3125 3041.7109 2915.3594 2788.7578 2663.5703  
2539.0391 2415.6328 2292.1953 2169.7578 2047.6641  
1926.7070 1807.3164 1688.7734 1571.1094 1453.7148  
1336.6953 1219.9375 1103.2500 986.7148 870.5742  
754.4258 638.2500 522.1348 406.0723 290.1309  
174.0381 57.9634

PB 92463.7266 89162.1172 85860.5078 82563.3438 79261.7422  
75960.1328 72658.5234 69356.9062 66059.7500 62758.1367  
59456.5273 56159.3750 52857.7656 49556.1523 46254.5391  
42952.9336 39655.7773 36354.1641 33052.5547 29755.3984  
26453.7871 23152.1777 19850.5664 16548.9551 13251.7998  
9950.1885 6648.5776

T 272.9396 272.4059 270.2911 267.8456 265.8323  
264.6584 264.4377 264.9698 265.7030 265.9590  
265.0164 263.2455 260.5672 256.6948 252.1263  
247.2058 242.2104 237.4645 233.6245 231.1466  
229.6993 227.8028 223.7672 217.3395 209.7905  
202.6861 206.5252

QVAPOR 0.0033 0.0033 0.0031 0.0029 0.0026  
0.0023 0.0021 0.0020 0.0019 0.0016  
0.0012 0.0008 0.0006 0.0004 0.0003  
0.0003 0.0002 0.0001 0.0001 0.0001  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000

QCLOUD 0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000

QRAIN 0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000 0.0000 0.0000 0.0000  
0.0000 0.0000  
MU 3132.9553 Pa  
MUB 89112.3047 Pa  
T2 273.0119 K  
U10 1.6573 m/s  
V10 -0.4463 m/s  
PSFC 97343.8594 Pa  
MAPFAC\_M 0.9862 dimensionless  
MAPFAC\_U 0.9862 dimensionless  
MAPFAC\_V 0.9863 dimensionless  
HGT 512.1390 m  
RAINC 0.0000 cm  
RAINNC 0.0000 cm  
SWDOWN 0.0000 W m^-2  
GLW 0.0000 W m^-2  
XLAT 30.6307 degrees  
XLAT\_U 30.6306 degrees  
XLAT\_V 30.6033 degrees  
XLONG 104.0440 degrees  
XLONG\_U 104.0122 degrees  
XLONG\_V 104.0440 degrees  
LU\_INDEX 1 category  
HFX 0.0000 W m^-2  
LH 0.0000 W m^-2  
UST 0.0001 m  
PBLH 0.0000 m  
LAI 0.4952 area/area  
CANWAT 0.0000 kg m^-2  
VEGFRA 0.2545 fraction  
ISLTYP 9 category  
SMOIS 1 0.3040 m^3 m^-3  
SMOIS 2 0.2861 m^3 m^-3  
TSLB 1 276.8846 K  
TSLB 2 282.1826 K  
TSK 271.8878 K  
ALBEDO 0.1500 fraction  
SNOWC 0.0000 category  
SEAICE 0.0000 fraction  
ZNT 0.8000 m

```
 Value for IOAPI_CHECK_HEADERS: T returning TRUE
 Value for IOAPI_CHECK_HEADERS: T returning TRUE

 >>> WARNING in subroutine CHKFIL3 <<<
 Inconsistent file attribute YCENT for file GRID_DOT_2D     
 Value from file: 3.06584205627441406D+01
 Value from caller: 3.06580009460449219D+01

```

* * *

\*\*\* SUBROUTINE: GRIDOUT  
\*\*\* ERROR OPENING FILE GRID\_DOT\_2D

* * *

```
 *** ERROR ABORT in subroutine GRIDOUT
 ABNORMAL TERMINATION IN GRIDOUT
 Date and time 0:00:00 Jan. 1, 2019 (2019001:000000)

```

Error running mcip

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [August 11, 2020, 2:23pm UTC](https://forum.cmascenter.org/t/mcip4-1-running-error/1619/3 "2020-08-11T14:23:15Z")

</div>

This issue was incorrectly tagged as CMAQ, which led to a delay in our response. Have you resolved your issue?

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [August 11, 2020, 3:12pm UTC](https://forum.cmascenter.org/t/mcip4-1-running-error/1619/4 "2020-08-11T15:12:32Z")

</div>

The intent of the check is to determine “May these two REAL\*8 numbers be intended to be the same, up to reasonable round-off error?” In this case, it looks as though they are intended to be the same, but the round-off error is rather larger than one might expect. You might change the tolerance in "chkfil3.f90"s  
`DBLERR` from 1.0D-12 to something larger, perhaps 1.0D-11, re-compile, and re-run. If you tell us that succeeds, we will change the tolerance in the routine, and credit you appropriately in the I/O API change-log.

---

<div class="post-metadata">

**Author:** ![cgnolte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/cgnolte/32/53_2.png) [@cgnolte](https://forum.cmascenter.org/u/cgnolte)\
**Post date:** [August 11, 2020, 3:40pm UTC](https://forum.cmascenter.org/t/mcip4-1-running-error/1619/5 "2020-08-11T15:40:28Z")

</div>

MCIP4.2 was released in 2013, so v4.1 is at least 8 years old.  
Since we are now on MCIPv5.0, released in November 2019, I strongly recommend that you update to the latest version of MCIP before spending too much time debugging this issue. If it persists in MCIPv5.0, please post a new thread.
