# Units SMOKE training material for RPD mobile sector

**URL:** <https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907>\
**Category:** SMOKE\
**Created:** [September 3, 2019, 8:33pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907 "2019-09-03T20:33:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 3, 2019, 8:33pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/1 "2019-09-03T20:33:13Z")

</div>

Hi all,

I am running SMOKE for RPD mobile sector. I set the output units to moles/s as follow “setenv MRG\_GRDOUT\_UNIT moles/s # units for gridded output file”. I made sure MRG\_GRDOUT\_YN was set to Y. However, the output netcdf file has units of “tons/day”. Is there another setting that I need to change?

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [September 3, 2019, 9:12pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/2 "2019-09-03T21:12:24Z")

</div>

@FARAHES I think you did set the flags correctly for Movesmrg to output emissions in unit of moles/sec for all gases. Only thing I can think of the reason will be whether you merge the spcmat output file or not by setting “MRG\_SPCMAT\_YN” to Y.

Make sure you set the following flags to output emissions in correct unit.  
setenv RPD\_MODE Y # Y process on-roadway emission factors  
setenv MRG\_GRDOUT\_YN Y # Y outputs gridded file  
setenv MRG\_TEMPORAL\_YN Y # Y merges with hourly emissions  
setenv MRG\_SPCMAT\_YN Y # Y merges with speciation matrix

If this does not fix the issue, you could attach your Spcmat and Movesmrg log files to this post for me to review.

---

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 3, 2019, 10:36pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/3 "2019-09-03T22:36:59Z")

</div>

I made sure that all the flags were set correctly. Here are the settings for Movesmrg in my script:

# For Movesmrg and Smkmerge

setenv RPD\_MODE Y # Y process on-roadway (ratperdistance) emission factors  
setenv RPV\_MODE N # Y process off-network (ratepervehicle) emission factors  
setenv RPP\_MODE N # Y process off-network vapor venting (rateperprofile) EFs  
setenv RPH\_MODE N # Y process off-network extended idling (rateperhour) emission factors  
setenv MRG\_GRDOUT\_YN Y # Y outputs gridded file  
setenv MRG\_TEMPORAL\_YN Y # Y merges with hourly emissions  
setenv MRG\_SPCMAT\_YN Y # Y merges with speciation matrix  
setenv MRG\_REPCNY\_YN Y # Y produces a report of emission totals by county  
setenv MRG\_REPSTA\_YN Y # Y produces a report of emission totals by state  
setenv MRG\_REPSCC\_YN Y # Y produces a report of emission totals by SCC  
setenv MRG\_GRDOUT\_UNIT moles/s # units for gridded output file  
setenv MRG\_TOTOUT\_UNIT tons/day # units for state and/or county totals  
setenv MRG\_REPORT\_TIME 230000 # hour in OUTZONE for reporting emissions  
setenv TVARNAME TEMP2 # define name of temperature for the lookup tables  
setenv MOVESMRG\_CUSTOM\_OUTPUT Y # Y allows AOUT, BOUT, MOUT, and POUT

Here is the Spcmat log file content:

```
 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-2013 Carlie J. Coats, Jr., and (C) 2003-2012 Baron     
 Advanced Meteorological Systems, LLC and released under the     
 GNU LGPL License, version 2.1. See URL                        
                                                                 
     http://www.baronams.com/products/ioapi/LGPL.txt             
                                                                 
 for conditions of use.                                          
                                                                 
 $Id:: init3.F 29 2014-08-07 14:31:02Z coats $
 Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048
 netCDF version 4.1.1 of Aug 7 2011 14:18:52 $
  
  
 Missing environment variable EXECUTION_ID
 SMOKE ---------------
 Copyright (c)2004 Environmental Modeling for Policy Development
 All rights reserved

 Program SPCMAT, Version $
 Online documentation 
     http://www.cep.unc.edu/empd/products/smoke                 
  
 Program SPCMAT to take a SMOKE area, mobile, or point source
 inventory file, a speciation profiles file, a speciation
 cross-reference file, an optional pollutant-to-pollutant,
 conversion file, and produce mass-based and/or mole-based
 SMOKE speciation matrices for all inventory pollutants
 using run-time defined combinations of pollutants and model
 species. The output species are defined at run time by the
 speciation profiles file, permitting support of any chemical
 mechanism.
  
  
 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 POLLUTANT_CONVERSION: N returning FALSE
 Value for SRC_TAGGING not defined;returning default: FALSE
 Value for SMK_SOURCE: 'M'
 Value for SMK_SOURCE: 'M'
 Value for PROMPTFLAG: N returning FALSE

 File "MOBL" opened for input on unit: 98
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.mobl.map.train_FE.txt

 Value for MOBL: '/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.mobl.map.train_FE.txt'
 Value for MOBL: '/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.mobl.map.train_FE.txt'

```

WARNING: output file already exists: MSRC  
/CAMData/SMOKE\_Farah/training/smoke//data/inventory/train\_FE/rateperdistancesrc.txt

