diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/tbtables/fitsio/ftgcvi.f | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'pkg/tbtables/fitsio/ftgcvi.f')
-rw-r--r-- | pkg/tbtables/fitsio/ftgcvi.f | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio/ftgcvi.f b/pkg/tbtables/fitsio/ftgcvi.f new file mode 100644 index 00000000..2e032552 --- /dev/null +++ b/pkg/tbtables/fitsio/ftgcvi.f @@ -0,0 +1,28 @@ +C---------------------------------------------------------------------- + subroutine ftgcvi(iunit,colnum,frow,felem,nelem,nulval,array, + & anynul,status) + +C read an array of I*2 values from a specified column of the table. +C Any undefined pixels will be set equal to the value of NULVAL, +C unless NULVAL=0, 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 within the row to read +C nelem i number of elements to read +C nulval i*2 value that undefined pixels will be set to +C array i*2 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 + integer*2 array(*),nulval + + call ftgcli(iunit,colnum,frow,felem,nelem,1,1,nulval, + & array,flgval,anynul,status) + end |