Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 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
6 changes: 4 additions & 2 deletions .github/workflows/test_notebooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ jobs:
uv pip install 'setuptools<68'
uv pip install -e ".[dev,test]"
uv pip install mt_metadata[obspy]
uv pip install "mt_metadata[obspy]"
uv pip install mth5
# uv pip install "mt_metadata[obspy] @ git+https://github.com/kujaku11/mt_metadata@patches"
# uv pip install "mt_metadata[obspy]"
# uv pip install mth5
uv pip install git+https://github.com/kujaku11/mth5@split_io
uv pip install git+https://github.com/kujaku11/mth5_test_data.git
# Explicitly include nbconvert & ipykernel
uv pip install jupyter nbconvert nbformat ipykernel
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ jobs:
# uv pip install "mt_metadata[obspy] @ git+https://github.com/kujaku11/mt_metadata.git"
# uv pip install git+https://github.com/kujaku11/mth5.git
uv pip install "mt_metadata[obspy]"
uv pip install mth5


uv pip install git+https://github.com/kujaku11/mth5.git@split_io
# uv pip install mth5
uv pip install git+https://github.com/kujaku11/mth5_test_data.git
# Explicitly include nbconvert & ipykernel
Expand Down
11 changes: 5 additions & 6 deletions aurora/time_series/frequency_band_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
This module contains functions that are associated with time series of Fourier coefficients
TODO: Move these methods to mth5.processing.spectre.frequency_band_helpers
"""
from loguru import logger
from mt_metadata.processing.aurora import (
DecimationLevel as AuroraDecimationLevel,
)
from mt_metadata.processing.aurora import Band
from mth5.timeseries.spectre.spectrogram import extract_band
from typing import Optional, Tuple

import xarray as xr
from loguru import logger
from mt_metadata.processing.aurora import Band
from mt_metadata.processing.aurora import DecimationLevel as AuroraDecimationLevel
from mt_timeseries.spectre.spectrogram import extract_band


def get_band_for_tf_estimate(
Expand Down
12 changes: 6 additions & 6 deletions docs/examples/operate_aurora.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2968,7 +2968,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -2983,12 +2983,12 @@
}
],
"source": [
"tf_cls.write(fn=\"emtfxml_test.xml\", file_type=\"emtfxml\")"
"tf_cls.write(\"emtfxml_test.xml\", file_type=\"emtfxml\")"
]
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -3016,12 +3016,12 @@
}
],
"source": [
"tf_cls.write(fn=\"emtfxml_test.edi\", file_type=\"edi\")"
"tf_cls.write(\"emtfxml_test.edi\", file_type=\"edi\")"
]
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -3036,7 +3036,7 @@
}
],
"source": [
"tf_cls.write(fn=\"emtfxml_test.zss\", file_type=\"zmm\")"
"tf_cls.write(\"emtfxml_test.zss\", file_type=\"zmm\")"
]
},
{
Expand Down
12 changes: 6 additions & 6 deletions docs/tutorials/process_cas04_multiple_station.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3033,7 +3033,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": null,
"id": "2ee6e117-c7e1-40ba-9981-5f2a189e404a",
"metadata": {},
"outputs": [
Expand All @@ -3049,9 +3049,9 @@
}
],
"source": [
"tf_cls.write(fn=f\"{tf_file_base}.xml\", file_type=\"emtfxml\")\n",
"tf_cls.write(fn=f\"{tf_file_base}.edi\", file_type=\"edi\")\n",
"tf_cls.write(fn=f\"{tf_file_base}.zrr\", file_type=\"zrr\")"
"tf_cls.write(f\"{tf_file_base}.xml\", file_type=\"emtfxml\")\n",
"tf_cls.write(f\"{tf_file_base}.edi\", file_type=\"edi\")\n",
"tf_cls.write(f\"{tf_file_base}.zrr\", file_type=\"zrr\")"
]
},
{
Expand Down Expand Up @@ -7048,7 +7048,7 @@
},
{
"cell_type": "code",
"execution_count": 45,
"execution_count": null,
"id": "358195b0",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -7077,7 +7077,7 @@
}
],
"source": [
"tf.write(fn=\"CAS04_rrNVR08.edi\", file_type=\"edi\")"
"tf.write(\"CAS04_rrNVR08.edi\", file_type=\"edi\")"
]
}
],
Expand Down
Loading