```
 File "MSRC" opened for output on unit: 97
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistancesrc.txt

 Value for IOAPI_CHECK_HEADERS not defined;returning default: FALSE
  
 "MOBL" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 10 vbles
 NetCDF ID: 6 opened as READONLY            
 Time-independent data.
  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/VMT.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 8037 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE
  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/SPEED.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE

 File "GSREF" opened for input on unit: 96
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/gsref.mobile.txt

 File "GSPRO" opened for input on unit: 95
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/gspro.mobile.cmaq.cb05p25.txt

 File "INVTABLE" opened for input on unit: 94
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/romans06/other/invtable_MOVES2014_25sep2014_nf_v1.txt

  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/VMT.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 8037 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 10 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE
  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/SPEED.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 10 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE

 File "MEPROC" opened for input on unit: 93
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/romans06/rateperdistance/meproc.rateperdistance.txt

 Reading source data from inventory file...
 Generating unique lists from inventory data...
 Reading speciation cross-reference file...
 
 >>--->> WARNING in subroutine RDSREF
 Pollutant-specific entries in the speciation cross-reference file have  
      been skipped.
 
 Processing speciation cross-reference file...
 Value for FULLSCC_ONLY: Y returning TRUE
 Scanning speciation profiles file for species...
 Value for SMK_SOURCE: 'M'
 Value for SMK_SOURCE: 'M'
 WARNING: No speciation profiles found for pollutant "N2O_INV" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "CO2_INV" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "CH4_INV" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "PM10" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "TIREPM10" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "BRAKEPM10" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "ACROLEI" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "BUTADIE" 
      Pollutant ignored!
 WARNING: No speciation profiles found for pollutant "NAPHTH" 
      Pollutant ignored!
 Value for PROMPTFLAG: N returning FALSE
 Number of variables per file array is not allocated for file set MSMAT_S;
 using default of 2048 variables per file
 
 Value for IOAPI_CHECK_HEADERS not defined;returning default: FALSE
 Value for IOAPI_OFFSET_64 not defined;returning default: FALSE
  
 "MSMAT_S" opened as UNKNOWN(R-W)    
 File name "/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/static/msmat_s.cmaq.cb05p25.train_FE.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 74 vbles
 NetCDF ID: 11 opened as READWRITE           
 Time-independent data.
  
 "MSMAT_L" opened as UNKNOWN(R-W)    
 File name "/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/static/msmat_l.cmaq.cb05p25.train_FE.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 74 vbles
 NetCDF ID: 12 opened as READWRITE           
 Time-independent data.

```

WARNING: output file already exists: MSSUP  
/CAMData/SMOKE\_Farah/training/smoke//data/run\_train\_FE/static/mssup.cmaq.cb05p25.train\_FE.txt

