Hi, I was processing MEIC inventory. Programs, including smkinven, grdmat, spcmat, and temporal, worked well. But an error occurred during smkmerge, “ERROR: Gridding matrix dimension is inconsistent with records count!
Delete gridding matrix and recreate it.”. Any thoughts on this error? Thanks.
The complete log file is shown as follows:
This program uses the EPA-AREAL/MCNC-EnvPgms/BAMS Models-3
I/O Applications Programming Interface, [I/O API] which is
built on top of the netCDF I/O library (Copyright 1993, 1996
University Corporation for Atmospheric Research/Unidata
Program) and the PVM parallel-programming library (from
Oak Ridge National Laboratory).
Copyright (C) 1992-2002 MCNC,
(C) 1992-2018 Carlie J. Coats, Jr.,
(C) 2003-2012 Baron Advanced Meteorological Systems, LLC, and
(C) 2014-2019 UNC Institute for the Environment.
Released under the GNU LGPL License, version 2.1. See URL
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
for conditions of use.
ioapi-3.2: $Id: init3.F90 136 2019-10-16 13:57:49Z coats $
Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048
netCDF version 4.4.1.1 of Apr 13 2017 12:41:52 $
Missing environment variable EXECUTION_ID
SMOKE ---------------
Copyright (c)2004 Environmental Modeling for Policy Development
All rights reserved
Program SMKMERGE, Version SMOKEv4.8_Oct2020
Online documentation
http://www.cep.unc.edu/empd/products/smoke
Program SMKMERGE to merge the inventory or hourly emission
files with gridding matrices and with optionally any
combination of speciation matrices, multiplicative control
matrices, additive control matrices, or reactivity control
matrices. The program can operate on one to four source
categories (area, biogenic, mobile, or point sources), or any
combination of these. Gridded and/or state reports and/or
county reports can be written from this program. If a layer-
fractions file is input, then the total emissions output file
is three-dimensional.
You will need to enter the logical names for the input and
output files (and to have set them prior to program start,
using "setenv <logicalname> <pathname>").
You may use END_OF-FILE (control-D) to quit the program
during logical-name entry. Default responses are given in
brackets [LIKE THIS] and can be accepted by hitting the
<RETURN> key.
Value for PROMPTFLAG: N returning FALSE
Returning default value TRUE for query:
"Continue with program?"
Value for MRG_SOURCE: 'A'
Value for MRG_SOURCE: 'A'
Value for MRG_CTLMAT_MULT not defined; returning defaultval ': ' '
Value for MRG_CTLMAT_MULT not defined; returning defaultval ': ' '
Value for MRG_CTLMAT_REAC not defined; returning defaultval ': ' '
Value for MRG_CTLMAT_REAC not defined; returning defaultval ': ' '
Value for MRG_BYDAY not defined; returning defaultval ': ' '
Value for MRG_BYDAY not defined; returning defaultval ': ' '
Value for MRG_TEMPORAL_YN: Y returning TRUE
Value for MRG_SPCMAT_YN: Y returning TRUE
Value for MRG_METCHK_YN not defined;returning default: TRUE
Value for MRG_MARKETPEN_YN not defined;returning default: TRUE
Value for MRG_GRDOUT_YN: Y returning TRUE
Value for MRG_REPSTA_YN: Y returning TRUE
Value for MRG_REPCNY_YN: Y returning TRUE
Value for MRG_REPINV_YN not defined;returning default: TRUE
Value for MRG_REPSPC_YN not defined;returning default: TRUE
Value for MRG_REPCTL_YN not defined;returning default: FALSE
Value for USE_VARIABLE_GRID not defined;returning default: FALSE
Value for SMK_SRCGROUP_OUTPUT_YN not defined;returning default: FALSE
Value for SMK_AVEDAY_YN: N returning FALSE
Value for GRIDDESC: '/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/GRIDDESC_MYD02'
Value for GRIDDESC: '/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/GRIDDESC_MYD02'
File "GRIDDESC" opened for input on unit: 98
/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/GRIDDESC_MYD02
Value for IOAPI_GRIDNAME_1: 'MYd02'
Value for IOAPI_GRIDNAME_1: 'MYd02'
File "GRIDDESC" opened for input on unit: 98
/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/GRIDDESC_MYD02
NOTE: Grid settings initialized using general in
grid description file.
Value for PROMPTFLAG: N returning FALSE
File "AREA" opened for input on unit: 98
/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/area.map.meic.MYD02.txt
Value for AREA: '/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/area.map.meic.MYD02.txt'
Value for AREA: '/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/area.map.meic.MYD02.txt'
File "ASRC" opened for input on unit: 97
/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meicsrc.MYD02.txt
Value for IOAPI_CHECK_HEADERS not defined;returning default: FALSE
"AREA" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 2000000 rows, 1 cols, 1 lays, 4 vbles
NetCDF ID: 65536 opened as READONLY
Time-independent data.
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/CO.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 402808 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/NH3.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 343107 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/NOX.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 402808 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/PM10.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 384167 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/PM2_5.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 384167 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/SO2.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 372633 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/VOC.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 402965 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
"TMP_POL_FILE" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/inventory/MYD02/meic.MYD02_dat/PMC.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 377769 rows, 1 cols, 1 lays, 7 vbles
NetCDF ID: 131072 opened as READONLY
Time-independent data.
Closing file TMP_POL_FILE
Value for PROMPTFLAG: N returning FALSE
"ATMP1" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/run_MYD02/scenario/atmp.meic.MYD02.2020162.1.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 2000000 rows, 1 cols, 1 lays, 4 vbles
NetCDF ID: 131072 opened as READONLY
Starting date and time 2020162:000000 (0:00:00 June 10, 2020)
Timestep 010000 (1:00:00 hh:mm:ss)
Maximum current record number 25
"ATMP2" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/run_MYD02/scenario/atmp.meic.MYD02.2020162.2.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 2000000 rows, 1 cols, 1 lays, 4 vbles
NetCDF ID: 196608 opened as READONLY
Starting date and time 2020162:000000 (0:00:00 June 10, 2020)
Timestep 010000 (1:00:00 hh:mm:ss)
Maximum current record number 25
NOTE: Time zone initialized using ATMP hourly emissions file.
Value for PROMPTFLAG: N returning FALSE
"AGMAT" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/run_MYD02/static/agmat.meic.MYD02.MYD02.ncf"
File type SMATRX3
Execution ID "????????????????"
Grid name "MYd02_CROSS"
Dimensions: 18904 rows, 334305 cols, 1 lays, 1 vbles
NetCDF ID: 262144 opened as READONLY
Time-independent data.
"ASMAT" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE-ifort/data/run_MYD02/static/asmat_l.meic.cmaq_cb05_soa.MYD02.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name ""
Dimensions: 2000000 rows, 1 cols, 1 lays, 32 vbles
NetCDF ID: 327680 opened as READONLY
Time-independent data.
NOTE: Speciation type initialized using area speciation matrix.
File "INVTABLE" opened for input on unit: 96
/home/atmos/MODEL/SMOKE-ifort/data/inventory/grid/other/invtable_hapcap_cb05soa.txt
Value for USE_EXP_GEO_CODES: Y returning TRUE
Value for G_STDATE: 2020162
Value for G_STTIME: 0
Value for G_TSTEP: 10000
Value for G_RUNLEN: 250000
Value for PROMPTFLAG: N returning FALSE
Using default value 2020162 for query:
"Enter simulation starting date (YYYYDDD)|(YYYYMMDD)"
Using date 2020162
Using default value 0 for query:
"Enter simulation starting time (HHMMSS)"
Using default value 25 for query:
"Enter output duration (hours)"
Output Time Zone: 00
Start Date: June 10, 2020
Start Time: 000000 HHMMSS
Time Step: 001 hour
Duration: 025 hours
NOTE: Output grid "MYd02_CROSS" set; described as
No description available
Value for MRG_GRDOUT_UNIT: 'moles/s'
Value for MRG_GRDOUT_UNIT: 'moles/s'
Value for MRG_TOTOUT_UNIT: 'moles/day'
Value for MRG_TOTOUT_UNIT: 'moles/day'
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
NOTE: Units conversion case not found for: "g" with "moles"
No conversion will be made.
Reading source data from inventory file...
Value for SMK_DEFAULT_TZONE: 5
Reading geographic region names and time zones...
File "GEOCODE_LEVEL1" opened for input on unit: 95
/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/geocode1_edgar.txt
File "GEOCODE_LEVEL2" opened for input on unit: 95
/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/geocode2_edgar.txt
File "GEOCODE_LEVEL3" opened for input on unit: 95
/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/geocode3_edgar.txt
File "GEOCODE_LEVEL4" opened for input on unit: 95
/home/atmos/MODEL/SMOKE-ifort/data/ge_dat/meic/geocode4_edgar.txt
ERROR: Gridding matrix dimension is inconsistent with records count!
Delete gridding matrix and recreate it.
*** ERROR ABORT in subroutine RDGMAT
All my log files for this run are listed as follows:
grdmat.meic.MYD02.MYD02.log.txt (13.2 KB)
smkinven.meic.MYD02.log.txt (12.8 KB)
smkmerge.meic.MYD02.20200610.MYD02.log.txt (13.7 KB)
spcmat.meic.MYD02.cmaq_cb05_soa.log.txt (19.0 KB)
temporal.meic.MYD02.20200610.log.txt (29.5 KB)