USGS-CMG / stglib

Routines used by the USGS Coastal/Marine Hazards & Resources Program to process oceanographic time-series data
Other
17 stars 14 forks source link

Add sl_bin feature in trim_vels to remove additional surface bins #114

Closed rbales-usgs closed 1 year ago

rbales-usgs commented 1 year ago

I added an optional addition to the trim method 'water level sl' for trim_vels in aqdutils. The feature I added will allow the user to specify an amount of surface bins that may be filled due to side lobe interference that were not filled from using only 'water level sl.'

The user will need to include 'sl_bins' in the config.yaml file that specifies the amount of surface bins that need to be filled. If the user does not include 'sl_bins' in the config.yaml file, the code assumes that 0 additional bins need to be filled and will only fill based on 'water level sl.'

I ran black and pytest before pr

dnowacki-usgs commented 1 year ago

Thanks Bo! Could you add this functionality to the documentation?