Skip to content
Snippets Groups Projects
Verified Commit 3b8f3cfa authored by David Hoese's avatar David Hoese
Browse files

Fix archive path for files api

parent a8f56217
No related branches found
No related tags found
No related merge requests found
JSONIFY_PRETTYPRINT_REGULAR = False
if 'SECRET_KEY' not in globals():
# we don't do anything with cookies or sessions, set this somewhere secret in the future
SECRET_KEY = 'secret!'
ARCHIVE_ROOT = '/mnt/inst-data/cache'
ARCHIVE_ROOT = '/data1/cache'
ARCHIVE_URL = 'http://metobs.ssec.wisc.edu/pub/cache'
# InfluxDB Settings
......
......@@ -16,6 +16,7 @@ def parse_dt(d):
def build_queries(symbols, begin, end, value):
if begin is None:
# TODO: This should use the "FIRST(symbol_name)" function
begin = timedelta(minutes=2)
begin = parse_dt(begin)
end = parse_dt(end)
......
......@@ -11,9 +11,9 @@ requires = [
setup(name='metobsapi',
version='0.1',
description='MetObsApi',
author='',
author_email='',
url='',
author='David Hoese',
author_email='david.hoese@ssec.wisc.edu',
url='http://metobs.ssec.wisc.edu/',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment