Skip to content

Commit

Permalink
assets test
Browse files Browse the repository at this point in the history
  • Loading branch information
dccowan committed Jan 12, 2024
1 parent eb5b9ca commit a6eb24a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 28 deletions.
Binary file not shown.
Binary file removed assets/05-dcr/fwd_dcr_1d.tar.gz
Binary file not shown.
Binary file removed assets/05-dcr/fwd_dcr_2d.tar.gz
Binary file not shown.
Binary file removed assets/05-dcr/fwd_dcr_3d.tar.gz
Binary file not shown.
34 changes: 17 additions & 17 deletions notebooks/03-gravity/fwd_gravity_anomaly_3d.ipynb

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions notebooks/03-gravity/inv_gravity_anomaly_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,20 +122,19 @@
"metadata": {},
"outputs": [],
"source": [
"# # URL to download from repository assets\n",
"# data_source = \"https://github.com/simpeg/user-tutorials/raw/main/assets/03-gravity/fwd_gravity_anomaly_3d.tar.gz\"\n",
"# URL to download from repository assets\n",
"data_source = \"https://github.com/simpeg/user-tutorials/raw/main/assets/03-gravity/inv_gravity_anomaly_3d_files.tar.gz\"\n",
"\n",
"# # download the data\n",
"# downloaded_data = download(data_source, overwrite=True)\n",
"# download the data\n",
"downloaded_data = download(data_source, overwrite=True)\n",
"\n",
"# # unzip the tarfile\n",
"# tar = tarfile.open(downloaded_data, \"r\")\n",
"# tar.extractall()\n",
"# tar.close()\n",
"# unzip the tarfile\n",
"tar = tarfile.open(downloaded_data, \"r\")\n",
"tar.extractall()\n",
"tar.close()\n",
"\n",
"# # path to the directory containing our data\n",
"# dir_path = downloaded_data.split(\".\")[0] + os.path.sep\n",
"dir_path = './fwd_gravity_anomaly_3d_outputs/'\n",
"# path to the directory containing our data\n",
"dir_path = downloaded_data.split(\".\")[0] + os.path.sep\n",
"\n",
"# files to work with\n",
"topo_filename = dir_path + \"gravity_topo.txt\"\n",
Expand Down

0 comments on commit a6eb24a

Please sign in to comment.