CIRA-Pulsars-and-Transients-Group / vcstools

A suite of tools for processing MWA-VCS data
Other
8 stars 8 forks source link

Minor fix to observation data files query #229

Closed bwmeyers closed 2 years ago

bwmeyers commented 2 years ago

Addresses #228. The function now executes a query that requests the first 10 data files (rather than specifying a time range or retrieving all file information).

I've confirmed this solves the issue Ting Yu was having where some observations without data files were returning errors rather than the metadata. There is still a warning that there are no data files when that is the case, but it no longer causes an error and/or empty return JSON payloads.

bwmeyers commented 2 years ago

Ooops, this should be being merged into development. One moment.

bwmeyers commented 2 years ago

I've also merged the changes from the general_fixes branch (see PR #225) so there should be no conflicts once that is merged (which I recommend doing first, after any alterations are made).