```
 File "MSSUP" opened for output on unit: 92
 /CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/static/mssup.cmaq.cb05p25.train_FE.txt

 Processing pollutant "CO_INV"
      Reading speciation profiles file...
      NOTE: "CO_INV" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 Value for IOAPI_LOG_WRITE not defined;returning default: TRUE
 SVAR001 written to MSMAT_S
 SVAR001 written to MSMAT_L
 Processing pollutant "NOX"
      Reading speciation profiles file...
      NOTE: "NOX" is split for all sources using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR002 written to MSMAT_S
 SVAR002 written to MSMAT_L
 SVAR003 written to MSMAT_S
 SVAR003 written to MSMAT_L
 SVAR004 written to MSMAT_S
 SVAR004 written to MSMAT_L
 Processing pollutant "NH3_INV"
      Reading speciation profiles file...
      NOTE: "NH3_INV" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR005 written to MSMAT_S
 SVAR005 written to MSMAT_L
 Processing pollutant "NO_INV"
      Reading speciation profiles file...
      NOTE: "NO_INV" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR006 written to MSMAT_S
 SVAR006 written to MSMAT_L
 Processing pollutant "NO2_INV"
      Reading speciation profiles file...
      NOTE: "NO2_INV" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR007 written to MSMAT_S
 SVAR007 written to MSMAT_L
 Processing pollutant "HONO_INV"
      Reading speciation profiles file...
      NOTE: "HONO_INV" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR008 written to MSMAT_S
 SVAR008 written to MSMAT_L
 Processing pollutant "NONHAPTOG"
      Reading speciation profiles file...
      NOTE: "NONHAPTOG" is split for all sources using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR009 written to MSMAT_S
 SVAR009 written to MSMAT_L
 SVAR010 written to MSMAT_S
 SVAR010 written to MSMAT_L
 SVAR011 written to MSMAT_S
 SVAR011 written to MSMAT_L
 SVAR012 written to MSMAT_S
 SVAR012 written to MSMAT_L
 SVAR013 written to MSMAT_S
 SVAR013 written to MSMAT_L
 SVAR014 written to MSMAT_S
 SVAR014 written to MSMAT_L
 SVAR015 written to MSMAT_S
 SVAR015 written to MSMAT_L
 SVAR016 written to MSMAT_S
 SVAR016 written to MSMAT_L
 SVAR017 written to MSMAT_S
 SVAR017 written to MSMAT_L
 SVAR018 written to MSMAT_S
 SVAR018 written to MSMAT_L
 SVAR019 written to MSMAT_S
 SVAR019 written to MSMAT_L
 SVAR020 written to MSMAT_S
 SVAR020 written to MSMAT_L
 SVAR021 written to MSMAT_S
 SVAR021 written to MSMAT_L
 SVAR022 written to MSMAT_S
 SVAR022 written to MSMAT_L
 SVAR023 written to MSMAT_S
 SVAR023 written to MSMAT_L
 SVAR024 written to MSMAT_S
 SVAR024 written to MSMAT_L
 SVAR025 written to MSMAT_S
 SVAR025 written to MSMAT_L
 Processing pollutant "PM2_5"
      Reading speciation profiles file...
      NOTE: "PM2_5" is split for all sources using profile " 92000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR026 written to MSMAT_S
 SVAR026 written to MSMAT_L
 SVAR027 written to MSMAT_S
 SVAR027 written to MSMAT_L
 SVAR028 written to MSMAT_S
 SVAR028 written to MSMAT_L
 SVAR029 written to MSMAT_S
 SVAR029 written to MSMAT_L
 SVAR030 written to MSMAT_S
 SVAR030 written to MSMAT_L
 Processing pollutant "BENZENE_INV"
      Reading speciation profiles file...
      NOTE: "BENZENE_INV" is split for all sources using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR031 written to MSMAT_S
 SVAR031 written to MSMAT_L
 SVAR032 written to MSMAT_S
 SVAR032 written to MSMAT_L
 SVAR033 written to MSMAT_S
 SVAR033 written to MSMAT_L
 Processing pollutant "FORMALD"
      Reading speciation profiles file...
      NOTE: "FORMALD" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR034 written to MSMAT_S
 SVAR034 written to MSMAT_L
 Processing pollutant "ACETALD"
      Reading speciation profiles file...
      NOTE: "ACETALD" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR035 written to MSMAT_S
 SVAR035 written to MSMAT_L
 Processing pollutant "PM25TIRE"
      Reading speciation profiles file...
      NOTE: "PM25TIRE" is split for all sources using profile " 92087"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR036 written to MSMAT_S
 SVAR036 written to MSMAT_L
 SVAR037 written to MSMAT_S
 SVAR037 written to MSMAT_L
 SVAR038 written to MSMAT_S
 SVAR038 written to MSMAT_L
 SVAR039 written to MSMAT_S
 SVAR039 written to MSMAT_L
 SVAR040 written to MSMAT_S
 SVAR040 written to MSMAT_L
 SVAR041 written to MSMAT_S
 SVAR041 written to MSMAT_L
 SVAR042 written to MSMAT_S
 SVAR042 written to MSMAT_L
 SVAR043 written to MSMAT_S
 SVAR043 written to MSMAT_L
 SVAR044 written to MSMAT_S
 SVAR044 written to MSMAT_L
 SVAR045 written to MSMAT_S
 SVAR045 written to MSMAT_L
 SVAR046 written to MSMAT_S
 SVAR046 written to MSMAT_L
 SVAR047 written to MSMAT_S
 SVAR047 written to MSMAT_L
 SVAR048 written to MSMAT_S
 SVAR048 written to MSMAT_L
 SVAR049 written to MSMAT_S
 SVAR049 written to MSMAT_L
 SVAR050 written to MSMAT_S
 SVAR050 written to MSMAT_L
 SVAR051 written to MSMAT_S
 SVAR051 written to MSMAT_L
 SVAR052 written to MSMAT_S
 SVAR052 written to MSMAT_L
 SVAR053 written to MSMAT_S
 SVAR053 written to MSMAT_L
 SVAR054 written to MSMAT_S
 SVAR054 written to MSMAT_L
 Processing pollutant "PM25BRAKE"
      Reading speciation profiles file...
      NOTE: "PM25BRAKE" is split for all sources using profile " 92009"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR055 written to MSMAT_S
 SVAR055 written to MSMAT_L
 SVAR056 written to MSMAT_S
 SVAR056 written to MSMAT_L
 SVAR057 written to MSMAT_S
 SVAR057 written to MSMAT_L
 SVAR058 written to MSMAT_S
 SVAR058 written to MSMAT_L
 SVAR059 written to MSMAT_S
 SVAR059 written to MSMAT_L
 SVAR060 written to MSMAT_S
 SVAR060 written to MSMAT_L
 SVAR061 written to MSMAT_S
 SVAR061 written to MSMAT_L
 SVAR062 written to MSMAT_S
 SVAR062 written to MSMAT_L
 SVAR063 written to MSMAT_S
 SVAR063 written to MSMAT_L
 SVAR064 written to MSMAT_S
 SVAR064 written to MSMAT_L
 SVAR065 written to MSMAT_S
 SVAR065 written to MSMAT_L
 SVAR066 written to MSMAT_S
 SVAR066 written to MSMAT_L
 SVAR067 written to MSMAT_S
 SVAR067 written to MSMAT_L
 SVAR068 written to MSMAT_S
 SVAR068 written to MSMAT_L
 SVAR069 written to MSMAT_S
 SVAR069 written to MSMAT_L
 SVAR070 written to MSMAT_S
 SVAR070 written to MSMAT_L
 SVAR071 written to MSMAT_S
 SVAR071 written to MSMAT_L
 SVAR072 written to MSMAT_S
 SVAR072 written to MSMAT_L
 SVAR073 written to MSMAT_S
 SVAR073 written to MSMAT_L
 Processing pollutant "SO2_INV"
      Reading speciation profiles file...
      NOTE: "SO2_INV" only has a unit conversion using profile " 0000"
      Writing MASS-BASED SPECIATION MATRIX...
      Writing MOLE-BASED SPECIATION MATRIX...
 SVAR074 written to MSMAT_S
 SVAR074 written to MSMAT_L
 Skipping pollutant "N2O_INV"
 Skipping pollutant "CO2_INV"
 Skipping pollutant "CH4_INV"
 Skipping pollutant "PM10"
 Skipping pollutant "TIREPM10"
 Skipping pollutant "BRAKEPM10"
 Skipping pollutant "ACROLEI"
 Skipping pollutant "BUTADIE"
 Skipping pollutant "NAPHTH"
 
 --->> Normal Completion of program SPCMAT
```

---

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 3, 2019, 10:41pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/4 "2019-09-03T22:41:01Z")

</div>

Here is the content of Movesmrg log file

