From f7dc8f4a4d8e1e8dc8736d24802ece227dac3418 Mon Sep 17 00:00:00 2001 From: Valentina Staneva Date: Tue, 12 Nov 2024 09:19:34 -0800 Subject: [PATCH] Update noise_processing.py --- noise_processing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/noise_processing.py b/noise_processing.py index b4098b1..e4229da 100644 --- a/noise_processing.py +++ b/noise_processing.py @@ -15,7 +15,7 @@ # Set Location and Resolution # Port Townsend, 1 Hz Frequency, 60-second samples if __name__ == '__main__': - pipeline = NoiseAnalysisPipeline(Hydrophone.PORT_TOWNSEND, + pipeline = NoiseAnalysisPipeline(Hydrophone.ORCASOUND_LAB, delta_f=10, bands=None, delta_t=60, mode='safe') @@ -25,8 +25,8 @@ # Generate parquet dataframes with noise levels for a time period now = dt.datetime.now(pytz.timezone('US/Pacific')) -psd_path, broadband_path = pipeline.generate_parquet_file(now - dt.timedelta(hours = 6), - now - dt.timedelta(hours = 1), +psd_path, broadband_path = pipeline.generate_parquet_file(now - dt.timedelta(hours = 9), + now - dt.timedelta(hours = 8), upload_to_s3=False) # Read the parquet files