Table Of Contents

Next topic

About pyCGNS

A Python package for CGNSΒΆ

The package gathers various tools and libraries for CGNS end-users and Python application developpers. The main object of pyCGNS is to provide the application developpers with a Python interface to CGNS/SIDS, the data model. The MAP and PAT modules are dedicated to this goal: map the CGNS/SIDS data model the CGNS/Python implementation. The WRA module contains wrapper on CGNS/MLL and a MLL-like set of functions that uses the CGNS/Python mapping as implementation. The NAV module supports the CGNS.NAV graphical browser, with nice features about tree exploration, copy/paste and even global node changes. Then, the VAL module is a parser engine for CGNS/Python tree compliance checking. The CGNS.VAL tool can analyze your CGNS/HDF5 file and returns you a list of diagnostics.

The package uses numpy, cython and HDF5 you should install before pyCGNS. The CGNS.NAV graphical tool uses Qt and has a VTK viewer, the tool requires the Qt libs, VTK libs and their python interfaces. The CGNS/SIDS data model has a mapping the HDF5 for file storage. The MAP module uses CHLone instead of CGNS/MLL to map its CGNS/Python trees to HDF5.


The pyCGNS python package is released under LGPL2 license and hosted by sourceforge where you can find source download, help forum, wiki and bug tracking.

Click below for a quick access to modules (DAT and APP are not available in this current version).

The listed chapters are the introduction chapters, each MAP, PAT, WRA, NAV, VAL module has its own documentation which doesn’t appear below. Click on the modules icons above to get their documentation.