Giter Club home page Giter Club logo

cfht2caom2's Introduction

cfht2caom2

An application to generate CAOM2 Observations from CFHT FITS files for the instruments MegaPrime, WIRCam, SPIRou, SITELLE, and ESPaDOnS.

How to Run CFHT

In an empty directory (the 'working directory'), on a machine with Docker installed:

  1. In the master branch of this repository, find the scripts directory, and copy the file cfht_run.sh to the working directory. e.g.:
wget https://raw.github.com/opencadc/cfht2caom2/master/scripts/cfht_run.sh
  1. Ensure the script is executable:
chmod +x cfht_run.sh
  1. To run the application:
./cfht_run.sh
  1. The config.yml file is configuration information for the ingestion. This file will be created in the executing directory the first time the script cfht_run.sh is run. It will work with the files names and described here. For a complete description of its content, see https://github.com/opencadc/collection2caom2/wiki/config.yml.

  2. The ways to tell this tool the work to be done:

    1. provide a file containing the list of file names to process, one per line, and the config.yml file containing the entries use_local_files set to False. The 'todo' file is provided as a file named todo.txt in the working directory, as specified in config.yml.
    2. provide the files to be processed in a list of data_sources directories (may be a list of length 1), and the config.yml file containing the entries use_local_files set to True

    If the store task type is present, the files will be transferred to CADC, and stored in the CFHT archive. If use_local_files is set to True, and store_newer_files_only is also set to True, only newer files will be transferred to CADC.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.