# Mcip running error

**URL:** <https://forum.cmascenter.org/t/mcip-running-error/2016>\
**Category:** MCIP\
**Created:** [January 19, 2021, 7:07pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016 "2021-01-19T19:07:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![munshimdrasel](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@munshimdrasel](https://forum.cmascenter.org/u/munshimdrasel)\
**Post date:** [January 19, 2021, 7:07pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/1 "2021-01-19T19:07:41Z")

</div>

[run\_mcip4AQF5X\_cron.csh](https://forum.cmascenter.org/uploads/short-url/kcfnv168x1ENGTVh2QzHYFTKQHG.csh) (948 Bytes) [run\_mcip\_AQF5X\_cron.csh](https://forum.cmascenter.org/uploads/short-url/1DQlZBG3WpdFx93TLIUXIkeH5pZ.csh) (18.7 KB) Hy,

I’m facing an error while running mcip. Please see the attached scripts.

error:[run\_mcip\_AQF5X\_cron.csh](https://forum.cmascenter.org/uploads/short-url/1DQlZBG3WpdFx93TLIUXIkeH5pZ.csh) (18.7 KB)

```auto
 ~~~ Processing meteorology for time = 2020-06-01-19:00:00.0000

```

GETH\_IDTS: Month of ODATE = 0  
GETH\_IDTS: Day of ODATE = 0  
Screwy ODATE:  
STOP odate\_1  
mv: cannot stat ‘/scratch/mrasel/data/mcip/out/_200601_’: No such file or directory  
[run\_mcip\_AQF5X\_cron.csh](https://forum.cmascenter.org/uploads/short-url/1DQlZBG3WpdFx93TLIUXIkeH5pZ.csh) (18.7 KB)[run\_mcip4AQF5X\_cron.csh](https://forum.cmascenter.org/uploads/short-url/kcfnv168x1ENGTVh2QzHYFTKQHG.csh) (948 Bytes) [run\_mcip\_AQF5X\_cron.csh](https://forum.cmascenter.org/uploads/short-url/1DQlZBG3WpdFx93TLIUXIkeH5pZ.csh) (18.7 KB)

---

<div class="post-metadata">

**Author:** ![FengLiu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@FengLiu](https://forum.cmascenter.org/u/FengLiu)\
**Post date:** [January 19, 2021, 10:45pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/2 "2021-01-19T22:45:34Z")

</div>

Hi Munshi,

1. I am wondering if you defined your mcip out directory named “$mcp\_dir” in config\_cmaq.csh, .cshrc, or your script.

2. Make sure InGeoDir should be your WPS output path with geo\_em.d0?.nc files.

3. I see following settings in your script and wonder if it works properly

add following check immediately after “set MCIP\_END…”

echo $MCIP\_START $MCIP\_END

make sure you have the valid start date and end one. You error message says you do not.

**Otherwise,** shift one hour late for start and end as following setting and see if it works.

set MCIP\_START = ${1}-19:00:00.0000 # [UTC]

set MCIP\_END = ${2}-19:00:00.0000 # [UTC]

I hope it is helpful.

---

<div class="post-metadata">

**Author:** ![munshimdrasel](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@munshimdrasel](https://forum.cmascenter.org/u/munshimdrasel)\
**Post date:** [January 27, 2021, 10:32pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/3 "2021-01-27T22:32:45Z")

</div>

Hy,

1. I didn’t see anything like $mcp\_dir in config\_cmaq.csh
2. I’ve checked and my geo\_em.d01.nc file is in InGeoDir
3. I’ve checked and also changed the date to …:19:00:00

I’m still having the issues and it’s giving me the same error.

Any other suggestions?

---

<div class="post-metadata">

**Author:** ![FengLiu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@FengLiu](https://forum.cmascenter.org/u/FengLiu)\
**Post date:** [January 27, 2021, 10:44pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/4 "2021-01-27T22:44:12Z")

</div>

Hi,  
Please double check, you do have

# set OutDir = $mcp\_dir #$DataPath/mcip/$GridName

in your run script file run\_mcip\_AQF5X\_cron.csh  
Do you have setenv mcp\_dir somewhere? otherwise, output goes nowhere.

According to your error message

Processing meteorology for time = 2020-06-01-19:00:00.0000

The time stamp in your meteorology data seems not matching your start date

set MCIP\_START = ${1}-18:00:00.0000 # [UTC]

So I doubt you have the right results from  
echo $MCIP\_START $MCIP\_END

It is better to attach your log file.

---

<div class="post-metadata">

**Author:** ![munshimdrasel](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@munshimdrasel](https://forum.cmascenter.org/u/munshimdrasel)\
**Post date:** [January 27, 2021, 11:03pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/5 "2021-01-27T23:03:43Z")

</div>

> [@FengLiu](#):
>
> OutDir

Hy,

I set setenv mcp\_dir in run\_mcip4AQF5X\_cron.sh script (please see the attached [run\_mcip4AQF5X\_cron.csh file).

The script worked for 18th hours. However, at 19th hours it failed.

Also see the attached[log.csh](https://forum.cmascenter.org/uploads/short-url/9e7Fvkc7p3jJSlwg1cj2Dp9Bcs5.csh) (39.3 KB) logout file:

Regards,  
Rasel

---

<div class="post-metadata">

**Author:** ![FengLiu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@FengLiu](https://forum.cmascenter.org/u/FengLiu)\
**Post date:** [January 27, 2021, 11:32pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/6 "2021-01-27T23:32:47Z")

</div>

Hi,  
I checked the code date\_pack\_mod.f90 (mcipv5.0), your error

GETH\_IDTS: Month of ODATE = 0

resulted from moold = 0 (it should be 1-12), please double check time stamp in your meteorology data based on the following lines in date\_pack\_mod.f90

```
151 ! Check that the month of ODATE makes sense.
152 
153 IF ((moold.GT.12).or.(moold.LT.1)) THEN
154 PRINT*, 'GETH_IDTS: Month of ODATE = ', moold
155 opass = .false.
156 END IF

237 IF (.not. opass) THEN
238 PRINT*, 'Screwy ODATE: ', odate
239 STOP 'odate_1'
240 END IF

```

I hope it helps.

---

<div class="post-metadata">

**Author:** ![munshimdrasel](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@munshimdrasel](https://forum.cmascenter.org/u/munshimdrasel)\
**Post date:** [January 27, 2021, 11:54pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/7 "2021-01-27T23:54:07Z")

</div>

Hy,

In my wrfout file I’ve checked (ncdump -v Times wrfout\*) time stamp. It seems to me they are okay (please see the attached screen shot). Is there any other things I can check in my wrfout file?

Thanks  
Rasel

 ![Screen Shot 2021-01-27 at 6.51.42 PM](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/7/78956082dfe750f0e77415614222145646b8a1b0.png)

---

<div class="post-metadata">

**Author:** ![FengLiu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@FengLiu](https://forum.cmascenter.org/u/FengLiu)\
**Post date:** [January 29, 2021, 9:55pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/8 "2021-01-29T21:55:27Z")

</div>

Hi, @munshimdrasel ,

Go to source code directory and update the routine src/chkwrfhdr.f90 by commenting out line 447 as below, then try again after recompile MCIP. Please ‘make clean’ first before you re-compile it.

```
445 WRITE (*,f9000) TRIM(pname), 'SIMULATION_START_DATE'
446 WRITE (*,f9300) TRIM(fl1), met_startdate(1:19), TRIM(fl), date_init
!!447 CALL graceful_stop (pname)

```

I hope it will be helpful.

---

<div class="post-metadata">

**Author:** ![munshimdrasel](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@munshimdrasel](https://forum.cmascenter.org/u/munshimdrasel)\
**Post date:** [February 4, 2021, 1:48pm UTC](https://forum.cmascenter.org/t/mcip-running-error/2016/9 "2021-02-04T13:48:51Z")

</div>

Hy,

It worked. Thank you so much.

Rasel
