Next: The STSDAS Table Selector Library
Up: Software Systems and Tools
Previous: PyFITS, a FITS Module for Python
Table of Contents - Subject Index - Author Index - Search - PS reprint - PDF reprint

Pence, W. D. 1999, in ASP Conf. Ser., Vol. 172, Astronomical Data Analysis Software and Systems VIII, eds. D. M. Mehringer, R. L. Plante, & D. A. Roberts (San Francisco: ASP), 487

CFITSIO, v2.0: A New Full-Featured Data Interface

William Pence
HEASARC, NASA/Goddard Space Flight Center, Greenbelt, MD 20771

Abstract:

Version 2.0 of the CFITSIO subroutine interface for reading and writing FITS format data files is now available from the HEASARC web site. Some of the major new features in this version are the ability to read FITS files over the network, support for reading IRAF format images, and options for filtering the input file at run time.

1. New CFITSIO Features

CFITSIO is a software library that contains both C and Fortran-callable interface routines for reading and writing data files in FITS format. It is fast and efficient and typically produces data throughput rates of 5 - 20 MB/s on modern workstations and PCs. Version 2.0 of the CFITSIO library is available at http://heasarc.gsfc.nasa.gov/fitsio and contains many new features:

2. Extended Filename Syntax

Support for different types of files and for filtering of the input file is provided through an extended filename syntax, as illustrated in the following examples:

Acknowledgments

Many people have contributed to the development of version 2.0 of CFITSIO. In particular, members of the Integral Science Data Center (Jurek Borkowski, Bruce O'Neel, and Don Jennings) designed the concept of plug-in I/O drivers now used by CFITSIO, and provided the drivers for accessing files in shared memory and via the FTP, HTTP, and ROOT protocols. Also, Don Jennings wrote the hierarchical grouping routines, and Jurek Borkowski wrote the ASCII template file parser.

Uwe Lammers, from the XMM project at ESTEC, provided the very fast expression parsing algorithm that is used by CFITSIO when calculating new column values or filtering table rows at run time. Peter Wilson, (NASA/GSFC, RSTX) combined this algorithm with CFITSIO's iterator function for even fast I/O throughput. Peter Wilson also wrote the Fortran-callable wrappers for CFITSIO.

And, last but not least, Jonathan McDowell and collaborators at the AXAF Science Center developed a file filtering and binning syntax which formed the basis for the CFITSIO extended filename syntax, and Doug Mink (Smithsonian Astrophysical Observatory) provided the routines for converting IRAF format images into FITS format.


© Copyright 1999 Astronomical Society of the Pacific, 390 Ashton Avenue, San Francisco, California 94112, USA
Next: The STSDAS Table Selector Library
Up: Software Systems and Tools
Previous: PyFITS, a FITS Module for Python
Table of Contents - Subject Index - Author Index - Search - PS reprint - PDF reprint

adass@ncsa.uiuc.edu