From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- pkg/tbtables/fitsio/ftgcvs.f | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkg/tbtables/fitsio/ftgcvs.f (limited to 'pkg/tbtables/fitsio/ftgcvs.f') diff --git a/pkg/tbtables/fitsio/ftgcvs.f b/pkg/tbtables/fitsio/ftgcvs.f new file mode 100644 index 00000000..dbd92809 --- /dev/null +++ b/pkg/tbtables/fitsio/ftgcvs.f @@ -0,0 +1,28 @@ +C---------------------------------------------------------------------- + subroutine ftgcvs(iunit,colnum,frow,felem,nelem,nulval,array, + & anynul,status) + +C read an array of string values from a specified column of the table. +C Any undefined pixels will be set equal to the value of NULVAL, +C unless NULVAL=' ', in which case no checks for undefined pixels +C will be made. + +C iunit i fortran unit number +C colnum i number of the column to read +C frow i first row to read +C felem i first element in the row to read +C nelem i number of elements to read +C nulval c value that undefined pixels will be set to +C array c returned array of data values that was read from FITS file +C anynul l set to .true. if any of the returned values are undefined +C status i output error status +C +C written by Wm Pence, HEASARC/GSFC, June 1991 + + integer iunit,colnum,frow,felem,nelem,status + logical flgval,anynul + character*(*) array(*),nulval + + call ftgcls(iunit,colnum,frow,felem,nelem,1,nulval, + & array,flgval,anynul,status) + end -- cgit