Skip to content
Snippets Groups Projects
Commit e4c4559e authored by William Roberts's avatar William Roberts
Browse files

Allow scripts to be called from environment

parent aad3b6c1
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@ import pandas as pd
import argparse
from aeri_tools.io.dmv import housekeeping
import file_finder
import correlate
from plotting import file_finder
from plotting import correlate
HBB = ['HBBapexTemp', 'HBBbottomTemp', 'HBBtopTemp']
ABB = ['ABBapexTemp', 'ABBbottomTemp', 'ABBtopTemp']
......
......@@ -5,13 +5,12 @@ import time
import netCDF4
import matplotlib.pyplot as plt
from scipy import arange
import numpy as np
import pandas as pd
import scipy.stats
#import file_finder
import diagnostic_plotter
#from plotting import file_finder
from plotting import diagnostic_plotter
from glob import glob
......@@ -176,7 +175,7 @@ def create_vis(filename):
# 0-24 for 24 hours, 0-1 either valid or invalid
plt.axis([0, 24, 0, 1])
# x ticks only on every third to reduce clutter
plt.xticks(arange(0,25))
plt.xticks(np.arange(0,25))
plt.setp(ax.xaxis.get_ticklabels()[1::3], visible=False)
plt.setp(ax.xaxis.get_ticklabels()[2::3], visible=False)
plt.yticks((0,1))
......
......@@ -9,8 +9,8 @@ import numpy as np
import pandas as pd
import scipy.stats
import file_finder
import diagnostic_plotter
from plotting import file_finder
from plotting import diagnostic_plotter
def main(filename, save_option):
......
......@@ -13,5 +13,6 @@ setup(
"netCDF4",
"statsmodels",
"matplotlib"
]
],
scripts=['run_aeri_qc.py', 'plotting/quick_vis.py']
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment