Skip to content

Commit

Permalink
Update noise_processing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
valentina-s authored Nov 12, 2024
1 parent 863f67c commit f7dc8f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noise_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand All @@ -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
Expand Down

0 comments on commit f7dc8f4

Please sign in to comment.