Skip to content

Commit

Permalink
Change referenced imap files
Browse files Browse the repository at this point in the history
  • Loading branch information
haticekaratay committed Oct 10, 2024
1 parent 60706a2 commit 67f146f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions notebooks/COS/SplitTag/SplitTag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
"## 3.1 Getting the `lref` reference files\n",
"To run `CalCOS`, your computer will need an `lref` system variable to tell the pipeline where to find your reference files. If you are on the STScI internet network (including via VPN), you may set this to the shared Institute `lref` directory. However, if you're not on the network, you will need to use the `CRDS` command to download the necessary reference files. This process is described in detail in Chapter 3 of our [notebook on setting up an environment for working with COS data](https://github.com/spacetelescope/hst_notebooks/blob/main/notebooks/COS/Setup/Setup.ipynb#crdsS). \n",
"\n",
"The code in this cell ensures that the \"lref\" path is correctly set in the environment variables and the crds files will be downloaded."
"The code in this cell ensures that the \"lref\" path is correctly set in the environment variables and the crds files will be downloaded. "
]
},
{
Expand All @@ -539,7 +539,8 @@
"os.environ[\"CRDS_SERVER_URL\"] = \"https://hst-crds.stsci.edu\"\n",
"os.environ[\"CRDS_PATH\"] = './crds_cache'\n",
"os.environ['lref'] = \"./crds_cache/references/hst/cos\"\n",
"!crds sync --contexts hst_cos_0347.imap --fetch-references\n",
"\n",
"!crds sync --contexts hst_cos_0358.imap --fetch-references \n",
"clear_output()"
]
},
Expand Down

0 comments on commit 67f146f

Please sign in to comment.