Hi, I’m trying to process MEIC inventory to CMAQ input files using SMOKEv4.8. I’ve processed the MEIC inventory liked the EDGAR (netcdf format, per file included three variables, lat, lon and one pollutant respectively), the GRIDMASK file is the edgar GRIDMASK file, an error occurred when executed the smkinven part, detail as follow:
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-2020 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 185 2020-08-28 16:49:45Z coats $
Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048
netCDF version 4.7.0 of Aug 30 2021 10:00:11 $
Missing environment variable EXECUTION_ID
SMOKE ---------------
Copyright (c)2004 Environmental Modeling for Policy Development
All rights reserved
Program SMKINVEN, Version SMOKEv4.8_Oct2020
Online documentation
http://www.cep.unc.edu/empd/products/smoke
Program SMKINVEN to take ASCII area or point source files
in IDA, EMS-95, or SMOKE list format, or mobile files
in IDA format, and produce the I/O API and ASCII SMOKE
inventory files and list of unique SCCs in the inventory.
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 SMK_SOURCE: 'A'
Value for SMK_SOURCE: 'A'
Value for OUTZONE: 0
Value for SMKINVEN_FORMULA: 'PMC=PM10-PM2_5'
Value for SMKINVEN_FORMULA: 'PMC=PM10-PM2_5'
Value for IMPORT_AVEINV_YN not defined;returning default: TRUE
Value for DAY_SPECIFIC_YN: N returning FALSE
Value for HOUR_SPECIFIC_YN: N returning FALSE
Value for SMK_PROCESS_HAPS not defined; returning defaultval ': ' '
Value for SMK_PROCESS_HAPS not defined; returning defaultval ': ' '
No processing of combining criteria VOC with hazardous air pollutants (HAP).
Value for SMK_ARTOPNT_YN not defined;returning default: FALSE
Value for IMPORT_GRDIOAPI_YN: N returning FALSE
Value for IMPORT_GRDNETCDF_YN: Y returning TRUE
Value for NETCDF_POL_UNIT: 'kg m-2 s-1'
Value for NETCDF_POL_UNIT: 'kg m-2 s-1'
Value for PROMPTFLAG: N returning FALSE
Value for IOAPI_CHECK_HEADERS not defined;returning default: FALSE
"GRIDMASK" opened as OLD:READ-ONLY
File name "/home/atmos/MODEL/SMOKE/data/ge_dat/EDGAR/GRIDMASK_EDGAR.ncf"
File type GRDDED3
Execution ID "????????????????"
Grid name "LATLON_EDGAR0.1"
Dimensions: 1800 rows, 3600 cols, 1 lays, 2 vbles
NetCDF ID: 65536 opened as READONLY
Time-independent data.
Value for USE_EXP_GEO_CODES: Y returning TRUE
Value for PROMPTFLAG: N returning FALSE
File "INVTABLE" opened for input on unit: 98
/home/atmos/MODEL/SMOKE/data/inventory/meic2017/other/invtable_hapcap_cb05soa.txt
Setting up to read inventory data...
Value for SMK_DEFAULT_TZONE: 0
Reading geographic region names and time zones...
File "GEOCODE_LEVEL1" opened for input on unit: 97
/home/atmos/MODEL/SMOKE/data/ge_dat/EDGAR/geocode1_edgar.txt
File "GEOCODE_LEVEL2" opened for input on unit: 97
/home/atmos/MODEL/SMOKE/data/ge_dat/EDGAR/geocode2_edgar.txt
File "GEOCODE_LEVEL3" opened for input on unit: 97
/home/atmos/MODEL/SMOKE/data/ge_dat/EDGAR/geocode3_edgar.txt
File "GEOCODE_LEVEL4" opened for input on unit: 97
/home/atmos/MODEL/SMOKE/data/ge_dat/EDGAR/geocode4_edgar.txt
Value for SMKINVEN_MONTH not defined; returning default: 0
Value for NETCDF_INV_YEAR: 2017
File "ARINV" opened for input on unit: 97
/home/atmos/MODEL/SMOKE/data/inventory/meic2017/arinv.meic.lst
Value for WKDAY_NORMALIZE: N returning FALSE
NOTE: Setting inventory to use full-week normalizer for weekly profiles
Bad COL dimension for "CO" in "TMPFILE"
Could not read "CO" from gridded inventory file
Bad COL dimension for "NH3" in "TMPFILE"
Could not read "NH3" from gridded inventory file
Bad COL dimension for "NOx" in "TMPFILE"
Could not read "NOx" from gridded inventory file
...
Bad COL dimension for "VOC" in "TMPFILE"
Could not read "VOC" from gridded inventory file
Bad COL dimension for "CO" in "TMPFILE"
Could not read "CO" from gridded inventory file
Bad COL dimension for "NH3" in "TMPFILE"
Could not read "NH3" from gridded inventory file
Bad COL dimension for "NOx" in "TMPFILE"
Could not read "NOx" from gridded inventory file
Bad COL dimension for "BC" in "TMPFILE"
Could not read "BC" from gridded inventory file
Bad COL dimension for "PM25" in "TMPFILE"
Could not read "PM25" from gridded inventory file
Bad COL dimension for "PM10" in "TMPFILE"
Could not read "PM10" from gridded inventory file
Bad COL dimension for "OC" in "TMPFILE"
Could not read "OC" from gridded inventory file
Bad COL dimension for "SO2" in "TMPFILE"
Could not read "SO2" from gridded inventory file
Bad COL dimension for "VOC" in "TMPFILE"
Could not read "VOC" from gridded inventory file
*** ERROR ABORT in subroutine RDGRDNCF
Problem reading gridded inventory file
Now, I have a few questions:
- Can I use SMOKE EDGAR processing MEIC inventory? I look previous topics in the forum, seem that the EDGAR is not appropriate the MEIC inventory?
If I can use EDGAR process MEIC inventory, then I have following questions: - What’s the reason of the above error?
- Can I use the EDGAR GRIDMASK file directly, or I need create a new one for my own and how can I make a new one?
- Can I use the “invtable_hapcap_cb05soa.txt” file for CMAQv5.3.2(the chemical mechnism is CB06)? or how can I make a new one?