-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathazmp_process_btl_plots.py
More file actions
36 lines (30 loc) · 991 Bytes
/
azmp_process_btl_plots.py
File metadata and controls
36 lines (30 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
'''
General script to generate btl section plots
'''
## ----------- SECTION PLOT ---------------- ##
import numpy as np
import azmp_sections_tools as azst
import matplotlib.pyplot as plt
import os
# summer
years = np.arange(1999, 2019)
sections = ['SI', 'BB', 'WB', 'FC']
seasons = ['summer']
variables = ['satO2_perc', 'PO4', 'NO3', 'SIO', 'oxygen']
# spring and fall
years = np.arange(1999, 2019)
sections = ['BB', 'FC', 'SEGB', 'SESPB']
seasons = ['spring', 'fall']
variables = ['satO2_perc', 'PO4', 'NO3', 'SIO', 'oxygen']
# summer
years = np.arange(1999, 2019)
sections = ['SI', 'BB', 'WB', 'FC']
seasons = ['summer']
variables = ['satO2_perc', 'PO4', 'NO3', 'SIO', 'oxygen']
for year in years:
for section in sections:
for season in seasons:
for var in variables:
print(str(year), section, season, var)
azst.btl_section_plot(VAR=var, SECTION=section, SEASON=season, YEAR=year, ZMAX=500)
plt.close('all')