Skip to content

Commit

Permalink
Removing files to try and free up space for run
Browse files Browse the repository at this point in the history
  • Loading branch information
Rplesha committed Mar 22, 2024
1 parent a9e85fe commit 5ab178d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions notebooks/NIRISS_WFSS_advanced/01_niriss_wfss_image2_image3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,18 @@
" img3 = Image3Pipeline.call(img3_asn, save_results=True, output_dir=default_run_image3)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "eb5b3614-cfc3-42b7-b5ce-e243eb680ae7",
"metadata": {},
"outputs": [],
"source": [
"# remove unnecessary files to save disk space\n",
"for crf in glob.glob(os.path.join(default_run_image3, '*crf.fits')):\n",
" os.remove(crf)"
]
},
{
"cell_type": "markdown",
"id": "33f0dbeb-4caf-4d97-8b2c-3255f906e76b",
Expand Down Expand Up @@ -723,6 +735,18 @@
" output_dir=custom_run_image3)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "403345ea-1f26-4ead-b680-ab6a54f73421",
"metadata": {},
"outputs": [],
"source": [
"# remove unnecessary files to save disk space\n",
"for crf in glob.glob(os.path.join(custom_run_image3, '*crf.fits')):\n",
" os.remove(crf)"
]
},
{
"cell_type": "markdown",
"id": "17d4cdae-0cad-4385-b93b-6976ecf90898",
Expand Down Expand Up @@ -827,6 +851,18 @@
" output_dir=custom_run_image3)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "828566bf-fb5f-4ba5-8ef7-0de09a73f0fb",
"metadata": {},
"outputs": [],
"source": [
"# remove unnecessary files to save disk space\n",
"for crf in glob.glob(os.path.join(custom_run_image3, '*crf.fits')):\n",
" os.remove(crf)"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 5ab178d

Please sign in to comment.