Skip to content

Commit

Permalink
Set crds env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
haticekaratay committed Oct 6, 2023
1 parent 69b6615 commit 152d08f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
"outputs": [],
"source": [
"# Import Library\n",
"# --------------------------------------Set CRDS environment variables----------------------------------------------\n",
"import os\n",
"os.environ['CRDS_CONTEXT'] = 'jwst_1089.pmap'\n",
"os.environ['CRDS_PATH'] = os.environ['HOME']+'/crds_cache'\n",
"os.environ['CRDS_SERVER_URL'] = 'https://jwst-crds.stsci.edu'\n",
"print(f'CRDS cache location: {os.environ[\"CRDS_PATH\"]}')\n",
"\n",
"# --------------------------------------JWST Calibration Pipeline Imports-------------------------------------------\n",
"\n",
Expand Down

0 comments on commit 152d08f

Please sign in to comment.