Skip to content

Commit

Permalink
smurf: Ensure NDF created by jsajoin does not inherit an incorrect ou…
Browse files Browse the repository at this point in the history
…tline poly
  • Loading branch information
David Berry committed Feb 25, 2014
1 parent 28083b8 commit f93ac5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/smurf/scripts/jsajoin.py
Expand Up @@ -364,6 +364,9 @@ def cleanup():
jsa_montage = NDG(1)
invoke( "$KAPPA_DIR/ndfcopy in={0} out={1} trimbad".format(temp,jsa_montage) )

# Erase any outline polygon from the montage since it will be incorrect.
invoke( "$KAPPA_DIR/erase {0}.more.outline ok".format(jsa_montage) )

# Get the nominal pixel size of the montage.
invoke( "$KAPPA_DIR/ndftrace {0} quiet".format(jsa_montage) )
pixsize1 = float( starutil.get_task_par( "FPIXSCALE(1)", "ndftrace" ) )
Expand Down

0 comments on commit f93ac5a

Please sign in to comment.