# netCDF to IO/API conversion

**URL:** <https://forum.cmascenter.org/t/netcdf-to-io-api-conversion/374>\
**Category:** I/O API\
**Created:** [October 30, 2018, 3:45pm UTC](https://forum.cmascenter.org/t/netcdf-to-io-api-conversion/374 "2018-10-30T15:45:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [October 30, 2018, 4:50pm UTC](https://forum.cmascenter.org/t/netcdf-to-io-api-conversion/374/2 "2018-10-30T16:50:11Z")

</div>

This is a duplicate posting. Please do not duplicate the ticket unless it is necessary.

> [@Processing RCP emissions in SMOKE](https://forum.cmascenter.org/t/processing-rcp-emissions-in-smoke/140/15):
>
> Hi, The specifics of what needs to be done depend upon what is in the CSV file. The easiest way starts with a pre-existing IO/API file, but that isn’t strictly necessary. The code below is just something a colleague threw together very quickly – it is probably not complete but it should be close: – START PYTHON CODE import pandas as pd import PseudoNetCDF as pnc pathtoexistingemisfile = ‘/path/to/ioapi.nc’ outpath = ‘test.nc’ pathtocsv = ‘/path/to/RCP.csv’ read and copy an existing file i…

---

_[View the full topic](https://forum.cmascenter.org/t/netcdf-to-io-api-conversion/374)._
