Skip to content

Commit

Permalink
shallow prof
Browse files Browse the repository at this point in the history
  • Loading branch information
robfatland committed Jun 28, 2024
1 parent b719449 commit f8eaa9c
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 80 deletions.
5 changes: 3 additions & 2 deletions book/chapters/charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ def ShowStaticBundles(d, profiles):
BundleChart(profiles, dt64('2022-01-01'), dt64('2022-02-01'), td64(0, 'h'), td64(24, 'h'), 8, 6, d['density'], 'Density')
BundleChart(profiles, dt64('2022-01-01'), dt64('2022-02-01'), td64(0, 'h'), td64(24, 'h'), 8, 6, d['salinity'], 'Salinity')
BundleChart(profiles, dt64('2022-01-01'), dt64('2022-02-01'), td64(0, 'h'), td64(24, 'h'), 8, 6, d['chlora'], 'Chlorophyll A Fluorescence')
BundleChart(profiles, dt64('2022-01-01'), dt64('2022-02-01'), td64(0, 'h'), td64(24, 'h'), 8, 6, d['fdom'], 'FDOM')
BundleChart(profiles, dt64('2022-01-01'), dt64('2022-02-01'), td64(0, 'h'), td64(24, 'h'), 8, 6, d['bb'], 'Particulate Backscatter')
# These last two are not terribly illuminating
# BundleChart(profiles, dt64('2022-01-01'), dt64('2022-02-01'), td64(0, 'h'), td64(24, 'h'), 8, 6, d['fdom'], 'FDOM')
# BundleChart(profiles, dt64('2022-01-01'), dt64('2022-02-01'), td64(0, 'h'), td64(24, 'h'), 8, 6, d['bb'], 'Particulate Backscatter')

return

Expand Down
131 changes: 55 additions & 76 deletions book/chapters/shallowprofiler.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions book/chapters/shallowprofiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ def GenerateTimeWindowIndices(profiles, date0, date1, time0, time1):
['up', 'vel'], ['east', 'vel'], ['north', 'vel']]

ranges = {
'conductivity':(33.5,36.5),'density':(1022, 1028),'pressure':(0.,200.),'salinity':(31, 35),'temperature':(7, 14),
'conductivity':(32.0,34.5),'density':(1024, 1028),'pressure':(0.,200.),'salinity':(32, 34),'temperature':(7, 11),
'chlora':(0.,1.5),'bb':(0.00,0.006),'fdom':(0.5,4.5),
'spkir412nm':(0.0, 15.0), 'spkir443nm':(0.0, 15.0), 'spkir490nm':(0.0, 15.0), 'spkir510nm':(0.0, 15.0), 'spkir555nm':(0.0, 15.0), 'spkir620nm':(0.0, 15.0), 'spkir683nm':(0.0, 15.0),
'nitrate':(0., 35.),
'pco2':(200.0, 1200.0),
'do':(50.0, 400.),
'do':(50.0, 300.),
'par':(0.0, 300.),
'ph':(7.6, 8.2),
'up':(-0.4, 0.4),'east':(-0.4, 0.4),'north':(-0.4, 0.4)
Expand Down

0 comments on commit f8eaa9c

Please sign in to comment.