ratt-ru / simms

Creates empty measurement sets using the the CASA simulate tool.
GNU General Public License v2.0
7 stars 8 forks source link

-date/--date does not work when using simms #45

Closed mserylak closed 5 years ago

mserylak commented 5 years ago

I would like to raise a bug which affects badly tied-array beam simulation experiments. Running simms with following command line options:

simms -T meerkat -st 0.00555555555555555555 -dt 10 --date "UTC,2019/01/01/00:00:00" --freq0 1380.0MHz --dfreq 0.208984375MHz --elevation-limit 20.0 --set-limits --auto-correlations --ra 00:45:25.69 --dec -70:42:07.1

produces the following info in the log:

2019-01-02 12:39:29 INFO NewMSSimulator::observe() First source: 00 @ 00:45:25.69 +19.28.13.50 J2000 2019-01-02 12:39:29 INFO NewMSSimulator::observe()+ Full time range: 31-Dec-2015/16:40:34.3 -- 31-Dec-2015/16:40:54.3 TAI with int = 10

With the --date given the source should be at 22.5 deg elevation and hour angle of 7.36 h. It seems that date specified in the command line is not passed to the CASA and what is used is the time when source culminates (31-Dec-2015/16:40:34.3).