```
 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-2013 Carlie J. Coats, Jr., and (C) 2003-2012 Baron     
 Advanced Meteorological Systems, LLC and released under the     
 GNU LGPL License, version 2.1. See URL                        
                                                                 
     http://www.baronams.com/products/ioapi/LGPL.txt             
                                                                 
 for conditions of use.                                          
                                                                 
 $Id:: init3.F 29 2014-08-07 14:31:02Z coats $
 Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048
 netCDF version 4.1.1 of Aug 7 2011 14:18:52 $
  
  
 Missing environment variable EXECUTION_ID
 SMOKE ---------------
 Copyright (c)2004 Environmental Modeling for Policy Development
 All rights reserved

 Program MOVESMRG, Version $
 Online documentation 
     http://www.cep.unc.edu/empd/products/smoke                 
  
 No program description is available for MOVESMRG        
  
 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: 'M'
 Value for SMK_SOURCE: 'M'
 Value for MRG_BYDAY not defined; returning defaultval ': ' '
 Value for MRG_BYDAY not defined; returning defaultval ': ' '
 Value for USE_SPCMAT_SPC_YN not defined;returning default: FALSE
 Value for MRG_METCHK_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_REPSCC_YN: Y returning TRUE
 Value for MRG_REPSRC_YN not defined;returning default: FALSE
 Value for TEMP_BUFFER_BIN not defined; returning default : 0
 Value for MRG_GRDOUT_UNIT: 'moles/s'
 Value for MRG_GRDOUT_UNIT: 'moles/s'
 Value for MRG_TOTOUT_UNIT: 'tons/day'
 Value for MRG_TOTOUT_UNIT: 'tons/day'
 Value for USE_VARIABLE_GRID not defined;returning default: FALSE
 Value for SMK_SRCGROUP_OUTPUT_YN not defined;returning default: FALSE
 Value for RPD_MODE: Y returning TRUE
 Value for RPH_MODE: N returning FALSE
 Value for RPV_MODE: N returning FALSE
 Value for RPP_MODE: N returning FALSE
 Value for MEMORY_OPTIMIZE_YN not defined;returning default: FALSE
 Value for MTMP_OUTPUT_YN not defined;returning default: FALSE
 Value for USE_CONTROL_FACTORS not defined;returning default: FALSE
 Value for USE_HOURLY_SPEEDS not defined;returning default: FALSE
 Value for SMK_MVSPATH: '/CAMData/SMOKE_Farah/training/smoke//data/ge_dat/MOVES_lookuptables/'
 Value for SMK_MVSPATH: '/CAMData/SMOKE_Farah/training/smoke//data/ge_dat/MOVES_lookuptables/'
 Value for TVARNAME: 'TEMP2'
 Value for TVARNAME: 'TEMP2'
 Value for GRIDDESC: '/CAMData/SMOKE_Farah/training/smoke//data/ge_dat/GRIDDESC'
 Value for GRIDDESC: '/CAMData/SMOKE_Farah/training/smoke//data/ge_dat/GRIDDESC'

 File "GRIDDESC" opened for input on unit: 98
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/GRIDDESC

 WARNING: Line 1 in GRIDDESC file skipped because more than 32 fields were found.
 Value for IOAPI_GRIDNAME_1: 'ROMANS12_98X110'
 Value for IOAPI_GRIDNAME_1: 'ROMANS12_98X110'

 File "GRIDDESC" opened for input on unit: 98
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/GRIDDESC

 NOTE: Grid settings initialized using general in  
      grid description file.
 Value for PROMPTFLAG: N returning FALSE

 File "MOBL" opened for input on unit: 98
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.mobl.map.train_FE.txt

 Value for MOBL: '/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.mobl.map.train_FE.txt'
 Value for MOBL: '/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.mobl.map.train_FE.txt'

```

WARNING: output file already exists: MSRC  
/CAMData/SMOKE\_Farah/training/smoke//data/inventory/train\_FE/rateperdistancesrc.txt

