Using CRDS command line tools requires installation of the following:

  1. Install Continuum's Miniconda (or Anaconda)
$ wget
$ sh

assuming you used the default installation directory, on Linux, update your .bash.exports to include

export PATH="$HOME/miniconda3/bin:$PATH"
  1. Install and activate SSB's crds-file-submission environment for JWST
$ conda create -n crds-file-submission -c stsci jwst
$ source activate crds-file-submission # conda has sh support only,  csh is not supported

Conda has the concept of "channels", i.e. web sources for packages that build on conda. The channel is updated nightly.

Conda has the concept of "environments", shown here as "crds-file-submission". You can choose a different name and/or install into another environment. Using environments helps to control change and reduce conflicts with other systems of packages.

  1. Install additional CRDS dependencies used for file certification

crds.certify can use the cfitsio package to run fitsverify as part of certifying FITS files provided that you install cfitsio and use the --run-fitsverify switch when certifying FITS reference files.

$ conda install -n crds-file-submission  cfitsio fitsverify parsley
  1. (optional) Install development JWST calibration code (only when specifically needed, not conda friendly)
$ conda remove -n crds-file-submission  jwst
$ git clone JWST
$ cd JWST
$ python install
  1. (optional) Install development CRDS (only when specifically needed, not conda friendly)
$ conda remove -n crds-file-submission  crds
$ git clone  CRDS
$ cd CRDS
$ ./install
  1. Try CRDS
$ crds list --status
CRDS Version = '7.2.6, 7.2.6, 44aa309'
CRDS_MODE = 'auto'
CRDS_PATH = '/Users/jmiller/crds_cache_ops'
Cache Locking = 'enabled, multiprocessing'
Effective Context = 'jwst_0489.pmap'
Last Synced = '2018-10-03 12:12:59.769277'
Python Executable = '/Users/jmiller/anaconda3/envs/dev/bin/python'
Python Version = ''
Readonly Cache = False
  1. See Also Conda-Dev and You
Last modified 9 months ago Last modified on 10/03/18 12:13:22