# Ptfire Inventory Formatting Issues (2017 platform)

**URL:** <https://forum.cmascenter.org/t/ptfire-inventory-formatting-issues-2017-platform/5772>\
**Category:** Emissions Inventory\
**Tags:** smoke, emissions\
**Created:** [April 30, 2025, 8:24pm UTC](https://forum.cmascenter.org/t/ptfire-inventory-formatting-issues-2017-platform/5772 "2025-04-30T20:24:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![holajtodos](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@holajtodos](https://forum.cmascenter.org/u/holajtodos)\
**Post date:** [April 30, 2025, 8:24pm UTC](https://forum.cmascenter.org/t/ptfire-inventory-formatting-issues-2017-platform/5772/1 "2025-04-30T20:24:31Z")

</div>

Hello everyone!

I noticed that the 2017 emissions platform does not appear to have separate inventories for **ptfire-rx** (prescribed burns) and **ptfire-wild** (wildfires). To address this, I used Python to separate the data accordingly based on the specific SCC codes. However, the output files seem to have formatting issues that prevent the successful generation of intermediate files such as `psrc_*.txt` and `pnts_map_*.txt`.

> WARNING in subroutine STR2REAL  
> Error reading REAL from “SF11C940831”; IOSTAT= 59  
> ERROR: Stack parameters are not numbers or have bad formatting  
> ERROR: Latitude and/or longitude are missing at line 2076718

Could you please advise on how to generate correctly formatted inventory data for these two fire types, or share the processed `ptday*` and `ptinv*` files if available?

Thank you,  
Jingting

---

<div class="post-metadata">

**Author:** ![james.beidler](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@james.beidler](https://forum.cmascenter.org/u/james.beidler)\
**Post date:** [April 30, 2025, 9:27pm UTC](https://forum.cmascenter.org/t/ptfire-inventory-formatting-issues-2017-platform/5772/2 "2025-04-30T21:27:25Z")

</div>

Maintaining the proper column and file format for FF10s requires paying close attention to the file standards, particularly when working with some of the Python packages. To simplify the issue I recommend that for each annual FF10 and each daily FF10 you use a command line tool such as grep to filter the prescribed fire SCCs and the wildfire SCCs into different files. Once the records are split copy the header ([6.2.&nbsp;Inventory Files](https://www.cmascenter.org/smoke/documentation/5.0/html/ch06s02.html#sect_input_inventory_header)) and column names from each original FF10 into the new split FF10s.

---

<div class="post-metadata">

**Author:** ![holajtodos](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@holajtodos](https://forum.cmascenter.org/u/holajtodos)\
**Post date:** [April 30, 2025, 10:07pm UTC](https://forum.cmascenter.org/t/ptfire-inventory-formatting-issues-2017-platform/5772/3 "2025-04-30T22:07:51Z")

</div>

Thanks for providing me this great idea! The new inventory works now!