```
 File "MSRC" opened for output on unit: 97
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistancesrc.txt

 Value for IOAPI_CHECK_HEADERS not defined;returning default: FALSE
  
 "MOBL" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 10 vbles
 NetCDF ID: 6 opened as READONLY            
 Time-independent data.
  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/VMT.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 8037 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE
  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/SPEED.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE
  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/VMT.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 8037 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE
  
 "TMP_POL_FILE" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/SPEED.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Time-independent data.
 Closing file TMP_POL_FILE
 Reading source data from inventory file...
  
 "IOAPI_DAT" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/inventory/train_FE/rateperdistance_dat/SPEED.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Time-independent data.
 Closing file IOAPI_DAT
 Generating unique lists from inventory data...
 Value for PROMPTFLAG: N returning FALSE
  
 "MTMP" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/scenario/mtmp.train_FE.2006188.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 2 vbles
 NetCDF ID: 7 opened as READONLY            
 Starting date and time 2006188:000000 (0:00:00 July 7, 2006)
 Timestep 010000 (1:00:00 hh:mm:ss)
 Maximum current record number 25
 NOTE: Time zone initialized using MTMP hourly emissions file.
 WARNING: Base year of MTMP file: 2011  
      , does not equal emissions year of MOBL file: -1
 
 Value for PROMPTFLAG: N returning FALSE
  
 "MGMAT" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/static/mgmat.wus12.train_FE.ncf"
 File type SMATRX3 
 Execution ID "????????????????"
 Grid name "ROMANS12_98X110"
 Dimensions: 10780 rows, 515872 cols, 1 lays, 1 vbles
 NetCDF ID: 8 opened as READONLY            
 Time-independent data.
  
 "MSMAT_L" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/static/msmat_l.cmaq.cb05p25.train_FE.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 74 vbles
 NetCDF ID: 9 opened as READONLY            
 Time-independent data.
  
 "MSMAT_S" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/static/msmat_s.cmaq.cb05p25.train_FE.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name ""
 Dimensions: 12032 rows, 1 cols, 1 lays, 74 vbles
 NetCDF ID: 10 opened as READONLY            
 Time-independent data.
  
 "MET_CRO_2D" opened as OLD:READ-ONLY   
 File name "/CAMData/SMOKE_Farah/training/smoke//data/met/run_romans_12k/METCRO2D_2006188"
 File type GRDDED3 
 Execution ID "mcip"
 Grid name "METCRO_BASE_19_C"
 Dimensions: 110 rows, 98 cols, 1 lays, 48 vbles
 NetCDF ID: 11 opened as READONLY            
 Starting date and time 2006188:000000 (0:00:00 July 7, 2006)
 Timestep 010000 (1:00:00 hh:mm:ss)
 Maximum current record number 25

 File "INVTABLE" opened for input on unit: 96
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/romans06/other/invtable_MOVES2014_25sep2014_nf_v1.txt

 File "COSTCY" opened for input on unit: 95
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/costcy.txt

 File "MEPROC" opened for input on unit: 94
 /CAMData/SMOKE_Farah/training/smoke//data/inventory/romans06/rateperdistance/meproc.rateperdistance.txt

 File "MCXREF" opened for input on unit: 93
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/mcxref_moves.txt

 File "MFMREF" opened for input on unit: 92
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/mfmref_moves.txt

 File "MRCLIST" opened for input on unit: 91
 /CAMData/SMOKE_Farah/training/smoke//data/ge_dat/MOVES_lookuptables/mrclist.rateperdistance.summed.lst

 Value for G_STDATE: 2006188
 Value for G_STTIME: 0
 Value for G_TSTEP: 10000
 Value for G_RUNLEN: 250000
 Value for PROMPTFLAG: N returning FALSE
 Using default value 2006188 for query:
 "Enter simulation starting date (YYYYDDD)|(YYYYMMDD)"
 Using date 2006188
 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: July 7, 2006 
       Start Time: 000000 HHMMSS 
        Time Step: 001 hour 
         Duration: 025 hours
 WARNING: Inventory base year -1 is inconsistent with year  
      of episode start date 2006
 NOTE: Output grid "ROMANS12_98X110" set; described as 
      No description available
 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.
 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.
 Value for SMK_DEFAULT_TZONE: 5
 Reading state and county names and time zones...
 NOTE: Population data read from country/state/county file for year 2000
 Value for DAYLIGHT_EXEMPT not defined;returning default: FALSE
 Value for SMK_MAXWARNING: 100
 Value for OUTPUT: '/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/output/merge/cmaq.cb05p25'
 Value for OUTPUT: '/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/output/merge/cmaq.cb05p25'
 Value for ESCEN: 'train_FE'
 Value for ESCEN: 'train_FE'
 Value for MOVESMRG_CUSTOM_OUTPUT: Y returning TRUE
 Value for MOUT: '/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/output/cmaq.cb05p25/mgts_l.rateperdistance.20060707.1.wus12.train_FE.ncf'
 Value for MOUT: '/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/output/cmaq.cb05p25/mgts_l.rateperdistance.20060707.1.wus12.train_FE.ncf'
 Number of variables per file array is not allocated for file set MOUT;
 using default of 2048 variables per file
 
 Value for IOAPI_CHECK_HEADERS not defined;returning default: FALSE
  
 "MOUT" opened as UNKNOWN(R-W)    
 File name "/CAMData/SMOKE_Farah/training/smoke//data/run_train_FE/output/cmaq.cb05p25/mgts_l.rateperdistance.20060707.1.wus12.train_FE.ncf"
 File type GRDDED3 
 Execution ID "????????????????"
 Grid name "ROMANS12_98X110"
 Dimensions: 110 rows, 98 cols, 1 lays, 43 vbles
 NetCDF ID: 15 opened as READWRITE           
 Starting date and time 2006188:000000 (0:00:00 July 7, 2006)
 Timestep 010000 (1:00:00 hh:mm:ss)
 Maximum current record number 25
 Value for REPMG: '/CAMData/SMOKE_Farah/training/smoke//data/reports/train_FE/scenario/rep_l_rateperdistance_20060707_wus12_cmaq.cb05p25.txt'
 Value for REPMG: '/CAMData/SMOKE_Farah/training/smoke//data/reports/train_FE/scenario/rep_l_rateperdistance_20060707_wus12_cmaq.cb05p25.txt'

```

WARNING: output file already exists: REPMG  
/CAMData/SMOKE\_Farah/training/smoke//data/reports/train\_FE/scenario/rep\_l\_rateperdistance\_20060707\_wus12\_cmaq.cb05p25.txt

```
 File "REPMG" opened for output on unit: 93
 /CAMData/SMOKE_Farah/training/smoke//data/reports/train_FE/scenario/rep_l_rateperdistance_20060707_wus12_cmaq.cb05p25.txt

 Processing data for:"CO", "HONO", "NO", "NO2", "NH3", "SO2", "PEC", "PMFINE", 
                     "PNO3", "POC", "PSO4", "ALD2", "ALDX", "CH4", "ETH", 
                     "ETHA", "ETOH", "FORM", "IOLE", "ISOP", "MEOH", "NVOL", 
                     "OLE", "PAR", "TERP", "TOL", "UNR", "XYL", "BENZENE", 
                     "PAL", "PCA", "PCL", "PFE", "PH2O", "PK", "PMG", "PMN", 
                     "PMOTHR", "PNA", "PNCOM", "PNH4", "PSI", "PTI"
 Processing MOVES lookup tables for reference county 8035 of fuel month: 7
 Reading emission factors file rateperdistance_smoke_aq_20141007_nei2011v2_20140924_8035_7.csv
 WARNING: Emission factors file does not contain requested model species NVOL
 Value for UNIFORM_STIME not defined; returning default: -1
 Value for SMK_REPORT_TIME not defined; returning default: 230000
 Value for IOAPI_LOG_WRITE not defined;returning default: TRUE
 CO written to MOUT for 2006188:000000
 HONO written to MOUT for 2006188:000000
 NO written to MOUT for 2006188:000000
 NO2 written to MOUT for 2006188:000000
 ...
 Closing file MOUT
 
 --->> Normal Completion of program MOVESMRG
```

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [September 4, 2019, 1:56am UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/5 "2019-09-04T01:56:42Z")

</div>

Please set this flag “USE\_SPCMAT\_SPC\_YN” to Y. This will allow Movesmrg to merge Spcmat intermediate output files with other intermediate outfiles.

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [September 6, 2019, 12:47am UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/6 "2019-09-06T00:47:02Z")

