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

Hi, @lizadams I ran into the same problem and my info is as follows:



What should I do next?The files for the initial first day seem not to have been generated.
CTM_LOG_000.v533_intel_2020case_20200105.txt (11.0 KB)
run_cctm_Bench_2016_12SE1.csh (35.6 KB)

Hi @sher ,

as the error message says, file INIT_CONC_1 (/fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/data/icon/CCTM_ICON_v533_2020case_profile_20200105) is not available when the program is executed. If you do ls /fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/data/icon/CCTM_ICON_v533_2020case_profile_20200105, do you see the file?

Looking back at your other post on preparing the ICON file, it seems you have a slight mismatch in filenames between what you generated with ICON and what you’re specifying in the CCTM run script. Specifically, in the log file you posted in that other thread, the file was named ‘/fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/data/icon/ICON_v532_2020case_profile_20200105’ (note the ‘v532’ as part of the filename) while the CCTM log file says the program is looking for ‘/fs2/home/qiaozhi/software/cmaq/CMAQV5.3.3/data/icon/CCTM_ICON_v533_2020case_profile_20200105’ (note the ‘v533’ as part of the filename).

Thank you very much! The version I’m using is CCTM5.3.3, while ICON and BCON are 5.3.2. Does this mean that I need to recompile?

No, you do not need to recompile, you just need to make sure that your CCTM run script references the correct names of the ICON and BCON files you generated.

1 Like