Servers

The data archive is available from

The examples below use ratir.astroscu.unam.mx, but you could equally use one of the other servers.


Access

The data archive is accessed using the rsync program, which is installed by default on Mac OS X and Ubuntu. If it isn’t installed on your computer, consult your computer support staff.


Contents

The data archive contains the following files:

The image header files are the FITS headers with newlines inserted every 80 characters.

The image FITS and header files are named for the UTC time of the start of the exposure (as an IS0-8601 basic combined date and time), followed by the detector identifier (“C0”, “C1”, “C2”, “C3”, or “C4”), followed by a letter indicating the image type (“o” for object images, “b” for biases, “d” for darks, and “f” for flats).

The image FITS files are compressed losslessly using bzip2 and can be uncompressed using the bunzip2 program, which is installed by default on Mac OS X and Ubuntu. If it isn’t installed on your computer, consult your computer support staff.


Log Files

The log files list all science and calibration images take by the instrument in chronological order.

The log files are available as a plain text file with fixed-width column (for humans) and a CSV file (for spreadsheets and other programs).

To obtain the log files, use:

rsync rsync://ratir.astroscu.unam.mx/public/log.txt .

or

rsync rsync://ratir.astroscu.unam.mx/public/log.csv .

In both files, the columns are:

  1. The UTC date and time of the start of the exposure.
  2. The proposal identifier.
  3. The visit identifier.
  4. The name of the image FITS file.
  5. The camera (C0, C1, C2, or C3).
  6. The image type (object, bias, dark, flat).
  7. The exposure time, in seconds.
  8. The filter name.
  9. The J2000 RA at the start of the exposure, in degrees.
  10. The J2000 declination at the start of the exposure, in degrees.
  11. The hour angle at the start of the exposure, in degrees.
  12. The airmass at the start of the exposure.
  13. Whether the data is public (“true”) or not (“false”).

In both files, the rows are ordered by the date and time of the start of the exposure.

The log files contain only limited information on the images; for more detailed information, you can download the public image header files.


Proposal Identifier Files

The proposal identifier files list all science and calibration proposal identifiers.

The proposal identifier files as a plain text file with fixed-width column (for humans) and a CSV file (for spreadsheets and other programs).

To obtain the proposal identifier files, use:

rsync rsync://ratir.astroscu.unam.mx/public/proposalidentifiers.txt .

or

rsync rsync://ratir.astroscu.unam.mx/public/proposalidentifiers.csv .

In both files, the columns are:

  1. The proposal identifier.
  2. Whether the data have a proprietary period (“true”) or not (“false”).
  3. The name of the PI.
  4. The title of the proposal.


Public Image Files

Public image files are:

Anyone can obtain public files using:

rsync -av rsync://ratir.astroscu.unam.mx/public/<proposalid> .

The files organized into directories as:

<proposalid>/<visitid>/<file>

in which <proposalid> is a proposal identifier and <visitid> is a visit identifier.


Proprietary Image Files

Proprietary image files are:

Science proposal PIs can access all files obtained for their proposals (both proprietary files and public files) using:

rsync -av rsync://<proposalid>@ratir.astroscu.unam.mx/<proposalid> .

Here, <proposalid> is a proposal identifier. rsync will prompt for a password. This password will be distributed to the PI by Carlos Román (croman@astro.unam.mx). The PIs can then distribute the password as they wish.

The files organized into directories as:

<proposalid>/<visitid>/<file>

in which <proposalid> is a proposal identifier and <visitid> is a visit identifier.


Examples

To obtain all image files for proposal 2017A-1003:

rsync -av rsync://2017A-1003@ratir.astroscu.unam.mx/2017A-1003 .

To obtain all image files for 2017 March 12 UTC for proposal 2017A-1003:

rsync -av rsync://2017A-1003@ratir.astroscu.unam.mx/2017A-1003/2017A-1003/2017A-1003/*/20170312* .

To obtain all image files for 2017 March 12 UTC and visit whose visit identifier (specified in Phase 2) is “4” for proposal 2017A-1003:

rsync -av rsync://2017A-1003@ratir.astroscu.unam.mx/2017A-1003/2017A-1003/4/20170312* .

One useful tip for using rsync is that if you do not give it a destination location, then it will list the files at the specified source locations rather than copying them. This allows you to quickly see what given rsync options do. For example, if the final “.” is omitted from the previous commands, they will list the files in the archive rather than download them.