</div>

Let me know whether this fixes your issue or not.

---

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 6, 2019, 3:53pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/7 "2019-09-06T15:53:04Z")

</div>

Did you mean to set "MRG\_SPCMAT\_SPC\_YN” to Y or "USE\_SPCMAT\_SPC\_YN” to Y ? I tried both of them and I did not get any change in the units.

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [September 6, 2019, 5:05pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/8 "2019-09-06T17:05:25Z")

</div>

Can you send the header lines from your MOUT netcdf output file “mgts\_l…”? Based on the filename and all the settings, the unit of gas species output should be moles/s. Not tons/day… Only summary report "REPMG file should have the emissions output in unit of tons/day.

---

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 6, 2019, 5:32pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/9 "2019-09-06T17:32:12Z")

</div>

This is the header lines using ncdump:  
dimensions:  
TSTEP = UNLIMITED ; // (25 currently)  
DATE-TIME = 2 ;  
LAY = 1 ;  
VAR = 43 ;  
ROW = 110 ;  
COL = 98 ;  
variables:  
int TFLAG(TSTEP, VAR, DATE-TIME) ;  
TFLAG:units = “\<YYYYDDD,HHMMSS\>” ;  
TFLAG:long\_name = "TFLAG " ;  
TFLAG:var\_desc = "Timestep-valid flags: (1) YYYYDDD or (2) HHMMSS " ;  
float CO(TSTEP, LAY, ROW, COL) ;  
CO:long\_name = "CO " ;  
CO:units = "tons/day " ;  
CO:var\_desc = "Model species CO " ;  
float HONO(TSTEP, LAY, ROW, COL) ;  
HONO:long\_name = "HONO " ;  
HONO:units = "tons/day " ;  
HONO:var\_desc = "Model species HONO " ;  
float NO(TSTEP, LAY, ROW, COL) ;  
NO:long\_name = "NO " ;  
NO:units = "tons/day " ;  
NO:var\_desc = "Model species NO " ;  
float NO2(TSTEP, LAY, ROW, COL) ;  
NO2:long\_name = "NO2 " ;  
NO2:units = "tons/day " ;  
NO2:var\_desc = "Model species NO2 " ;  
float NH3(TSTEP, LAY, ROW, COL) ;  
NH3:long\_name = "NH3 " ;  
NH3:units = "tons/day " ;  
NH3:var\_desc = "Model species NH3 " ;  
float SO2(TSTEP, LAY, ROW, COL) ;  
SO2:long\_name = "SO2 " ;  
SO2:units = "tons/day " ;  
SO2:var\_desc = "Model species SO2 " ;  
float PEC(TSTEP, LAY, ROW, COL) ;  
PEC:long\_name = "PEC " ;  
PEC:units = "tons/day " ;  
PEC:var\_desc = "Model species PEC " ;  
float PMFINE(TSTEP, LAY, ROW, COL) ;  
PMFINE:long\_name = "PMFINE " ;  
PMFINE:units = "tons/day " ;  
PMFINE:var\_desc = "Model species PMFINE " ;  
float PNO3(TSTEP, LAY, ROW, COL) ;  
PNO3:long\_name = "PNO3 " ;  
PNO3:units = "tons/day " ;  
PNO3:var\_desc = "Model species PNO3 " ;  
float POC(TSTEP, LAY, ROW, COL) ;  
POC:long\_name = "POC " ;  
POC:units = "tons/day " ;  
POC:var\_desc = "Model species POC " ;  
float PSO4(TSTEP, LAY, ROW, COL) ;  
PSO4:long\_name = "PSO4 " ;  
PSO4:units = "tons/day " ;  
PSO4:var\_desc = "Model species PSO4 " ;  
float ALD2(TSTEP, LAY, ROW, COL) ;  
ALD2:long\_name = "ALD2 " ;  
ALD2:units = "tons/day " ;  
ALD2:var\_desc = "Model species ALD2 " ;  
float ALDX(TSTEP, LAY, ROW, COL) ;  
ALDX:long\_name = "ALDX " ;  
ALDX:units = "tons/day " ;  
ALDX:var\_desc = "Model species ALDX " ;  
float CH4(TSTEP, LAY, ROW, COL) ;  
CH4:long\_name = "CH4 " ;  
CH4:units = "tons/day " ;  
CH4:var\_desc = "Model species CH4 " ;  
float ETH(TSTEP, LAY, ROW, COL) ;  
ETH:long\_name = "ETH " ;  
ETH:units = "tons/day " ;  
ETH:var\_desc = "Model species ETH " ;  
float ETHA(TSTEP, LAY, ROW, COL) ;  
ETHA:long\_name = "ETHA " ;  
ETHA:units = "tons/day " ;  
ETHA:var\_desc = "Model species ETHA " ;  
float ETOH(TSTEP, LAY, ROW, COL) ;  
ETOH:long\_name = "ETOH " ;  
ETOH:units = "tons/day " ;  
ETOH:var\_desc = "Model species ETOH " ;  
float FORM(TSTEP, LAY, ROW, COL) ;  
FORM:long\_name = "FORM " ;  
FORM:units = "tons/day " ;  
FORM:var\_desc = "Model species FORM " ;  
float IOLE(TSTEP, LAY, ROW, COL) ;  
IOLE:long\_name = "IOLE " ;  
IOLE:units = "tons/day " ;  
IOLE:var\_desc = "Model species IOLE " ;  
float ISOP(TSTEP, LAY, ROW, COL) ;  
ISOP:long\_name = "ISOP " ;  
ISOP:units = "tons/day " ;  
ISOP:var\_desc = "Model species ISOP " ;  
float MEOH(TSTEP, LAY, ROW, COL) ;  
MEOH:long\_name = "MEOH " ;  
MEOH:units = "tons/day " ;  
MEOH:var\_desc = "Model species MEOH " ;  
float NVOL(TSTEP, LAY, ROW, COL) ;  
NVOL:long\_name = "NVOL " ;  
NVOL:units = "tons/day " ;  
NVOL:var\_desc = "Model species NVOL " ;  
float OLE(TSTEP, LAY, ROW, COL) ;  
OLE:long\_name = "OLE " ;  
OLE:units = "tons/day " ;  
OLE:var\_desc = "Model species OLE " ;  
float PAR(TSTEP, LAY, ROW, COL) ;  
PAR:long\_name = "PAR " ;  
PAR:units = "tons/day " ;  
PAR:var\_desc = "Model species PAR " ;  
float TERP(TSTEP, LAY, ROW, COL) ;  
TERP:long\_name = "TERP " ;  
TERP:units = "tons/day " ;  
TERP:var\_desc = "Model species TERP " ;  
float TOL(TSTEP, LAY, ROW, COL) ;  
TOL:long\_name = "TOL " ;  
TOL:units = "tons/day " ;  
TOL:var\_desc = "Model species TOL " ;  
float UNR(TSTEP, LAY, ROW, COL) ;  
UNR:long\_name = "UNR " ;  
UNR:units = "tons/day " ;  
UNR:var\_desc = "Model species UNR " ;  
float XYL(TSTEP, LAY, ROW, COL) ;  
XYL:long\_name = "XYL " ;  
XYL:units = "tons/day " ;  
XYL:var\_desc = "Model species XYL " ;  
float BENZENE(TSTEP, LAY, ROW, COL) ;  
BENZENE:long\_name = "BENZENE " ;  
BENZENE:units = "tons/day " ;  
BENZENE:var\_desc = "Model species BENZENE " ;  
float PAL(TSTEP, LAY, ROW, COL) ;  
PAL:long\_name = "PAL " ;  
PAL:units = "tons/day " ;  
PAL:var\_desc = "Model species PAL " ;  
float PCA(TSTEP, LAY, ROW, COL) ;  
PCA:long\_name = "PCA " ;  
PCA:units = "tons/day " ;  
PCA:var\_desc = "Model species PCA " ;  
float PCL(TSTEP, LAY, ROW, COL) ;  
PCL:long\_name = "PCL " ;  
PCL:units = "tons/day " ;  
PCL:var\_desc = "Model species PCL " ;  
float PFE(TSTEP, LAY, ROW, COL) ;  
PFE:long\_name = "PFE " ;  
PFE:units = "tons/day " ;  
PFE:var\_desc = "Model species PFE " ;  
float PH2O(TSTEP, LAY, ROW, COL) ;  
PH2O:long\_name = "PH2O " ;  
PH2O:units = "tons/day " ;  
PH2O:var\_desc = "Model species PH2O " ;  
float PK(TSTEP, LAY, ROW, COL) ;  
PK:long\_name = "PK " ;  
PK:units = "tons/day " ;  
PK:var\_desc = "Model species PK " ;  
float PMG(TSTEP, LAY, ROW, COL) ;  
PMG:long\_name = "PMG " ;  
PMG:units = "tons/day " ;  
PMG:var\_desc = "Model species PMG " ;  
float PMN(TSTEP, LAY, ROW, COL) ;  
PMN:long\_name = "PMN " ;  
PMN:units = "tons/day " ;  
PMN:var\_desc = "Model species PMN " ;  
float PMOTHR(TSTEP, LAY, ROW, COL) ;  
PMOTHR:long\_name = "PMOTHR " ;  
PMOTHR:units = "tons/day " ;  
PMOTHR:var\_desc = "Model species PMOTHR " ;  
float PNA(TSTEP, LAY, ROW, COL) ;  
PNA:long\_name = "PNA " ;  
PNA:units = "tons/day " ;  
PNA:var\_desc = "Model species PNA " ;  
float PNCOM(TSTEP, LAY, ROW, COL) ;  
PNCOM:long\_name = "PNCOM " ;  
PNCOM:units = "tons/day " ;  
PNCOM:var\_desc = "Model species PNCOM " ;  
float PNH4(TSTEP, LAY, ROW, COL) ;  
PNH4:long\_name = "PNH4 " ;  
PNH4:units = "tons/day " ;  
PNH4:var\_desc = "Model species PNH4 " ;  
float PSI(TSTEP, LAY, ROW, COL) ;  
PSI:long\_name = "PSI " ;  
PSI:units = "tons/day " ;  
PSI:var\_desc = "Model species PSI " ;  
float PTI(TSTEP, LAY, ROW, COL) ;  
PTI:long\_name = "PTI " ;  
PTI:units = "tons/day " ;  
PTI:var\_desc = "Model species PTI " ;

