Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This service returns details about a single observation. The observation can be specified by passing either an observation ID (starttime in GPS seconds) with the obs_id or obsid parameter, or by passing the full name of a data file recorded by that observation using the filename parameter.

If you pass 1 to the pretty parameter, than The parameters are:

  • obs_id: An observation ID (GPS start time in seconds)
  • filename: One data file name associated with anobservation, instead of an obs_id
  • mintime: Minimum data file timestamp, as an integer GPS second value. Only works for VCS observations.
  • maxtime: Maximum data file timestamp, as an integer GPS second value. Only works for VCS observations.
  • pretty1 to have the JSON results are indented to make them more human readable (the default when a GUI web browser is used to make the query). If 0 is passed (the default), then the results are not indented.

Note that mintime is inclusive (>=), while maxtime is not inclusive (<), like Python ranges.

Example output is:

Expand
{
    "1096952256_20141010045822_gpubox20_01.fits": {
        "site_path": "http://mwangas/RETRIEVE?file_id=1096952256_20141010045822_gpubox20_01.fits", 
        "remote_archived": true, 
        "host": "gpubox20", 
        "deleted": false, 
        "filetype": 8, 
        "size": 1015030080
    }, 
    "1096952256_20141010050122_gpubox07_04.fits": {
        "site_path": "http://mwangas/RETRIEVE?file_id=1096952256_20141010050122_gpubox07_04.fits", 
        "remote_archived": true, 
        "host": "gpubox07", 
        "deleted": false, 
        "filetype": 8, 
        "size": 896610240
    }, 
    "1096952256_20141010050022_gpubox11_03.fits": {
        "site_path": "http://mwangas/RETRIEVE?file_id=1096952256_20141010050022_gpubox11_03.fits", 
        "remote_archived": true, 
        "host": "gpubox11", 
        "deleted": false, 
        "filetype": 8, 
        "size": 1015030080
    }, 

...

    "1096952256_20141010045922_gpubox04_02.fits": {
        "site_path": "http://mwangas/RETRIEVE?file_id=1096952256_20141010045922_gpubox04_02.fits", 
        "remote_archived": true, 
        "host": "gpubox04", 
        "deleted": false, 
        "filetype": 8, 
        "size": 1015030080
    }
}

...