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 /noao/digiphot/photcal/mkcatalog.cl | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/photcal/mkcatalog.cl')
-rw-r--r-- | noao/digiphot/photcal/mkcatalog.cl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/noao/digiphot/photcal/mkcatalog.cl b/noao/digiphot/photcal/mkcatalog.cl new file mode 100644 index 00000000..8c9b0e20 --- /dev/null +++ b/noao/digiphot/photcal/mkcatalog.cl @@ -0,0 +1,25 @@ +# MKCATALOG -- Create / edit a catalog of photometric standards. + +procedure mkcatalog (catalog) + +file catalog {prompt="The name of the output catalog"} +bool review {no, prompt="Verify each existing catalog record"} +bool verify {no, prompt="Verify each new catalog record"} +bool edit {yes,prompt="Check the output catalog with the editor"} + + +begin + # Declare local variables + file cat + + # Get the positional parameters + cat = catalog + + # Make a new catalog or edit an existing catalog. + catalog (cat, review=review, verify=verify) + + # Edit the catalog with the editor. + print ("") + if (access (cat) && edit) + edit (cat) +end |