cadc-copy Application

Installation

$ pip install cadc-copy

Usage

The CADC python tools are described with the source code in a README.md file in the project github repository.

For the archive data provider whose observational files are stored in the local directory '/local/archive_data/obs_111.fits' the command to load the data into the archive can be as simple as:

$ cadc-copy put ARCHIVE /local/archive_data/obs_111.fits

The file obs_111.fits will then be copied up to the CADC archive system and should then accessible at https://ws.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/data/pub/ARCHIVE/obs_111.fits, where the word ARCHIVE is replaced with the name of your archive.

Recall that

All observations stored in an archive must have a unique file name.

Successful interaction / upload will require authorization for the users account to write to the archive and for the user to have a CADC X509 proxy certificate or a .netrc file, see the README.md file for details.

Date modified: