# ISAM-5.3.2 run normally, but ISAM-5.3.3 doesn't

**URL:** <https://forum.cmascenter.org/t/isam-5-3-2-run-normally-but-isam-5-3-3-doesnt/2843>\
**Category:** CMAQ-ISAM\
**Created:** [November 24, 2021, 2:40am UTC](https://forum.cmascenter.org/t/isam-5-3-2-run-normally-but-isam-5-3-3-doesnt/2843 "2021-11-24T02:40:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmbmnb](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@bmbmnb](https://forum.cmascenter.org/u/bmbmnb)\
**Post date:** [November 24, 2021, 2:40am UTC](https://forum.cmascenter.org/t/isam-5-3-2-run-normally-but-isam-5-3-3-doesnt/2843/1 "2021-11-24T02:40:28Z")

</div>

Hello everyone,

I run a ISAM-5.3.3 task, SA\_CGRID file of first day was created but not for the second day. And I got error message ‘Could not extract ISAM\_PREVDAY’ in LOG file.  
But everything was fine when I using ISAM-5.3.2 with basic exact run scrpit.  
Does anybody knows why?

Yunqing  
[CTM\_LOG\_000.v533\_ISAM\_intel\_d03\_20210729.txt](https://forum.cmascenter.org/uploads/short-url/ytd467HcKm7YHMEQAIh7gqMkveq.txt) (22.9 KB)

---

<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:** [December 7, 2021, 1:48am UTC](https://forum.cmascenter.org/t/isam-5-3-2-run-normally-but-isam-5-3-3-doesnt/2843/2 "2021-12-07T01:48:28Z")

</div>

Is this log file for the first day of a CMAQ run?

CMAQ-ISAMv5.3.3 is expecting a previous day file.

You have the previous day file set to  
“ISAM\_PREVDAY” opened as OLD:READ-ONLY  
File name “/home/caoyq/CMAQ-5.3.3/CMAQ-5.3.3\_ISAM/CCTM/scripts/output/2021-07-27/d03/CCTM\_SA\_CGRID\_20210728.nc”  
File type GRDDED3  
Execution ID “CMAQ\_CCTMv533\_ISAM\_caoyq\_20211119\_002302\_128156696”  
Grid name “d03”  
Dimensions: 205 rows, 271 cols, 34 lays, 648 vbles  
NetCDF ID: 917504 opened as READONLY  
Starting date and time **2021210:000000 (0:00:00 July 29, 2021)**  
Timestep 010000 (1:00:00 hh:mm:ss)  
Maximum current record number 0  
Number of Emissions Layers: 14  
out of total Number of Model Layers: 34

It is named with the previous date, but the netCDF metadata show that it is for the current date.

I believe that is why you are getting this error:

> > —\>\> WARNING in subroutine RDTFLAG  
> > Error reading netCDF time step flag for ISAM\_PREVDAY  
> > M3WARN: DTBUF 0:00:00 July 29, 2021 (2021210:000000)

```
 >>--->> WARNING in subroutine XTRACT3
 Time step not available for file: ISAM_PREVDAY
 M3WARN: DTBUF 0:00:00 July 29, 2021 (2021210:000000)

 *** ERROR ABORT in subroutine retrieve_time_de on PE 000
 Could not extract ISAM_PREVDAY file

```

PM3EXIT: DTBUF 0:00:00 July 29, 2021  
Date and time 0:00:00 July 29, 2021 (2021210:000000)

If you are starting a new run, then you need to use the following syntax that is available in the benchmark run script for CMAQv5.3.3. This sets ISAM\_PREVDAY to null if this is the first day of the model run.

```auto
#> Set Up ISAM Initial Condition Flags
       if ($NEW_START == true || $NEW_START == TRUE ) then
          setenv ISAM_NEW_START Y
          setenv ISAM_PREVDAY
       else
          setenv ISAM_NEW_START N
          setenv ISAM_PREVDAY "$OUTDIR/CCTM_SA_CGRID_${RUNID}_${YESTERDAY}.nc"
       endif

```

---

<div class="post-metadata">

**Author:** ![bmbmnb](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@bmbmnb](https://forum.cmascenter.org/u/bmbmnb)\
**Post date:** [December 7, 2021, 2:07am UTC](https://forum.cmascenter.org/t/isam-5-3-2-run-normally-but-isam-5-3-3-doesnt/2843/3 "2021-12-07T02:07:18Z")

</div>

Dear lizadams,

The log file was for the entire 12 days, there’s nothing wrong with first day’s SA\_CGRID file. The second SA\_GRID file was created but nothing write to it at the end of second day’s simulation.  
And the date(2021-07-27) in the OUTDIR has nothing to do with SA\_GRID\_${YESTERDAY}, the evidence is that I use the same run script in CMAQ-5.3.2, the simulation run perfectly, but stop in CMAQ-5.3.3.

Yunqing
