I use the CMAQ v5.5 for running the CCTM script which is in the attachment.
I got the following error which the log file is in the attachment too:
*** ERROR ABORT in subroutine OPCONC on PE 000
Could not write NO2 to CTM_CONC_1
PM3EXIT: DTBUF 8:00:00 Feb. 14, 2025
Date and time 8:00:00 Feb. 14, 2025 (2025045:080000)
based on your log file, CTM_CONC_1 already exists when CCTM tries to write to it and the existing file contains two variables:
"CTM_CONC_1" opened as OLD:READ-WRITE
File name "CTM_CONC_1"
File type GRDDED3
Execution ID "CCTM_v55.exe"
Grid name "AIRPACT_04km"
Dimensions: 258 rows, 285 cols, 37 lays, 2 vbles
NetCDF ID: 786432 opened as READWRITE
Starting date and time 2025045:080000 (8:00:00 Feb. 14, 2025)
Timestep 010000 (1:00:00 hh:mm:ss)
Maximum current record number 1
Is NO2 one of the variables in the file? If not, the error you’re encountering is expected because the variables in this type of file cannot be modified once the file is created. Did you initially define only two variables to be written to this file, ran the model, then defined more variables, and tried to run the same day again? In that case, the solution would be to first remove the existing file and then try again.
No, NO2 was not one of the variables.
Yes, I initially defined only two variables to be written to this file, ran the model, then defined more variables, and tried to run the same day again.
I removed the existing file and ran again and the error was solved.