File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 69
69
" import requests\n " ,
70
70
" from scipy.stats import sigmaclip\n " ,
71
71
" \n " ,
72
+ " from crds import client\n " ,
72
73
" import grismconf\n " ,
73
74
" from jwst.assign_wcs import AssignWcsStep\n " ,
74
75
" from jwst.flatfield import FlatFieldStep\n " ,
198
199
"id" : " 41068262-9a54-46c5-a9d2-ca2217ad1fee" ,
199
200
"metadata" : {},
200
201
"source" : [
201
- " ## Download Data"
202
+ " ## Download Data and Ensure CRDS Configuration "
202
203
]
203
204
},
204
205
{
223
224
" get_jwst_file(wfss_file)"
224
225
]
225
226
},
227
+ {
228
+ "cell_type" : " markdown" ,
229
+ "id" : " faa27c94" ,
230
+ "metadata" : {},
231
+ "source" : [
232
+ " If CRDS is not configured, set the CRDS server URL and define a local cache path \n " ,
233
+ " to ensure the pipeline steps can access reference files as needed."
234
+ ]
235
+ },
236
+ {
237
+ "cell_type" : " code" ,
238
+ "execution_count" : null ,
239
+ "id" : " af7a4057" ,
240
+ "metadata" : {},
241
+ "outputs" : [],
242
+ "source" : [
243
+ " if os.environ.get(\" CRDS_PATH\" ) is None:\n " ,
244
+ " client.set_crds_server('https://jwst-crds.stsci.edu')\n " ,
245
+ " os.environ[\" CRDS_SERVER_URL\" ] = \" https://jwst-crds.stsci.edu\"\n " ,
246
+ " os.environ[\" CRDS_PATH\" ] = \"\" "
247
+ ]
248
+ },
226
249
{
227
250
"cell_type" : " markdown" ,
228
251
"id" : " ab5f3c78-258f-49c4-99c4-87e26f0972cf" ,
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ jwst >= 1.16.0
5
5
matplotlib >= 3.9.2
6
6
numpy == 1.26.4
7
7
requests >= 2.32.3
8
- scipy >= 1.14.1
8
+ scipy >= 1.14.1
9
+ crds >= 12.0.4
You can’t perform that action at this time.
0 commit comments