IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/ippMonitor/scripts/generate

    r21044 r24951  
    308308        if ($value eq "*") { next; }
    309309        if ($format[$i] eq "%s") {
    310             print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string');\n";
    311         } else {
    312             print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string');\n";
    313             print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'min');\n";
    314             print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'max');\n";
    315         }
     310            print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string', 1.0);\n";
     311            next;
     312        }
     313        if ($format[$i] eq "%C") {
     314            # convert the RA & DEC limits to radians for comparison
     315            print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'min', 0.017453);\n";
     316            print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'max', 0.017453);\n";
     317            next;
     318        }
     319        print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string', 1.0);\n";
     320        print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'min', 1.0);\n";
     321        print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'max', 1.0);\n";
    316322    }
    317323    print FILE "\$WHERE = check_ordering ('$GROUPS', \$WHERE);\n";
Note: See TracChangeset for help on using the changeset viewer.