aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/ftgcvj.f
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/tbtables/fitsio/ftgcvj.f
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/tbtables/fitsio/ftgcvj.f')
-rw-r--r--pkg/tbtables/fitsio/ftgcvj.f28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio/ftgcvj.f b/pkg/tbtables/fitsio/ftgcvj.f
new file mode 100644
index 00000000..de6340cc
--- /dev/null
+++ b/pkg/tbtables/fitsio/ftgcvj.f
@@ -0,0 +1,28 @@
+C----------------------------------------------------------------------
+ subroutine ftgcvj(iunit,colnum,frow,felem,nelem,nulval,array,
+ & anynul,status)
+
+C read an array of I*4 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 value that undefined pixels will be set to
+C array i 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 array(*),nulval
+
+ call ftgclj(iunit,colnum,frow,felem,nelem,1,1,nulval,
+ & array,flgval,anynul,status)
+ end