Skip to content

Commit

Permalink
Merge pull request #173 from kujaku11/aurora_issue_310
Browse files Browse the repository at this point in the history
- Fixed `get_` methods
- Fixed issue #155
- Updated notebooks
  • Loading branch information
kujaku11 authored Dec 22, 2023
2 parents 8e00c74 + c91e83d commit 79828c5
Show file tree
Hide file tree
Showing 33 changed files with 1,705 additions and 660 deletions.
2 changes: 1 addition & 1 deletion docs/examples/notebooks/channel_ts_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
8 changes: 4 additions & 4 deletions docs/examples/notebooks/example_01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@
" run_object.run_metadata.id, run_metadata=run_object.run_metadata\n",
" )\n",
" run_group.from_runts(run_object)\n",
" run_group.update_run_metadata()\n",
" run_group.update_metadata()\n",
"\n",
" # update station metadata to ensure consistency\n",
" station_group.update_station_metadata()\n",
" survey_group.update_survey_metadata()\n",
" station_group.update_metadata()\n",
" survey_group.update_metadata()\n",
"\n",
" print(m)"
]
Expand Down Expand Up @@ -268,7 +268,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
152 changes: 70 additions & 82 deletions docs/examples/notebooks/filters_example.ipynb

Large diffs are not rendered by default.

364 changes: 202 additions & 162 deletions docs/examples/notebooks/make_mth5_driver_v0.1.0.ipynb

Large diffs are not rendered by default.

288 changes: 163 additions & 125 deletions docs/examples/notebooks/make_mth5_driver_v0.2.0.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/examples/notebooks/make_mth5_from_geomag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
9 changes: 3 additions & 6 deletions docs/examples/notebooks/make_mth5_from_lemi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -719,11 +719,8 @@
],
"source": [
"%%time\n",
"station_group.validate_station_metadata()\n",
"station_group.write_metadata()\n",
"\n",
"survey_group.update_survey_metadata()\n",
"survey_group.write_metadata()"
"station_group.update_metadata()\n",
"survey_group.update_metadata()\n"
]
},
{
Expand Down Expand Up @@ -1882,7 +1879,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
9 changes: 3 additions & 6 deletions docs/examples/notebooks/make_mth5_from_nims.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,8 @@
],
"source": [
"%%time\n",
"station_group.validate_station_metadata()\n",
"station_group.write_metadata()\n",
"\n",
"survey_group.update_survey_metadata()\n",
"survey_group.write_metadata()"
"station_group.update_metadata()\n",
"survey_group.update_metadata()"
]
},
{
Expand Down Expand Up @@ -967,7 +964,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
16 changes: 5 additions & 11 deletions docs/examples/notebooks/make_mth5_from_phoenix.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@
" ch_150.channel_metadata.update(ch_metadata)\n",
" ch_dataset = continuous_run.from_channel_ts(ch_150)\n",
" \n",
"continuous_run.validate_run_metadata()\n",
"continuous_run.write_metadata()"
"continuous_run.update_metadata()"
]
},
{
Expand Down Expand Up @@ -274,8 +273,7 @@
" run_group.from_channel_ts(seg_ts)\n",
" \n",
" # update run metadata\n",
" run_group.validate_run_metadata()\n",
" run_group.write_metadata()\n",
" run_group.update_metadata()\n",
" "
]
},
Expand All @@ -296,12 +294,8 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"station_group.validate_station_metadata()\n",
"station_group.write_metadata()\n",
"\n",
"survey_group.update_survey_metadata()\n",
"survey_group.write_metadata()"
"station_group.update_metadata()\n",
"survey_group.update_metadata()"
]
},
{
Expand Down Expand Up @@ -371,7 +365,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
9 changes: 3 additions & 6 deletions docs/examples/notebooks/make_mth5_from_phoenix_real.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,8 @@
],
"source": [
"%%time\n",
"station_group.validate_station_metadata()\n",
"station_group.write_metadata()\n",
"\n",
"survey_group.update_survey_metadata()\n",
"survey_group.write_metadata()"
"station_group.update_metadata()\n",
"survey_group.update_metadata()"
]
},
{
Expand Down Expand Up @@ -616,7 +613,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
11 changes: 4 additions & 7 deletions docs/examples/notebooks/make_mth5_from_phoenix_sage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
" # add channel to the run group\n",
" ch_dataset = run_group.from_channel_ts(ch_ts)\n",
" \n",
" run_group.update_run_metadata()\n",
" run_group.update_metadata()\n",
" "
]
},
Expand All @@ -193,11 +193,8 @@
"outputs": [],
"source": [
"%%time\n",
"station_group.update_station_metadata()\n",
"station_group.write_metadata()\n",
"\n",
"survey_group.update_survey_metadata()\n",
"survey_group.write_metadata()"
"station_group.update_metadata()\n",
"survey_group.update_metadata()"
]
},
{
Expand Down Expand Up @@ -238,7 +235,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
9 changes: 3 additions & 6 deletions docs/examples/notebooks/make_mth5_from_z3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,8 @@
],
"source": [
"%%time\n",
"station_group.validate_station_metadata()\n",
"station_group.write_metadata()\n",
"\n",
"survey_group.update_survey_metadata()\n",
"survey_group.write_metadata()"
"station_group.update_metadata()\n",
"survey_group.update_metadata()"
]
},
{
Expand Down Expand Up @@ -855,7 +852,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/notebooks/mth5_in_parallel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -958,9 +958,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.18"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
Loading

0 comments on commit 79828c5

Please sign in to comment.