aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/ftghpr.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/ftghpr.f
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/tbtables/fitsio/ftghpr.f')
-rw-r--r--pkg/tbtables/fitsio/ftghpr.f28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio/ftghpr.f b/pkg/tbtables/fitsio/ftghpr.f
new file mode 100644
index 00000000..e0360a19
--- /dev/null
+++ b/pkg/tbtables/fitsio/ftghpr.f
@@ -0,0 +1,28 @@
+C----------------------------------------------------------------------
+ subroutine ftghpr(iunit,maxdim,simple,bitpix,naxis,naxes,
+ & pcount,gcount,extend,status)
+
+C get the required primary header or image extension keywords
+C
+C iunit i fortran unit number to use for reading
+C maxdim i maximum no. of dimensions to read; dimension of naxes
+C OUTPUT PARAMETERS:
+C simple l does file conform to FITS standard?
+C bitpix i number of bits per data value
+C naxis i number of axes in the data array
+C naxes i array giving the length of each data axis
+C pcount i number of group parameters (usually 0)
+C gcount i number of random groups (usually 1 or 0)
+C extend l may extensions be present in the FITS file?
+C status i output error status (0=OK)
+C
+C written by Wm Pence, HEASARC/GSFC, June 1991
+
+ integer iunit,bitpix,naxis,naxes(*),pcount,gcount,blank,status
+ integer maxdim,nblank
+ logical simple,extend
+ double precision fill
+
+ call ftgphx(iunit,maxdim,simple,bitpix,naxis,naxes,
+ & pcount,gcount,extend,fill,fill,blank,nblank,status)
+ end