Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tom_cfht

Canada-France-Hawaii Telescope facility module for TOM Toolkit.

Pre-requisites

Installation

Install the module into your TOM environment:

pip install tom-cfht
  1. In your project settings.py, add tom_cfht to your INSTALLED_APPS setting:

    INSTALLED_APPS = [
        ...
        'tom_cfht',
    ]
  2. Add tom_cfht.cfht.CFHTFacility to the TOM_FACILITY_CLASSES in your TOM's settings.py:

     TOM_FACILITY_CLASSES = [
         'tom_observations.facilities.lco.LCOFacility',
         ...
         'tom_cfht.cfht.CFHTFacility',
     ]

Configuration

Include the following settings inside the FACILITIES dictionary inside settings.py:

    FACILITIES = {
        ...
        'CFHT': {
            'CFHT_ACCESS_TOKEN': os.getenv('CFHT_ACCESS_TOKEN', 'please set CFHT_ACCESS_TOKEN'),
        },
    }

About

Canada-France-Hawaii Telescope facility module for TOM Toolkit

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages