Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 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
3 changes: 0 additions & 3 deletions .github/workflows/test_notebooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ jobs:
uv pip install --upgrade pip
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 git+https://github.com/kujaku11/mth5_test_data.git
# Explicitly include nbconvert & ipykernel
uv pip install jupyter nbconvert nbformat ipykernel
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ jobs:
uv pip install --upgrade pip
uv pip install 'setuptools<68'
uv pip install -e ".[dev,test]"
uv pip install mt_metadata[obspy]
# uv pip install "mt_metadata[obspy] @ git+https://github.com/kujaku11/mt_metadata.git@patches"
# uv pip install git+https://github.com/kujaku11/mth5.git@patches
# 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 mth5
uv pip install git+https://github.com/kujaku11/mth5_test_data.git
# Explicitly include nbconvert & ipykernel
uv pip install jupyter nbconvert nbformat ipykernel pytest pytest-cov pytest-timeout codecov
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mth5>=0.6.0",
"mth5>=0.6.7",
"numba>=0.58",
"obspy",
"psutil",
Expand Down
Loading