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