diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/tbtables/fitsio/ftgcfc.f | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/tbtables/fitsio/ftgcfc.f')
-rw-r--r-- | pkg/tbtables/fitsio/ftgcfc.f | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio/ftgcfc.f b/pkg/tbtables/fitsio/ftgcfc.f new file mode 100644 index 00000000..a1598b9a --- /dev/null +++ b/pkg/tbtables/fitsio/ftgcfc.f @@ -0,0 +1,33 @@ +C---------------------------------------------------------------------- + subroutine ftgcfc(iunit,colnum,frow,felem,nelem,array, + & flgval,anynul,status) + +C read an array of complex values from a specified column of the table. +C Any undefined pixels will be have the corresponding value of FLGVAL +C set equal to .true., and ANYNUL will be set equal to .true. if +C any pixels are undefined. + +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 array cmp returned array of data values that was read from FITS file +C flgval l set .true. if corresponding element undefined +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 + real array(*),dummy + integer i + + do 10 i=1,nelem + flgval(i)=.false. +10 continue + + call ftgclc(iunit,colnum,frow,felem,nelem,1,2,dummy, + & array,flgval,anynul,status) + end |