Skip to content

ProjectHome

barronh edited this page Jun 24, 2020 · 3 revisions

In the sciences, file formats abound and it is easy to spend more effort reading/writing data than analyzing it. The goal of PseudoNetCDF is to provide a single abstract interface for many data formats. The project is inspired by NetCDF PseudoNetCDF abstracts many file formats using the data/object model from NetCDF. The NetCDF library has a strong object model, a long history, and a long list of meta-data conventions. Rather than designing our own interface, we rely on the power and simplicity of the Scientific.IO.NetCDF python interface for the NetCDF library. PseudoNetCDF provides this same data interface for the following data formats from CAMx (www.camx.org), RACM2 box-model outputs, Kinetic Pre-Processor outputs, CMAQ box-model outputs, ICARTT formatted data, and more.

Try our:

Quick tour:

  • Install: pip install pseudonetcdf
  • Download example icartt file: e.g., HOx fromm INTEX-NA
  • Dump an icartt file in CDL: python -m PseudoNetCDF.pncdump -f ffi1001 HOX_DC8_20040626_R0.ict
  • Create a netcdf from an icartt file: python -m PseudoNetCDF.pncgen -f ffi1001 HOX_DC8_20040626_R0.ict HOX_DC8_20040626_R0.nc