Skip to content

Commit

Permalink
Added jwst-crds-dit.csh environment config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytmiller committed Jun 21, 2016
1 parent c14f87d commit de2a848
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions envs/jwst-crds-dit.csh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This file defines required environment variables for the CRDS client

# If you don't care too much about CRDS file organization, use CRDS_PATH
# to define the root of a single tree of CRDS mapping and reference cache files.

# --------------------------------------------------------------------------------------------------------------------
# setenv CRDS_PATH /Users/jmiller/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/crds
# unsetenv CRDS_PATH

# Where reference files are stored, not necessary except for special cases:
# setenv CRDS_REFPATH ${CRDS_PATH}/references

# Where mapping files are stored, not necessary except for special cases:
# setenv CRDS_MAPPATH ${CRDS_PATH}/mappings

# Where CRDS server status is stored, not necessary except for special cases: (should be writeable unless serverless)
# setenv CRDS_CFGPATH ${CRD_PATH}/config

# --------------------------------------------------------------------------------------------------------------------
# The URL used to locate the CRDS server which distributes files, status, and computes best references
# setenv CRDS_SERVER_URL http://hst-crds.stsci.edu
# setenv CRDS_SERVER_URL http://jwst-crds.stsci.edu
# setenv CRDS_SERVER_URL http://crds-non-networked.foo.bar
setenv CRDS_SERVER_URL https://jwst-crds-dit.stsci.edu # development
setenv CRDS_PATH ${HOME}/crds_cache_dit
setenv CRDS_READONLY_CACHE 0

# --------------------------------------------------------------------------------------------------------------------
# To override server recommendations for the operational pipeline context (.pmap)
# This override is likewise superceded by the getreferences() function parameter
# which can be used to implement command line overrides in pipeline software.
# setenv CRDS_CONTEXT jwst.pmap

# --------------------------------------------------------------------------------------------------------------------
# To force where CRDS computes best references, using local client code, or server code,
# set CRDS_MODE to "local", "remote", or "auto"
#
# local -- CRDS will compute best references using the local installation
# remote -- CRDS will ask the server to compute best references
# auto -- CRDS will only compute best references on the server if the client is deemed obsolete
# by comparing client and server software versions.
#
# setenv CRDS_MODE auto

0 comments on commit de2a848

Please sign in to comment.