Closed KshitijT closed 5 years ago
This went wrong in the previous commit. I just made a fix in branch issue-49, please test it
Thanks for the quick fix, @SpheMakh !
Now it creates the proper range of time asked:
But I get this error:
2019-01-12 11:01:40 SEVERE putcol::FLAG Exception Reported: ArrayBase::Array(const IPosition&) - Negative shape shape [-2087124992] differs from [-2087124992]
Traceback (most recent call last):
File "/casa-release-5.1.2-4.el7/lib/python2.7/init_welcome.py", line 24, in <module>
execfile(__candidates[0])
File "/tmp/tmpJmGXtM.py", line 6, in <module>
makems(msname="/home/kshitij/msdir/MeerKAT_X_shaped_sources_may_19_J0838+3253", label="None", tel="meerkat", pos="/usr/local/lib/python2.7/dist-packages/simms/observatories/meerkat.itrf.txt", pos_type="ascii", synthesis=12, scan_length=['0.25'], dtime="16.0", freq0=['900MHz'], dfreq=['5MHz'], nchan=[300], stokes="XX XY YX YY", start_time=None, setlimits=False, elevation_limit=0.000000, shadow_limit=0.000000, coords="itrf",lon_lat="None", noup=False, nbands=1, direction=['J2000,08h38m44.61s,+32d53m11.8s'], outdir=".",date="UTC,2019/05/01",fromknown=False, feed="perfect X Y",scan_lag=0,auto_corr=False)
File "/usr/local/lib/python2.7/dist-packages/simms/casasm.py", line 248, in makems
tb.putcol("FLAG", flags)
File "/casa-release-5.1.2-4.el7/lib/python2.7/__casac__/table.py", line 2363, in putcol
return _table.table_putcol(self, columnname, value, startrow, nrow, rowincr)
RuntimeError: ArrayBase::Array(const IPosition&) - Negative shape shape [-2087124992] differs from [-2087124992]
Fixed. Could you try again?
Yup, fixed. Thanks !
After the update, if I try plotting, say, the uvcoverage with plotms, I get a message saying "all data are flagged", but the same works fine with plotuv (this was not the case earlier), does it have anything to do with the updates?
Since you have specified the -date (but not the time) the observation will start at 00:00:00, and I suspect that the source is not up for the duration of the observation. Try out the new "--optimise-start" option which will modify the start time (-date) such that the source is visible for as long as possible
While using simms:
I get a total synthesis time of a single scan, rather than the full 12 hours integration time: