+2
-1
footprint_calc.ipynb
+2
-1
footprint_calc.ipynb
···
259
},
260
{
261
"cell_type": "code",
262
-
"execution_count": 9,
263
"id": "692133f5",
264
"metadata": {},
265
"outputs": [
···
312
" astap_run.check_returncode()\n",
313
" except subprocess.CalledProcessError as e:\n",
314
" print(f\"Error processing {file}: {e}\")\n",
315
" continue\n",
316
" # Calculate WCS of the image\n",
317
" with open(file.replace(\".fits\", \".wcs\"), 'r') as wcs_file:\n",
···
259
},
260
{
261
"cell_type": "code",
262
+
"execution_count": null,
263
"id": "692133f5",
264
"metadata": {},
265
"outputs": [
···
312
" astap_run.check_returncode()\n",
313
" except subprocess.CalledProcessError as e:\n",
314
" print(f\"Error processing {file}: {e}\")\n",
315
+
" os.remove(file.replace('.fits', '.ini'))\n",
316
" continue\n",
317
" # Calculate WCS of the image\n",
318
" with open(file.replace(\".fits\", \".wcs\"), 'r') as wcs_file:\n",