Skip to content

Commit

Permalink
add printed output dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Oct 18, 2024
1 parent 2148791 commit 0ef5eb2
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions notebooks/mth5/07a_make_mth5_from_phoenix_from_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,25 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"id": "6348263b-79f2-4bae-9981-cf4268d7a48b",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Source directory: /home/kkappler/shared/shortcourses/mt/phoenix\n",
"Target directory: /home/kkappler/software/irismt/earthscope-mt-course/data/timeseries/phoenix\n"
]
}
],
"source": [
"source_dir = Path.home().joinpath(\"shared\", \"shortcourses\", \"mt\", \"phoenix\")\n",
"target_dir = Path(\".\").parent.parent.joinpath(\"data\", \"timeseries\", \"phoenix\")"
"target_dir = Path().cwd().parent.parent.joinpath(\"data\", \"timeseries\", \"phoenix\")\n",
"target_dir.mkdir(parents=True, exist_ok=True)\n",
"print(f\"Source directory: {source_dir}\")\n",
"print(f\"Target directory: {target_dir.absolute()}\")\n"
]
},
{
Expand Down

0 comments on commit 0ef5eb2

Please sign in to comment.