Closed maxscheel closed 2 years ago
This appears to be a JSON file created with tart_vis2json.
tart_download_data --vis --n 1
tart_vis2json --vis xxx.hdf
tart2ms --json json/vis_vis_2022-10-29T20:29:59.372Z.json
This appears to work without errors here. tart_tools 1.1.2b2, tart2ms 0.3.0b4
Can rephase too:
tart2ms --json *.json --phase_center_policy rephase-obs-midpoint --clobber
disko --ms tart.ms/ --healpix --fov 155deg --res 1deg --lasso --SVG --alpha 0.025
The issue is in the log 2022-10-29 06:55:39 SEVERE MeasTable::dUTC(Double) (file /code/measures/Measures/MeasTable.cc, line 4283) Cannot read leap second table TAI_UTC
You are missing ephemeris data. You will have to pull this directly from the NRAO mkdir -p /usr/share/casacore/data/ cd /usr/share/casacore/data/ rsync -avz rsync://casa-rsync.nrao.edu/casa-data .
I think there is a command installed on debian as part of casacore
casacore-update-tai_utc
which seems to do this. Perhaps
!casacore-update-tai_utc -f -o/usr/share/casacore/data/geodetic/TAI_UTC
Did the trick!
Example here: https://colab.research.google.com/gist/maxscheel/d8f8aef5f8d037829982673d58733537/tart_from_s3.ipynb
tart2ms --json json/vis_2022-10-29T05:15:00.475Z.json --telescope_name 'kat-7'