Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cmd line scale values
04-12-2008, 16:19
Post: #1
cmd line scale values
Hi

I'm trying to use SWarp to mosaic 200-500 images at a time. I'm scaling the images by supplying values on the cmd line (-FSCALE_DEFAULT 0.57,1.12,1.12,0.56 ....), mostly it's working but I've noticed that in the output from the example below (268 images). The last 12 all get the scaling of the 256th image rather than the supplied values. Is there an array size or 1 bytle length limit to the supplied FSCALE values.

The relevant output lines from the last 14 images are
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.746 X / 1.079 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.746 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.746 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.744 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.744 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.744 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.747 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.747 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.746 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.746 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.744 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.744 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.744 X / 1.074 X
Gain: 1.64 e-/ADU Flux scaling (astrom/photom): 2.744 X / 1.074 X

Thanks
Mike

swarp-2.16.0/bin/swarp -c gps.swarp -VERBOSE_TYPE NORMAL -IMAGEOUT_NAME mosaic_out.fits -HEADER_ONLY N -FSCALE_DEFAULT 0.57,1.12,1.12,0.56,1.13,1.13,1.13,1.13,1.10,1.08,1.12,1.10,1.09,1.10,1.10,
1.13,1.13,1.11,1.11,1.10,1.08,1.08,1.10,1.09,1.10,1.09,0.55,0.55,1.09,1.10,
1.07,1.08,1.10,1.08,1.10,1.08,0.54,1.10,1.10,1.10,1.10,1.10,1.09,1.08,1.07,
1.13,1.16,1.13,1.16,0.55,0.55,0.55,0.55,0.56,0.55,1.09,1.11,1.09,1.11,1.09,
1.10,1.08,1.08,1.06,1.15,1.14,1.15,1.14,0.54,0.54,0.54,0.54,1.10,1.10,1.08,
1.08,1.14,1.14,1.13,1.16,1.11,1.15,0.57,0.57,0.57,0.57,0.55,0.55,0.54,1.09,
0.54,1.10,1.09,1.10,1.08,1.11,1.09,1.09,1.07,0.56,1.16,0.56,1.16,1.14,1.15,
1.13,1.14,0.57,0.57,0.57,0.58,0.54,0.55,0.53,1.09,0.54,1.10,1.09,1.10,1.10,
1.11,1.13,1.11,1.12,1.14,1.13,0.57,0.56,0.56,1.10,1.11,1.10,1.11,1.09,1.10,
1.07,1.08,1.09,1.12,1.12,1.12,1.12,0.56,1.16,0.55,1.15,0.58,0.56,0.57,1.10,
1.10,1.10,1.10,1.09,1.10,1.07,1.08,1.13,1.09,1.11,1.09,1.09,1.09,1.09,0.59,
0.59,1.11,1.10,1.08,1.09,1.13,1.11,1.13,1.11,1.12,1.12,1.10,1.10,1.16,1.10,
1.16,1.10,0.57,0.57,1.10,1.10,1.08,1.11,1.11,1.08,1.11,1.11,1.09,1.09,1.07,
1.07,0.57,0.56,0.57,0.57,0.57,0.54,1.12,0.54,1.12,1.13,1.11,1.11,1.09,1.16,
1.10,1.15,1.08,0.57,0.57,0.57,0.57,0.56,0.54,0.54,0.54,0.54,1.11,1.11,1.09,
1.09,0.57,0.56,0.58,0.57,0.54,1.12,0.53,1.10,1.09,1.08,1.09,1.08,0.57,0.57,
0.58,0.58,0.55,0.54,0.54,0.53,1.10,1.09,1.10,1.09,0.56,0.57,0.56,1.09,1.08,
1.07,1.06,0.56,0.56,0.56,1.10,1.09,1.08,1.07,0.55,0.56,0.55,0.55 gps_h_fits/1_r_w20060605_01729_sf_st.fit gps_h_fits/2_r_w20050616_01745_sf_st.fit gps_h_fits/3_r_w20050616_01745_sf_st.fit gps_h_fits/1_r_w20060605_01721_sf_st.fit gps_h_fits/2_r_w20050616_01713_sf_st.fit gps_h_fits/2_r_w20050616_01729_sf_st.fit gps_h_fits/3_r_w20050616_01713_sf_st.fit gps_h_fits/3_r_w20050616_01729_sf_st.fit gps_h_fits/2_r_w20050617_01835_sf_st.fit gps_h_fits/2_r_w20050617_01851_sf_st.fit gps_h_fits/1_r_w20050616_01745_sf_st.fit gps_h_fits/4_r_w20050616_01745_sf_st.fit gps_h_fits/2_r_w20050617_01819_sf_st.fit gps_h_fits/2_r_w20050617_01803_sf_st.fit gps_h_fits/3_r_w20050617_01803_sf_st.fit gps_h_fits/1_r_w20050616_01713_sf_st.fit gps_h_fits/1_r_w20050616_01729_sf_st.fit gps_h_fits/4_r_w20050616_01729_sf_st.fit gps_h_fits/4_r_w20050616_01713_sf_st.fit gps_h_fits/1_r_w20050617_01835_sf_st.fit gps_h_fits/1_r_w20050617_01851_sf_st.fit gps_h_fits/4_r_w20050617_01835_sf_st.fit gps_h_fits/2_r_w20050614_01650_sf_st.fit gps_h_fits/2_r_w20050614_01634_sf_st.fit gps_h_fits/3_r_w20050614_01650_sf_st.fit gps_h_fits/3_r_w20050614_01634_sf_st.fit gps_h_fits/2_r_w20060612_01396_sf_st.fit gps_h_fits/3_r_w20060612_01396_sf_st.fit gps_h_fits/1_r_w20050617_01819_sf_st.fit gps_h_fits/1_r_w20050617_01803_sf_st.fit gps_h_fits/4_r_w20050617_01819_sf_st.fit gps_h_fits/4_r_w20050617_01803_sf_st.fit gps_h_fits/2_r_w20050614_01618_sf_st.fit gps_h_fits/2_r_w20050614_01602_sf_st.fit gps_h_fits/3_r_w20050614_01618_sf_st.fit gps_h_fits/3_r_w20050614_01602_sf_st.fit gps_h_fits/2_r_w20060612_01388_sf_st.fit gps_h_fits/2_r_w20050617_01667_sf_st.fit gps_h_fits/2_r_w20050617_01651_sf_st.fit gps_h_fits/3_r_w20050617_01667_sf_st.fit gps_h_fits/3_r_w20050617_01651_sf_st.fit gps_h_fits/1_r_w20050614_01650_sf_st.fit gps_h_fits/1_r_w20050614_01634_sf_st.fit gps_h_fits/4_r_w20050614_01650_sf_st.fit gps_h_fits/4_r_w20050614_01634_sf_st.fit gps_h_fits/2_r_w20050610_01287_sf_st.fit gps_h_fits/2_r_w20050610_01271_sf_st.fit gps_h_fits/3_r_w20050610_01287_sf_st.fit gps_h_fits/3_r_w20050610_01271_sf_st.fit gps_h_fits/2_r_w20060612_01305_sf_st.fit gps_h_fits/2_r_w20060612_01297_sf_st.fit gps_h_fits/3_r_w20060612_01305_sf_st.fit gps_h_fits/3_r_w20060612_01297_sf_st.fit gps_h_fits/1_r_w20060612_01396_sf_st.fit gps_h_fits/4_r_w20060612_01396_sf_st.fit gps_h_fits/1_r_w20050617_01963_sf_st.fit gps_h_fits/2_r_w20050617_01619_sf_st.fit gps_h_fits/2_r_w20050617_01635_sf_st.fit gps_h_fits/3_r_w20050617_01619_sf_st.fit gps_h_fits/3_r_w20050617_01635_sf_st.fit gps_h_fits/1_r_w20050614_01618_sf_st.fit gps_h_fits/1_r_w20050614_01602_sf_st.fit gps_h_fits/4_r_w20050614_01618_sf_st.fit gps_h_fits/4_r_w20050614_01602_sf_st.fit gps_h_fits/2_r_w20050610_01239_sf_st.fit gps_h_fits/2_r_w20050610_01255_sf_st.fit gps_h_fits/3_r_w20050610_01239_sf_st.fit gps_h_fits/3_r_w20050610_01255_sf_st.fit gps_h_fits/2_r_w20060612_01281_sf_st.fit gps_h_fits/2_r_w20060612_01289_sf_st.fit gps_h_fits/3_r_w20060612_01281_sf_st.fit gps_h_fits/3_r_w20060612_01289_sf_st.fit gps_h_fits/1_r_w20050617_01667_sf_st.fit gps_h_fits/1_r_w20050617_01651_sf_st.fit gps_h_fits/4_r_w20050617_01667_sf_st.fit gps_h_fits/4_r_w20050617_01651_sf_st.fit gps_h_fits/2_r_w20050610_01705_sf_st.fit gps_h_fits/3_r_w20050610_01705_sf_st.fit gps_h_fits/1_r_w20050610_01287_sf_st.fit gps_h_fits/1_r_w20050610_01271_sf_st.fit gps_h_fits/4_r_w20050610_01287_sf_st.fit gps_h_fits/4_r_w20050610_01271_sf_st.fit gps_h_fits/2_r_w20060607_01452_sf_st.fit gps_h_fits/2_r_w20060607_01444_sf_st.fit gps_h_fits/3_r_w20060607_01452_sf_st.fit gps_h_fits/3_r_w20060607_01444_sf_st.fit gps_h_fits/1_r_w20060612_01305_sf_st.fit gps_h_fits/1_r_w20060612_01297_sf_st.fit gps_h_fits/4_r_w20060612_01305_sf_st.fit gps_h_fits/2_r_w20050605_02112_sf_st.fit gps_h_fits/4_r_w20060612_01297_sf_st.fit gps_h_fits/2_r_w20050605_02128_sf_st.fit gps_h_fits/3_r_w20050605_02112_sf_st.fit gps_h_fits/3_r_w20050605_02128_sf_st.fit gps_h_fits/2_r_w20050521_01199_sf_st.fit gps_h_fits/1_r_w20050617_01619_sf_st.fit gps_h_fits/1_r_w20050617_01635_sf_st.fit gps_h_fits/4_r_w20050617_01619_sf_st.fit gps_h_fits/4_r_w20050617_01635_sf_st.fit gps_h_fits/2_r_w20060605_01582_sf_st.fit gps_h_fits/2_r_w20050610_01689_sf_st.fit gps_h_fits/3_r_w20060605_01582_sf_st.fit gps_h_fits/3_r_w20050610_01689_sf_st.fit gps_h_fits/1_r_w20050610_01255_sf_st.fit gps_h_fits/1_r_w20050610_01239_sf_st.fit gps_h_fits/4_r_w20050610_01255_sf_st.fit gps_h_fits/4_r_w20050610_01239_sf_st.fit gps_h_fits/2_r_w20060607_01428_sf_st.fit gps_h_fits/2_r_w20060607_01436_sf_st.fit gps_h_fits/3_r_w20060607_01428_sf_st.fit gps_h_fits/3_r_w20060607_01436_sf_st.fit gps_h_fits/1_r_w20060612_01281_sf_st.fit gps_h_fits/1_r_w20060612_01289_sf_st.fit gps_h_fits/4_r_w20060612_01281_sf_st.fit gps_h_fits/2_r_w20050605_02080_sf_st.fit gps_h_fits/4_r_w20060612_01289_sf_st.fit gps_h_fits/2_r_w20050605_02096_sf_st.fit gps_h_fits/3_r_w20050605_02080_sf_st.fit gps_h_fits/3_r_w20050605_02096_sf_st.fit gps_h_fits/1_r_w20050521_01215_sf_st.fit gps_h_fits/2_r_w20050616_02112_sf_st.fit gps_h_fits/2_r_w20050616_01936_sf_st.fit gps_h_fits/3_r_w20050616_02112_sf_st.fit gps_h_fits/3_r_w20050616_02096_sf_st.fit gps_h_fits/1_r_w20050610_01705_sf_st.fit gps_h_fits/4_r_w20050610_01705_sf_st.fit gps_h_fits/1_r_w20060607_01452_sf_st.fit gps_h_fits/4_r_w20060607_01452_sf_st.fit gps_h_fits/4_r_w20060607_01444_sf_st.fit gps_h_fits/2_r_w20050614_01474_sf_st.fit gps_h_fits/2_r_w20050614_01490_sf_st.fit gps_h_fits/3_r_w20050614_01474_sf_st.fit gps_h_fits/3_r_w20050614_01490_sf_st.fit gps_h_fits/1_r_w20050605_02112_sf_st.fit gps_h_fits/1_r_w20050605_02128_sf_st.fit gps_h_fits/4_r_w20050605_02112_sf_st.fit gps_h_fits/4_r_w20050605_02128_sf_st.fit gps_h_fits/1_r_w20050521_01199_sf_st.fit gps_h_fits/2_r_w20050616_01904_sf_st.fit gps_h_fits/2_r_w20050616_01920_sf_st.fit gps_h_fits/3_r_w20050616_01904_sf_st.fit gps_h_fits/3_r_w20050616_01920_sf_st.fit gps_h_fits/1_r_w20060605_01582_sf_st.fit gps_h_fits/1_r_w20050610_01689_sf_st.fit gps_h_fits/4_r_w20060605_01582_sf_st.fit gps_h_fits/4_r_w20050610_01689_sf_st.fit gps_h_fits/1_r_w20060607_01436_sf_st.fit gps_h_fits/4_r_w20060607_01428_sf_st.fit gps_h_fits/4_r_w20060607_01436_sf_st.fit gps_h_fits/2_r_w20050614_01458_sf_st.fit gps_h_fits/2_r_w20050614_01442_sf_st.fit gps_h_fits/3_r_w20050614_01458_sf_st.fit gps_h_fits/3_r_w20050614_01442_sf_st.fit gps_h_fits/1_r_w20050605_02080_sf_st.fit gps_h_fits/1_r_w20050605_02096_sf_st.fit gps_h_fits/4_r_w20050605_02080_sf_st.fit gps_h_fits/4_r_w20050605_02096_sf_st.fit gps_h_fits/1_r_w20050616_01936_sf_st.fit gps_h_fits/4_r_w20050616_02112_sf_st.fit gps_h_fits/4_r_w20050616_01936_sf_st.fit gps_h_fits/2_r_w20050614_01314_sf_st.fit gps_h_fits/3_r_w20050614_01314_sf_st.fit gps_h_fits/2_r_w20050614_01330_sf_st.fit gps_h_fits/3_r_w20050614_01330_sf_st.fit gps_h_fits/3_r_w20060706_01447_sf_st.fit gps_h_fits/3_r_w20060706_01455_sf_st.fit gps_h_fits/1_r_w20050614_01490_sf_st.fit gps_h_fits/1_r_w20050614_01474_sf_st.fit gps_h_fits/4_r_w20050614_01474_sf_st.fit gps_h_fits/4_r_w20050614_01490_sf_st.fit gps_h_fits/2_r_w20050605_01952_sf_st.fit gps_h_fits/2_r_w20050605_01968_sf_st.fit gps_h_fits/3_r_w20050605_01952_sf_st.fit gps_h_fits/3_r_w20050605_01968_sf_st.fit gps_h_fits/1_r_w20050616_01904_sf_st.fit gps_h_fits/1_r_w20050616_01920_sf_st.fit gps_h_fits/4_r_w20050616_01904_sf_st.fit gps_h_fits/4_r_w20050616_01920_sf_st.fit gps_h_fits/2_r_w20050614_01298_sf_st.fit gps_h_fits/2_r_w20050614_01282_sf_st.fit gps_h_fits/3_r_w20050614_01298_sf_st.fit gps_h_fits/3_r_w20050614_01282_sf_st.fit gps_h_fits/3_r_w20060706_01439_sf_st.fit gps_h_fits/3_r_w20060706_01431_sf_st.fit gps_h_fits/1_r_w20050614_01458_sf_st.fit gps_h_fits/1_r_w20050614_01442_sf_st.fit gps_h_fits/4_r_w20050614_01458_sf_st.fit gps_h_fits/2_r_w20050605_01936_sf_st.fit gps_h_fits/2_r_w20050605_01920_sf_st.fit gps_h_fits/4_r_w20050614_01442_sf_st.fit gps_h_fits/3_r_w20050605_01936_sf_st.fit gps_h_fits/3_r_w20050605_01920_sf_st.fit gps_h_fits/1_r_w20050614_01314_sf_st.fit gps_h_fits/1_r_w20050614_01330_sf_st.fit gps_h_fits/4_r_w20050614_01314_sf_st.fit gps_h_fits/4_r_w20050614_01330_sf_st.fit gps_h_fits/3_r_w20070518_03475_sf_st.fit gps_h_fits/3_r_w20070518_03483_sf_st.fit gps_h_fits/2_r_w20070518_03475_sf_st.fit gps_h_fits/2_r_w20070518_03483_sf_st.fit gps_h_fits/4_r_w20060706_01455_sf_st.fit gps_h_fits/2_r_w20060612_01195_sf_st.fit gps_h_fits/2_r_w20050606_02321_sf_st.fit gps_h_fits/3_r_w20060612_01195_sf_st.fit gps_h_fits/3_r_w20050606_02321_sf_st.fit gps_h_fits/1_r_w20050605_01952_sf_st.fit gps_h_fits/1_r_w20050605_01968_sf_st.fit gps_h_fits/4_r_w20050605_01952_sf_st.fit gps_h_fits/4_r_w20050605_01968_sf_st.fit gps_h_fits/1_r_w20050614_01298_sf_st.fit gps_h_fits/1_r_w20050614_01282_sf_st.fit gps_h_fits/4_r_w20050614_01298_sf_st.fit gps_h_fits/4_r_w20050614_01282_sf_st.fit gps_h_fits/3_r_w20070518_03459_sf_st.fit gps_h_fits/3_r_w20070518_03467_sf_st.fit gps_h_fits/2_r_w20070518_03459_sf_st.fit gps_h_fits/2_r_w20070518_03467_sf_st.fit gps_h_fits/4_r_w20060706_01439_sf_st.fit gps_h_fits/2_r_w20060612_01187_sf_st.fit gps_h_fits/2_r_w20060612_01179_sf_st.fit gps_h_fits/3_r_w20060612_01187_sf_st.fit gps_h_fits/3_r_w20060612_01179_sf_st.fit gps_h_fits/1_r_w20050605_01936_sf_st.fit gps_h_fits/1_r_w20050605_01920_sf_st.fit gps_h_fits/4_r_w20050605_01936_sf_st.fit gps_h_fits/4_r_w20050605_01920_sf_st.fit gps_h_fits/4_r_w20070518_03475_sf_st.fit gps_h_fits/4_r_w20070518_03483_sf_st.fit gps_h_fits/1_r_w20070518_03475_sf_st.fit gps_h_fits/1_r_w20070518_03483_sf_st.fit gps_h_fits/1_r_w20060612_01195_sf_st.fit gps_h_fits/1_r_w20050606_02321_sf_st.fit gps_h_fits/4_r_w20060612_01195_sf_st.fit gps_h_fits/4_r_w20050606_02321_sf_st.fit gps_h_fits/2_r_w20050606_02071_sf_st.fit gps_h_fits/2_r_w20050606_02055_sf_st.fit gps_h_fits/3_r_w20050606_02071_sf_st.fit gps_h_fits/3_r_w20050606_02055_sf_st.fit gps_h_fits/4_r_w20070518_03459_sf_st.fit gps_h_fits/4_r_w20070518_03467_sf_st.fit gps_h_fits/1_r_w20070518_03459_sf_st.fit gps_h_fits/1_r_w20070518_03467_sf_st.fit gps_h_fits/1_r_w20060612_01187_sf_st.fit gps_h_fits/1_r_w20060612_01179_sf_st.fit gps_h_fits/4_r_w20060612_01187_sf_st.fit gps_h_fits/4_r_w20060612_01179_sf_st.fit gps_h_fits/2_r_w20050606_02039_sf_st.fit gps_h_fits/2_r_w20050606_02023_sf_st.fit gps_h_fits/3_r_w20050606_02039_sf_st.fit gps_h_fits/3_r_w20050606_02023_sf_st.fit gps_h_fits/2_r_w20060605_01370_sf_st.fit gps_h_fits/3_r_w20060605_01362_sf_st.fit gps_h_fits/3_r_w20060605_01370_sf_st.fit gps_h_fits/1_r_w20050606_02071_sf_st.fit gps_h_fits/1_r_w20050606_02055_sf_st.fit gps_h_fits/4_r_w20050606_02071_sf_st.fit gps_h_fits/4_r_w20050606_02055_sf_st.fit gps_h_fits/2_r_w20060605_01354_sf_st.fit gps_h_fits/3_r_w20060605_01354_sf_st.fit gps_h_fits/3_r_w20060605_01346_sf_st.fit gps_h_fits/1_r_w20050606_02039_sf_st.fit gps_h_fits/1_r_w20050606_02023_sf_st.fit gps_h_fits/4_r_w20050606_02039_sf_st.fit gps_h_fits/4_r_w20050606_02023_sf_st.fit gps_h_fits/4_r_w20060605_01370_sf_st.fit gps_h_fits/4_r_w20060605_01362_sf_st.fit gps_h_fits/4_r_w20060605_01354_sf_st.fit gps_h_fits/4_r_w20060605_01346_sf_st.fit
Find all posts by this user
Quote this message in a reply
04-13-2008, 16:00
Post: #2
RE: cmd line scale values
Hi Mike,

Looking a prefs.h in swarp I see there is a limit on the number of input files ... of 100,000. So I don't think the problem is coming from that part of the code. (could be also some kind of shell/ command line thing...)

In fact, the way one normally applies FSCALE values in swarp is by using ASCCI .head files, one for each input file. This would certainly require smaller command-lines (also greatly reduce the possibility of error!). Perhaps you should try this...

cheers
henry
Visit this user's website Find all posts by this user
Quote this message in a reply
04-13-2008, 18:43
Post: #3
RE: cmd line scale values
Hi Henry

Thanks for your message.

"Looking a prefs.h in swarp I see there is a limit on the number of input files ... of 100,000. So I don't think the problem is coming from that part of the code. (could be also some kind of shell/ command line thing...) "

Maybe, though it processes all the files well enough just scales them wrongly and 256 seemed a likely suspect. Orginally I had a longer cmd line (more decimal places) and it went wrong at the same file.

"In fact, the way one normally applies FSCALE values in swarp is by using ASCCI .head files, one for each input file. This would certainly require smaller command-lines (also greatly reduce the possibility of error!). Perhaps you should try this..."

OK I'll try this way.

cheers
Mike
Find all posts by this user
Quote this message in a reply
04-13-2008, 21:29
Post: #4
RE: cmd line scale values
Hi Henry

In fact the version I was using 2.16 was limited to 256 (thanks for pointing me to prefs.h).

Working now.

Mike
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)