From fd4b458f2652c0bb10bc66e75301e46c165d84ec Mon Sep 17 00:00:00 2001 From: spencer <swilbur@usgs.gov> Date: Wed, 28 Feb 2024 13:49:03 -0700 Subject: [PATCH 1/2] Removed extra disclaimer from FDSNFactory.py. --- geomagio/edge/FDSNFactory.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/geomagio/edge/FDSNFactory.py b/geomagio/edge/FDSNFactory.py index 74c7daa8..c45df69b 100644 --- a/geomagio/edge/FDSNFactory.py +++ b/geomagio/edge/FDSNFactory.py @@ -384,21 +384,6 @@ class FDSNFactory(TimeseriesFactory): # Set azimuth in trace.stats.azimuth trace.stats.azimuth = azimuth - # Add comments to trace.stats - if "comments" in trace.stats: - trace.stats.comments.extend( - [ - "DISCLAIMER", - "This is provisional data. Any data secured from the USGS database that are identified as provisional have not received Director's approval and are subject to revision. Source and Authority: U.S. Geological Survey Manual, Section 500.24", - "DISCLAIMER", - ] - ) - else: - trace.stats.comments = [ - "DISCLAIMER", - "This is provisional data. Any data secured from the USGS database that are identified as provisional have not received Director's approval and are subject to revision. Source and Authority: U.S. Geological Survey Manual, Section 500.24", - "DISCLAIMER", - ] # Return both azimuth and dip return azimuth, dip -- GitLab From 7c341770fe3121d27e3765d4468a998aa83a1091 Mon Sep 17 00:00:00 2001 From: spencer <swilbur@usgs.gov> Date: Wed, 28 Feb 2024 13:55:09 -0700 Subject: [PATCH 2/2] Reformatted FDSNFactory.py --- geomagio/edge/FDSNFactory.py | 1 - 1 file changed, 1 deletion(-) diff --git a/geomagio/edge/FDSNFactory.py b/geomagio/edge/FDSNFactory.py index c45df69b..6b9016e8 100644 --- a/geomagio/edge/FDSNFactory.py +++ b/geomagio/edge/FDSNFactory.py @@ -384,6 +384,5 @@ class FDSNFactory(TimeseriesFactory): # Set azimuth in trace.stats.azimuth trace.stats.azimuth = azimuth - # Return both azimuth and dip return azimuth, dip -- GitLab