Further access options are discussed below
For a list of all services and tables belonging to this service's resource, see Information on resource 'Raw Observation Data'
It is recommended to query the archive using another program via TAP, like TOPCAT or Python. Some examples on how to work with the database from Python is given in the example TAP Queries Notebook .
For some comprehensive guides on how to use ADQL look at the ADQL tutorial .
SELECT * FROM blaauw.raw WHERE date_obs_mjd between 58849 and 59215
The best way to compare dates is to use the date_obs_mjd (date of the observation in Modified Julian days). A convenient calculator is: https://mjdconverter.com/. Here 2020 (first of January 00h) refers to 58849, 2021 to 59215. Some common values are:
| 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 |
|---|---|---|---|---|---|---|---|
| 58119 | 58484 | 58849 | 59215 | 59580 | 59945 | 60310 | 60676 |
A more specific variant: all observations which have been made on a specific day (this case 18th April 2020). Using the calculator we find that the MJD is 58957, which will be 18th of April at 00:00, so it refers to the night 17-18 in April. We therefore need to add half a day (18th at noon) for the lower limit, and add 1.5 days for the upper limit (19th at noon).:
SELECT * FROM blaauw.raw WHERE date_obs_mjd between (58957 + 0.5) and (58957 + 1.5)
Note that this can be tricky as 'date_obs_mjd' is the exact moment of the observation, take this into account!
SELECT * FROM blaauw.raw WHERE filter = 'R' AND image_type = 'FLAT' AND telescope = 'GBT' ORDER BY date_obs
Note the use of AND to combine multiple conditions into one expression. The OR operator is also available.
Given some date (in MJD format) [ref_date], query the files which have been taken most recent (past or future) w.r.t. it.
SELECT filename, date_obs_mjd, ABS(date_obs_mjd - [ref_date]) AS difference FROM blaauw.raw ORDER BY difference
Key feature here is that you can compute your own column (based on simple mathematical expressions) and give them a name using the 'AS' keyword.
A more specific example: Retrieve the nearest 3x3 binned flat field images to the night of 17th of april 2020 (2020-04-18 00:00:00, MJD: 58957).
SELECT TOP 10 filename, date_obs_mjd, ABS(date_obs_mjd - 58957) AS difference FROM blaauw.raw WHERE image_type = 'FLAT' AND binning = 3 ORDER BY difference
Note that there are some issues, as it does not take into account the filter in which the flat field was taken. Ideally you would want to execute this query for each desired filter (e.g. add: WHERE ... AND filter = 'R'). In addition, if there are viable flats in the day before and after, the result can be mixed (as the difference is taken absolute). A possible solution is to compute the same column but without taking the absolute and use that column in some other program.
SELECT TOP 10 filename, date_obs, ABS(date_obs_mjd - 58957) AS abs_difference, date_obs_mjd - 58957 AS difference FROM blaauw.raw WHERE image_type = 'FLAT' AND binning = 3 ORDER BY abs_difference
How to use this query in another program (Python) is one of the examples in the TAP Queries Notebook .
You can access this service using:
This service is not published. This can mean that it was deemed too unimportant, for internal use only, or is just a helper for a published service. Equally likely, however, it is under development, abandoned in development or otherwise unfinished. Exercise caution.
The following fields are available to provide input to the service (with some renderers, some of these fields may be unavailable):
| Name | Table Head | Description | Unit | UCD |
|---|---|---|---|---|
| DEC | Delta (ICRS) | Declination (ICRS decimal) | deg | pos.eq.dec |
| hscs_pos | Position/Name | Coordinates (as h m s, d m s or decimal degrees), or SIMBAD-resolvable object | N/A | N/A |
| hscs_sr | Search radius | Search radius in arcminutes | N/A | N/A |
| MAXREC | Match limit | Maximum number of records returned. Pass 0 to retrieve service parameters. | N/A | N/A |
| RA | Alpha (ICRS) | Right Ascension (ICRS decimal) | deg | pos.eq.ra |
| RESPONSEFORMAT | Output Format | File format requested for output. | N/A | meta.code.mime |
| SR | Search Radius | Search radius | deg | N/A |
| VERB | Verbosity | Exhaustiveness of column selection. VERB=1 only returns the most important columns, VERB=2 selects the columns deemed useful to the average user, VERB=3 returns a table with all available columns. | N/A | N/A |
The following fields are contained in the output by default. More fields may be available for selection; these would be given below in the VOTable output fields.
| Name | Table Head | Description | Unit | UCD |
|---|---|---|---|---|
| _r | Dist. | Distance to cone center | deg | pos.distance |
| airmass | Airmass | Airmass of the observation | N/A | obs.airmass |
| alt | Alt | Alt-azimutal altitude | deg | pos.eq.alt |
| az | Az | Alt-azimutal azimut | deg | pos.az.azi |
| binning | Binning | The binning of the CCD (typically 1). | N/A | N/A |
| created_at | Created_at | Datetime on which the entry was first inserted into the database. | N/A | time.creation |
| date_obs | Date_obs | Observation date and time in UTC. | N/A | time.epoch;obs |
| date_obs_mjd | Date_obs_mjd | Observation date and time as Modified Julian Date (MJD). Derived from the 'DATE_OBS' keyword. | d | time.epoch;obs |
| dec | Dec | Declination coordinate of where the telescope is pointed. | deg | pos.eq.dec;meta.main |
| exposure_time | Exposure_time | Exposure time of the observation (in seconds). | s | time.duration;obs.exposure |
| file_id | File_id | Combination of the folder date and file name to compare raw and processed files. | N/A | meta.id;meta.file;meta.main |
| filename | Filename | Absolute path to the corresponding FITS file. Will point to the most detailed version of the file (i.e. to the WCS version if it is available, raw version otherwise) | N/A | meta.id;meta.file |
| filter | Filter | The name of the filter used in the Observation. | N/A | meta.code;instr.filter |
| has_wcs | Has_wcs | Boolean which indicates if the file has a valid WCS. | N/A | N/A |
| id | Id | Database identifier of the file. | N/A | meta.id;meta.main |
| image_type | Image_type | The type of image, e.g. 'LIGHT', 'DARK', 'BIAS' or 'FLAT'. | N/A | meta.code;obs |
| instrument | Instrument | Instrument / Detection which produced the observation. | N/A | instr.instr |
| ra | Ra | Right Ascention coordinate of where the telescope is pointed. | deg | pos.eq.ra;meta.main |
| raw_filename | Raw_filename | Absolute path to the corresponding FITS file on the Vega data server. | N/A | meta.id;meta.file |
| target_object | Target_object | Name of the (intended) object being observed. | N/A | N/A |
| telescope | Telescope | The telescope which produced the observation, either: GBT (Gratema Bernoulli Telescope) or LDST (Lauwersmeer Dark Sky Telescope). | N/A | instr.tel |
| updated_at | Updated_at | Datetime on which the entry last updated. | N/A | time.creation |
| wcs_filename | Wcs_filename | Absolute path to the corresponding FITS file with WCS information. | N/A | meta.id;meta.file |
The following fields are available in VOTable output. The verbosity level is a number intended to represent the relative importance of the field on a scale of 1 to 30. The services take a VERB argument. A field is included in the output if their verbosity level is less or equal VERB*10.
| Name | Table Head | Description | Unit | UCD | Verb. Level |
|---|---|---|---|---|---|
| _r | Dist. | Distance to cone center | deg | pos.distance | 10 |
| file_id | File_id | Combination of the folder date and file name to compare raw and processed files. | N/A | meta.id;meta.file;meta.main | 20 |
| ra | Ra | Right Ascention coordinate of where the telescope is pointed. | deg | pos.eq.ra;meta.main | 20 |
| dec | Dec | Declination coordinate of where the telescope is pointed. | deg | pos.eq.dec;meta.main | 20 |
| alt | Alt | Alt-azimutal altitude | deg | pos.eq.alt | 20 |
| az | Az | Alt-azimutal azimut | deg | pos.az.azi | 20 |
| date_obs_mjd | Date_obs_mjd | Observation date and time as Modified Julian Date (MJD). Derived from the 'DATE_OBS' keyword. | d | time.epoch;obs | 20 |
| date_obs | Date_obs | Observation date and time in UTC. | N/A | time.epoch;obs | 20 |
| filename | Filename | Absolute path to the corresponding FITS file. Will point to the most detailed version of the file (i.e. to the WCS version if it is available, raw version otherwise) | N/A | meta.id;meta.file | 20 |
| raw_filename | Raw_filename | Absolute path to the corresponding FITS file on the Vega data server. | N/A | meta.id;meta.file | 20 |
| wcs_filename | Wcs_filename | Absolute path to the corresponding FITS file with WCS information. | N/A | meta.id;meta.file | 20 |
| telescope | Telescope | The telescope which produced the observation, either: GBT (Gratema Bernoulli Telescope) or LDST (Lauwersmeer Dark Sky Telescope). | N/A | instr.tel | 20 |
| instrument | Instrument | Instrument / Detection which produced the observation. | N/A | instr.instr | 20 |
| image_type | Image_type | The type of image, e.g. 'LIGHT', 'DARK', 'BIAS' or 'FLAT'. | N/A | meta.code;obs | 20 |
| filter | Filter | The name of the filter used in the Observation. | N/A | meta.code;instr.filter | 20 |
| target_object | Target_object | Name of the (intended) object being observed. | N/A | N/A | 20 |
| exposure_time | Exposure_time | Exposure time of the observation (in seconds). | s | time.duration;obs.exposure | 20 |
| binning | Binning | The binning of the CCD (typically 1). | N/A | N/A | 20 |
| airmass | Airmass | Airmass of the observation | N/A | obs.airmass | 20 |
| has_wcs | Has_wcs | Boolean which indicates if the file has a valid WCS. | N/A | N/A | 20 |
| created_at | Created_at | Datetime on which the entry was first inserted into the database. | N/A | time.creation | 20 |
| updated_at | Updated_at | Datetime on which the entry last updated. | N/A | time.creation | 20 |
| id | Id | Database identifier of the file. | N/A | meta.id;meta.main | 20 |
VOResource XML (that's something exclusively for VO nerds)