Skip to content

Commit

Permalink
Add crds env variables to 02732 notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
haticekaratay committed Oct 9, 2023
1 parent 152d08f commit 4652348
Show file tree
Hide file tree
Showing 2 changed files with 405 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@
"outputs": [],
"source": [
"# Import Library\n",
"# --------------------------------------Set CRDS environment variables----------------------------------------------\n",
"\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
Loading

0 comments on commit 4652348

Please sign in to comment.