Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetObsAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MetObs
MetObsAPI
Commits
3b8f3cfa
Verified
Commit
3b8f3cfa
authored
6 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Fix archive path for files api
parent
a8f56217
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
metobsapi/common_config.py
+2
-1
2 additions, 1 deletion
metobsapi/common_config.py
metobsapi/util/query_influx.py
+1
-0
1 addition, 0 deletions
metobsapi/util/query_influx.py
setup.py
+3
-3
3 additions, 3 deletions
setup.py
with
6 additions
and
4 deletions
metobsapi/common_config.py
+
2
−
1
View file @
3b8f3cfa
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
=
'
/data
1
/cache
'
ARCHIVE_URL
=
'
http://metobs.ssec.wisc.edu/pub/cache
'
# InfluxDB Settings
...
...
This diff is collapsed.
Click to expand it.
metobsapi/util/query_influx.py
+
1
−
0
View file @
3b8f3cfa
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
3
View file @
3b8f3cfa
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment