CMAQ File Not Available Error

Hello,
I was wondering if someone could suggest what is happening here, i get the following file not available error.


INIT_CONC_1 :/mnt/d/cmaq_output/output/e2013_2013_saprc07tc_ae6/CCTM_CGRID_v532_gcc_saprc07tc_ae6_aq.aep_prov04_2013175.nc

 >>--->> WARNING in subroutine OPEN3
 File not available.
 
 *** ERROR ABORT in subroutine gridded_files_se on PE 000
 Open failure for INIT_CONC_1

PM3EXIT: date&time specified as 0
Date&time specified as 0


I made sure that the output directory exists, the program should be able to write the output files.

Thanks
MMS

The INIT_CONC_1 file is typically the initial concentration file that is read in by CMAQ.
For example, in the benchmark case, for the first day’s run, the following file is used for initial conditions:
“INIT_CONC_1” opened as OLD:READ-ONLY
File name “/proj/ie/proj/CMAS/CMAQ/CMAQv5.3.2_rel2/openmpi_4.0.1_gcc_9.1.0_2/data/2016_12SE1_2day/icbc/ICON_20160630_bench.nc”

On the second day, the previous day’s CGRID file is used for the initial conditions for the next day model run.

"INIT_CONC_1" opened as OLD:READ-ONLY
 File name "/proj/ie/proj/CMAS/CMAQ/CMAQv5.3.2_rel2/openmpi_4.0.1_gcc_9.1.0_2/data/output_CCTM_v532_gcc_Bench_2016_12SE1_36pe/CCTM_CGRID_v532_gcc_Bench_2016_12SE1_20160701.nc"

So, if you are running a multiple-day simulation, and the previous CGRID file wasn’t created correctly, then you would obtain an abort when trying to read in the Initial Conditions file for the next day.

You can check whether the first day’s input file was written using grep on that day’s log.
For example looking at the first day’s log and gripping for CGRID, we can see that it was created:

 grep CGRID CTM_LOG_000.v532_gcc_Bench_2016_12SE1_20160701
        Set of variables (possibly) reduced from CGRID
        use the "one-step" CGRID file
       Layer mapping (CGRID to AGRID):
   CGRID_SPC     SPC     SURROGATE    ISRG IDX 
   CGRID_SPC     SPC     SURROGATE    ISRG IDX 
     S_CGRID         :/proj/ie/proj/CMAS/CMAQ/CMAQv5.3.2_rel2/openmpi_4.0.1_gcc_9.1.0_2/data/output_CCTM_v532_gcc_Bench_2016_12SE1_36pe/CCTMCGRID_v532_gcc_Bench_2016_12SE1_20160701.nc
     Could not open S_CGRID file for update - try to open new
        State CGRID File Header Description:
        State CGRID File Variable List:
     "S_CGRID" opened as NEW(READ-WRITE )
     File name "/proj/ie/proj/CMAS/CMAQ/CMAQv5.3.2_rel2/openmpi_4.0.1_gcc_9.1.0_2/data/output_CCTM_v532_gcc_Bench_2016_12SE1_36pe/CCTM_CGRID_v532_gcc_Bench_2016_12SE1_20160701.nc"
     Timestep written to S_CGRID          for date and time  2016184:000000