Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions docs/notebooks/apply_oe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
"from isofit.data import env\n",
"\n",
"output = env.path(\"examples\", \"image_cube\", \"small\")\n",
"logfile = env.path(\"examples\", \"image_cube\", \"small\") / \"log.txt\"\n",
"\n",
"# Cleanup any previous runs; comment this out if you want to preserve a previous run's output\n",
"if (o := output / \"output\").exists():\n",
Expand Down Expand Up @@ -409,9 +410,9 @@
" shutil.rmtree(o)\n",
"\n",
"apply_oe(\n",
" input_radiance = str(env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_rdn_7000-7010\")),\n",
" input_loc = str(env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_loc_7000-7010\")),\n",
" input_obs = str(env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_obs_7000-7010\")),\n",
" input_radiance = str(env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_rdn_7k-8k\")),\n",
" input_loc = str(env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_loc_7k-8k\")),\n",
" input_obs = str(env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_obs_7k-8k\")),\n",
" working_directory = str(output),\n",
" sensor = \"ang\",\n",
" surface_path = str(env.path(\"examples\", \"image_cube\", \"medium\", \"configs\", \"surface.json\")),\n",
Expand Down Expand Up @@ -481,9 +482,9 @@
"outputs": [],
"source": [
"# Plotting the input data\n",
"rdn_path = env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_rdn_7000-7010\")\n",
"loc_path = env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_loc_7000-7010\")\n",
"obs_path = env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_obs_7000-7010\")\n",
"rdn_path = env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_rdn_7k-8k\")\n",
"loc_path = env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_loc_7k-8k\")\n",
"obs_path = env.path(\"examples\", \"image_cube\", \"medium\", \"data\", \"ang20170323t202244_obs_7k-8k\")\n",
"\n",
"subs_rdn_path = env.path(\"examples\", \"image_cube\", \"medium\", \"input\", \"ang20170323t202244_subs_recon_rdn\")\n",
"subs_loc_path = env.path(\"examples\", \"image_cube\", \"medium\", \"input\", \"ang20170323t202244_subs_recon_loc\")\n",
Expand Down Expand Up @@ -626,7 +627,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.8"
"version": "3.12.12"
}
},
"nbformat": 4,
Expand Down
Loading