# Question about modifying ptegu sector inventories from NEI

**URL:** <https://forum.cmascenter.org/t/question-about-modifying-ptegu-sector-inventories-from-nei/2970>\
**Category:** Emissions Inventory\
**Tags:** smoke\
**Created:** [January 19, 2022, 4:58pm UTC](https://forum.cmascenter.org/t/question-about-modifying-ptegu-sector-inventories-from-nei/2970 "2022-01-19T16:58:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chef](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@chef](https://forum.cmascenter.org/u/chef)\
**Post date:** [January 19, 2022, 4:58pm UTC](https://forum.cmascenter.org/t/question-about-modifying-ptegu-sector-inventories-from-nei/2970/1 "2022-01-19T16:58:20Z")

</div>

Hi all,

I have a question about an error I see after modifying the PTINV CEMS and nonCEMS inventories to run the EGU sector using as baseline the 2016NEI.

If I remove some units from the CEMS FF10 file, I can successfully complete the onetime script, but I see this error with the seasonal one that points to the smkmerge program.

> > > WARNING in subroutine CHKFIL3 \<\<\<  
> > > Inconsistent file attribute NROWS for file INLN  
> > > Value from file: 8531  
> > > Value from caller: 8221  
> > > Could not open file set “INLN”.

```
 *** ERROR ABORT in subroutine OPENMRGOUT
 Could not open file set "INLN".

```

I had a look at openmrgout.f but I cannot figure out what file it is comparing against.

What I am confused about is the value from file not changing (8531), since the stack groups file is created properly and contains a smaller amount of units (8221).

Any suggestions?

-Christos

---

<div class="post-metadata">

**Author:** ![chef](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@chef](https://forum.cmascenter.org/u/chef)\
**Post date:** [January 21, 2022, 3:31pm UTC](https://forum.cmascenter.org/t/question-about-modifying-ptegu-sector-inventories-from-nei/2970/2 "2022-01-21T15:31:44Z")

</div>

After some digging in the specifics of 2016NEI, I found that there is the additional EMISINV\_B1 that I was missing. This is related to 2016 projections of the 2014 EGU fleet and is documented in the 2016NEI TSD.
