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/images/immatch/gregister.cl | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/images/immatch/gregister.cl')
-rw-r--r-- | pkg/images/immatch/gregister.cl | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkg/images/immatch/gregister.cl b/pkg/images/immatch/gregister.cl new file mode 100644 index 00000000..70c048e7 --- /dev/null +++ b/pkg/images/immatch/gregister.cl @@ -0,0 +1,51 @@ +# GREGISTER -- Register a list of images by calling the GEOTRAN task with the +# appropriate parameters. + +procedure gregister (input, output, database, transforms, geometry, xmin, xmax, + ymin, ymax, xscale, yscale, ncols, nlines, xsample, ysample, + interpolant, boundary, constant, fluxconserve, nxblock, nyblock, + verbose) + +string input +string output +string database +string transforms +string geometry +real xmin +real xmax +real ymin +real ymax +real xscale +real yscale +int ncols +int nlines +real xsample +real ysample +string interpolant +string boundary +real constant +bool fluxconserve +int nxblock +int nyblock +bool verbose + +begin + # Declare local variables + string din, dout, ddata, dtran + + # Get the parameters. + din = input + dout = output + ddata = database + dtran = transforms + + # Call GEOTRAN. + geotran (input=din, output=dout, database=ddata, transforms=dtran, + geometry=geometry, xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, + xscale=xscale, yscale=yscale, ncols=ncols, nlines=nlines, + interpolant=interpolant, boundary=boundary, constant=constant, + fluxconserve=fluxconserve, xsample=xsample, ysample=ysample, + nxblock=nxblock, nyblock=nyblock, xin=INDEF, yin=INDEF, xout=INDEF, + yout=INDEF, xshift=INDEF, yshift=INDEF, xmag=INDEF, ymag=INDEF, + xrotation=INDEF, yrotation=INDEF, verbose=verbose) +end |