Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgjs committed Oct 9, 2023
1 parent acb5472 commit 6bbf0fd
Showing 1 changed file with 17 additions and 65 deletions.
82 changes: 17 additions & 65 deletions tutorials/plot_stacks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,92 +12,33 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {
"id": "vceZgD83PnNc"
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2023-10-06 12:25:14,349 8336924160 INFO numpystore.__init__(): store creating at s3://scoped-noise/scedc_CI_stack_v2/, mode=a, storage_options={'s3': {'anon': False}}\n",
"2023-10-06 12:25:14,350 8336924160 INFO numpystore.__init__(): Numpy store created at s3://scoped-noise/scedc_CI_stack_v2/\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"The autoreload extension is already loaded. To reload it, use:\n",
" %reload_ext autoreload\n",
"Using NoisePy version 0.9.77.dev12\n"
]
}
],
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2\n",
"from noisepy.seis import __version__ # noisepy core functions\n",
"from noisepy.seis.plotting_modules import plot_all_moveout\n",
"from noisepy.seis.numpystore import NumpyStackStore\n",
"from noisepy.seis.datatypes import Stack, Station\n",
"print(f\"Using NoisePy version {__version__}\")\n",
"\n",
"\n",
"stack_data_path = \"s3://scoped-noise/scedc_CI_stack_v2/\"\n",
"# stack_data_path = \"s3://carlosgjs-noisepy/test_new/STACK/\"\n",
"S3_STORAGE_OPTIONS = {\"s3\": {\"anon\": False}}\n",
"stack_store = NumpyStackStore(stack_data_path, storage_options=S3_STORAGE_OPTIONS)"
]
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"metadata": {
"id": "QKSeQpk7WKlW"
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2023-10-06 12:25:17,998 8336924160 INFO plotting_modules.plot_all_moveout(): Plotting 2009 sampled pairs\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Allstack_linear Allstack_linear\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "d29f869fe4214dd7bac5f00f0eb2dcc5",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
" 0%| | 0/2009 [00:00<?, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"2023-10-06 12:25:20,916 12042219520 WARNING plotting_modules.load(): No data available for CI.MTG_CI.RRC/Allstack_linear/ZZ\n",
"2023-10-06 12:25:54,116 12042219520 WARNING plotting_modules.load(): No data available for CI.ERR_CI.RRC/Allstack_linear/ZZ\n",
"2023-10-06 12:26:32,173 12042219520 WARNING plotting_modules.load(): No data available for CI.GSC_CI.RRC/Allstack_linear/ZZ\n",
"2023-10-06 12:26:57,393 12042219520 WARNING plotting_modules.load(): No data available for CI.RRC_CI.WLS2/Allstack_linear/ZZ\n",
"2023-10-06 12:27:20,680 12042219520 WARNING plotting_modules.load(): No data available for CI.DTP_CI.RRC/Allstack_linear/ZZ\n",
"2023-10-06 12:28:12,544 12042219520 WARNING plotting_modules.load(): No data available for CI.RRC_CI.STG/Allstack_linear/ZZ\n"
]
}
],
"outputs": [],
"source": [
"plot_all_moveout(stack_store, 'Allstack_linear', 0.1, 0.2, 'ZZ', 1, sample_pairs=0.05)"
]
Expand All @@ -107,7 +48,18 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
"source": [
"plot_all_moveout(stack_store, 'Allstack_linear', 0.1, 0.2, 'ZZ', 1, sample_pairs=0.25)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plot_all_moveout(stack_store, 'Allstack_linear', 0.1, 0.2, 'ZZ', 1, sample_pairs=1.0)"
]
}
],
"metadata": {
Expand Down

0 comments on commit 6bbf0fd

Please sign in to comment.