casangi / xradio

Xarray Radio Astronomy Data IO
https://xradio.readthedocs.io/en/latest/
Other
9 stars 5 forks source link

read_processing_set fails using default options #217

Open sstansill opened 1 month ago

sstansill commented 1 month ago

I converted a measurement set using the default arguments for convert_msv2_to_processing_set the tried reading it back using read_processing_set and got the following error

Screenshot 2024-08-05 at 14 45 50

The issue In read_processing_set, the variable field_and_source_xds_dict is empty. This happens for both a lofar and VLA dataset that I use for testing. For the VLA dataset, the following warnings were raised by graphviper

WARNING  graphviper:  SOURCE table empty for (unique) source_id [ 0  2 20 21 22 23] and spectral_window_id 3. 
WARNING  graphviper:  SOURCE table empty for (unique) source_id [ 0  2 20 21 22 23] and spectral_window_id 2. 
WARNING  graphviper:  SOURCE table empty for (unique) source_id [ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48] and spectral_window_id 0. 
WARNING  graphviper:  SOURCE table empty for (unique) source_id [ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48] and spectral_window_id 1. 

For the lofar dataset there was one warning

WARNING  graphviper:  Source_id is -1. No source information will be included in the field_and_source_xds. 
Jan-Willem commented 1 month ago

@sstansill can you please provide a download link to the datasets?