rename planetstackanalytics
diff --git a/planetstack/hpc_wizard/planetstack_analytics.py b/planetstack/hpc_wizard/xos_analytics.py
similarity index 98%
rename from planetstack/hpc_wizard/planetstack_analytics.py
rename to planetstack/hpc_wizard/xos_analytics.py
index 2728f27..a95d3ae 100644
--- a/planetstack/hpc_wizard/planetstack_analytics.py
+++ b/planetstack/hpc_wizard/xos_analytics.py
@@ -22,7 +22,7 @@
glo_cached_queries = {}
-class PlanetStackAnalytics(BigQueryAnalytics):
+class XOSAnalytics(BigQueryAnalytics):
def __init__(self, tableName=None):
if not tableName:
tableName = settings.BIGQUERY_TABLE
@@ -421,14 +421,14 @@
return self.format_result(format, result, q, dataSourceUrl)
-def DoPlanetStackAnalytics(request):
- bq = PlanetStackAnalytics()
+def DoXOSAnalytics(request):
+ bq = XOSAnalytics()
result = bq.process_request(request)
return result
def main():
- bq = PlanetStackAnalytics(tableName="demoevents")
+ bq = XOSAnalytics(tableName="demoevents")
q = bq.compose_cached_query()
results = bq.run_query(q)