// global attributes:  
:IOAPI\_VERSION = "Id:: init3.F 29 2014-08-07 14:31:02Z coats " ;  
:EXEC\_ID = "??? " ;  
:FTYPE = 1 ;  
:CDATE = 2019239 ;  
:CTIME = 205719 ;  
:WDATE = 2019239 ;  
:WTIME = 205719 ;  
:SDATE = 2006188 ;  
:STIME = 0 ;  
:TSTEP = 10000 ;  
:NTHIK = 1 ;  
:NCOLS = 98 ;  
:NROWS = 110 ;  
:NLAYS = 1 ;  
:NVARS = 43 ;  
:GDTYP = 2 ;  
:P\_ALP = 33. ;  
:P\_BET = 45. ;  
:P\_GAM = -97. ;  
:XCENT = -97. ;  
:YCENT = 40. ;  
:XORIG = -1416000. ;  
:YORIG = -696000. ;  
:XCELL = 12000. ;  
:YCELL = 12000. ;  
:VGTYP = -1 ;  
:VGTOP = 0.f ;  
:VGLVLS = 1.f, 0.995f ;  
:GDNAM = "ROMANS12\_98X110 " ;  
:UPNAM = "OPENSET " ;  
:VAR-LIST = "CO HONO NO NO2 NH3 SO2 PEC PMFINE PNO3 POC PSO4 ALD2 ALDX CH4 ETH ETHA ETOH FORM IOLE ISOP MEOH NVOL OLE PAR TERP TOL UNR XYL BENZENE PAL PCA PCL PFE PH2O PK PMG PMN PMOTHR PNA PNCOM PNH4 PSI PTI " ;  
:FILEDESC = "Mobile source emissions data /FROM/ OPENMRGOUT /VERSION/ $ /BASE YEAR/ -1 /NUMBER OF FILES/ 1 /FILE POSITION/ 1 /NUMBER OF VARIABLES/ 43 " ;  
:HISTORY = “” ;

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [September 6, 2019, 5:54pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/10 "2019-09-06T17:54:46Z")

