Changeset 42033
- Timestamp:
- Feb 10, 2022, 2:15:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/ippTests/ippCheck/smfcheck.pro
r42032 r42033 111 111 112 112 # load psfField definitions 113 # XXX these should depend on which file is being compared (camera, warp, diff) 113 114 smf.compare.parse.book $PSF_FIELDS psfFields 114 115 smf.compare.parse.book $PSF_KEYS psfKeys … … 124 125 125 126 smf.compare.match.extlists ext0 ext1 126 127 ## ok ($ext0:n == $ext1:n) "same number of extensions"128 ## if ($ext0:n != $ext1:n)129 ## echo "impossible to continue with mismatched extensions"130 ## echo "smf1 : $smf1"131 ## echo "smf2 : $smf2"132 ## exit 3133 ## end134 127 135 128 # track the number of chips for which the XYnn.hdr keys failed … … 166 159 strstr -q $extname .psf -start s1 167 160 if ($s1 == 4) 161 echo "##### check keys for $extname == FITS entry number $Next1,$Next2 #####" 162 echo "##### comparison results in $outroot.$extname.keys #####" 163 exec ippCheckKeys $smf1 $Next1 $smf2 $Next2 >& $outroot.$extname.keys 164 smf.compare.keys $outroot.$extname.keys psfKeys 165 if ($NfailKeys) set NfailPsf = $NfailPsf + 1 166 167 echo "##### check fields for $extname == FITS entry number $Next1,$Next2 #####" 168 echo "##### comparison results in $outroot.$extname.txt #####" 169 smf.compare.onechip $outroot.$extname $smf1 {$Next1-1} $smf2 {$Next2-1}; # Note smf.compare.onechip counts from 0 = first extension 170 end 171 172 # if extname is SkyChip.hdr, compare the headers 173 strstr -q $extname .hdr -start s1 174 if ($s1 == 7) 175 echo "##### check keys for $extname == FITS entry number $Next1,$Next2 #####" 176 echo "##### comparison results in $outroot.$extname.keys #####" 177 exec ippCheckKeys $smf1 $Next1 $smf2 $Next2 >& $outroot.$extname.keys 178 smf.compare.keys $outroot.$extname.keys hdrKeys 179 if ($NfailKeys) set NfailHdr = $NfailHdr + 1 180 end 181 182 # if extname is SkyChip.psf, compare the headers AND compare the table values 183 strstr -q $extname .psf -start s1 184 if ($s1 == 7) 168 185 echo "##### check keys for $extname == FITS entry number $Next1,$Next2 #####" 169 186 echo "##### comparison results in $outroot.$extname.keys #####"
Note:
See TracChangeset
for help on using the changeset viewer.
