tart-telescope / tart2ms

Convert TART data to measurement set format
GNU General Public License v3.0
1 stars 1 forks source link

--hdf-archive option #44

Open tmolteno opened 1 year ago

tmolteno commented 1 year ago
parser.add_argument('--archive-search', required=False, default=None, nargs="*",
                    help="Query hdf5 files from the TART online archive. (-10:1:0 last ten minutes interval 1 min) -100:10:0 last 100 minutes every 10 minutes. START:INTERVAL_MIN:END arbitrary timestamps")

Syntax

The name of the telescope in the bucket (signal/rhodes/stellenbosch) is the first part of the query.

    <Name>:START:INTERVAL:END
bennahugo commented 1 year ago

I think it is actually better to specify UTC start and end times if possible and/or LST spans. This makes it easier to query based on desired source observation plans.

tmolteno commented 1 year ago

The major use will be to get something like the last hour of data, and this will make the scripting much more intuitive.

signal:-120:1:-1 

We intend to have and be specified initially as unix timestamps if they are positive. Adding ISOFORMAT dates with UTC specified can be addressed with a separate PR once this is done.