</div>

Can you attach your Movesmrg and Spcmat log files as attachments? Not just copy and paste but as an attachment file so then I can see the full description of how both programs ran

---

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 6, 2019, 5:57pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/11 "2019-09-06T17:57:34Z")

</div>

Last time that I wanted to attach a file, it said the new users cannot attach files. That’s why I copied and pasted the file contents. I’ll try to attach the files again.

---

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 6, 2019, 6:06pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/12 "2019-09-06T18:06:58Z")

</div>

I got the same message: “Sorry, new users can not upload attachments”. Is there any way to resolve this? Thanks.

---

<div class="post-metadata">

**Author:** ![FARAHES](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@FARAHES](https://forum.cmascenter.org/u/FARAHES)\
**Post date:** [September 10, 2019, 7:53pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/14 "2019-09-10T19:53:31Z")

</div>

As you suggested, I manually removed the M\_OUT file and ran the “rateperdistance” script again and it worked! Apparently, the header line did not get overwritten with correct unit information.

Thank you!

---

<div class="post-metadata">

**Author:** ![farzad-faghihi](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@farzad-faghihi](https://forum.cmascenter.org/u/farzad-faghihi)\
**Post date:** [August 28, 2021, 3:27pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/15 "2021-08-28T15:27:55Z")

</div>

Hi, @FARAHES  
I have the same warning you shared.  
How could you solve this?

```auto
WARNING: Inventory base year -1 is inconsistent with year  
          of episode start date 2017

```

although I have `#YEAR 2017` in header of my MOBL file.

Thanks.

@bbaek

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [August 30, 2021, 12:52pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/16 "2021-08-30T12:52:31Z")

</div>

What MOBL files are you specifically referring to?

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [August 30, 2021, 1:30pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/17 "2021-08-30T13:30:35Z")

</div>

@farzad-faghihi The warning message you mentioned here is from Smkinven program due to the YEAR setting in your raw inventory (MBINV). When your modeling year is set to 2017 and no specific year is set for MBINV, Smkinven will give that warning and then use the modeling year 2017 for the Smkinven intermediate output file (MOBL) as a header information. It is a warning.

---

<div class="post-metadata">

**Author:** ![farzad-faghihi](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@farzad-faghihi](https://forum.cmascenter.org/u/farzad-faghihi)\
**Post date:** [September 1, 2021, 6:21am UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/18 "2021-09-01T06:21:53Z")

</div>

Thanks for your response.  
@bbaek  
@eyth.alison  
this is my mbinv file.[mbinv.VMT.nc.txt](https://forum.cmascenter.org/uploads/short-url/iAMGh3I61qKTGXx8JpddbbxYeiF.txt) (2.2 KB)  
[mbinv.SPEED.nc.txt](https://forum.cmascenter.org/uploads/short-url/u8SHmLtzzA5NDNaK7oEdNJ84it4.txt) (9.0 KB)  
[mbinv.VPOP.nc.txt](https://forum.cmascenter.org/uploads/short-url/nJl9YFgJKZMiCAWgDvEMlFFJsdn.txt) (2.0 KB)[ASSIGNS.isf.cmaq.txt](https://forum.cmascenter.org/uploads/short-url/qxHxqyNE5jctlsJfzWMT3YBUTlt.txt) (23.5 KB)

---

<div class="post-metadata">

**Author:** ![farzad-faghihi](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@farzad-faghihi](https://forum.cmascenter.org/u/farzad-faghihi)\
**Post date:** [September 4, 2021, 6:50am UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/19 "2021-09-04T06:50:22Z")

</div>

@eyth.alison  
@bbaek  
No one can help me ?  
I sent my inputs in the last reply.

---

<div class="post-metadata">

**Author:** ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)\
**Post date:** [September 4, 2021, 12:38pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/20 "2021-09-04T12:38:39Z")

</div>

Thanks for sharing your activity inventory files. The formats look fine to me. I do need to see your Smkinven log file to understand what is going on in Smkivnen.

---

<div class="post-metadata">

**Author:** ![farzad-faghihi](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@farzad-faghihi](https://forum.cmascenter.org/u/farzad-faghihi)\
**Post date:** [September 4, 2021, 3:44pm UTC](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907/21 "2021-09-04T15:44:22Z")

</div>

Thanks a lot for your response.  
This is my Smkinven log file [smkinven.rateperdistance.nctoxISF.txt](https://forum.cmascenter.org/uploads/short-url/6WKJwKLsga3eh01JKiG8W2dT04X.txt) (20.1 KB)

and this one is my rate-per-distance script, also you can check what setup I set for the run.  
[smk\_rateperdistance\_nctox.csh](https://forum.cmascenter.org/uploads/short-url/f0HwOkksMHWOg4jsY1HlZd9bfZJ.csh) (6.6 KB)

Thanks.

[Next page](https://forum.cmascenter.org/t/units-smoke-training-material-for-rpd-mobile-sector/907.md?page=2)
