Skip to content
Snippets Groups Projects

Documentation Update Feb2024

1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
  • Python version >=3.10 don't need to use the typing module types imported
    (e.g., `from typing import List, Tuple`), but if we continue to stick with
    these, geomag-algorithms should be backward compatible to py3.8. Some day
    we'll have to bump up our minimum python version, but not today.
"""Factory that loads data from FDSN to edge
"""
from __future__ import absolute_import
from datetime import datetime
from typing import List, Optional
from typing import List, Optional, Tuple
import numpy
import sys
@@ -352,7 +353,7 @@ class FDSNFactory(TimeseriesFactory):
def _get_orientations(
self, trace: Trace, starttime: UTCDateTime
) -> tuple[float, float]:
) -> Tuple[float, float]:
# Retrieve station orientation information using FDSN for each trace
sncl = FDSNSNCL.get_sncl(
Loading