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?
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.
#> 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
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.