Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference file location #356

Open
stscicrawford opened this issue Sep 19, 2018 · 5 comments
Open

Reference file location #356

stscicrawford opened this issue Sep 19, 2018 · 5 comments

Comments

@stscicrawford
Copy link

In order to run the software, the environmental variables for the reference files need to be set. This should be added to the README for running internally and externally.

@jaytmiller
Copy link

The controlling environment variables are CRDS_PATH which defines the cache location and CRDS_SERVER_URL which defines which of 8 strings of servers to use.

The defaults are configure make JWST work in a passive serverless zero configuration way:

CRDS_PATH=/grp/crds/cache
CRDS_SERVER_URL=https://crds-serverless-mode
CRDS_OBSERVATORY=jwst

The default observatory only affects the behavior of secondary CRDS features. Offsite, CRDS for JWST should be configured like this:

CRDS_PATH=$HOME/crds_cache
CRDS_SERVER_URL=https://jwst-crds.stsci.edu

In the offsite configuration CRDS_OBSERVATORY is effectively inferred from the server URL. There is a directly analogous configuration for HST and the default cache works for both projects. However, CRDS cannot always guess observatory so setting CRDS_OBSERVATORY for hst can become necessary.

@stscicrawford
Copy link
Author

stscicrawford commented Sep 19, 2018

In addition to those, the following keywords need to also be set for the pipeline software to access the cache:

iref =/grp/hst/cdbs/iref/
jref= /grp/hst/cdbs/jref/

And the equivalent if pointing to a local cache or directory.

@pllim
Copy link
Contributor

pllim commented Sep 19, 2018

Hmm I thought this is all covered in Data Handbooks.

@mdlpstsci
Copy link
Contributor

All items JWST are not part of this repository.

There are actually more HST reference file items which need to be specified for HSTCAL:
crrefer=/grp/hst/cdbs/
iref=/grp/hst/cdbs/iref/
jref=/grp/hst/cdbs/jref/
jtab=/grp/hst/cdbs/jtab/
lref=/grp/hst/cdbs/lref/
mtab=/grp/hst/cdbs/mtab/
nref=/grp/hst/cdbs/nref/
ntab=/grp/hst/cdbs/ntab/
oref=/grp/hst/cdbs/oref/
otab=/grp/hst/cdbs/otab/
uref=/grp/hst/cdbs/uref/

As noted, this is fully documented in the handbooks.

@pllim
Copy link
Contributor

pllim commented Jan 11, 2022

"cdbs" is retired by RedCats. It is "crds" now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants