Skip to content

Commit 5fd2dd7

Browse files
Merge pull request #62 from DataIntegrationGroup/pre-production
Pre production
2 parents 85b6227 + 94dc135 commit 5fd2dd7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

backend/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class Config(Loggable):
149149
analyte_output_units: str = MILLIGRAMS_PER_LITER
150150
waterlevel_output_units: str = FEET
151151

152-
output_format: str = OutputFormat.CSV
152+
output_format: str = OutputFormat.CSV.value
153153

154154
yes: bool = False
155155

backend/connectors/nmbgmr/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _make_url(endpoint):
4949
if os.getenv("DEBUG") == "1":
5050
url = f"http://localhost:8000/latest/{endpoint}"
5151
else:
52-
url = f"https://waterdata.nmt.edu/latest/{endpoint}"
52+
url = f"https://ampapidev-dot-waterdatainitiative-271000.appspot.com/latest/{endpoint}"
5353
return url
5454

5555

backend/persister.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def dump_summary(self, path: str):
129129
def dump_timeseries_unified(self, path: str):
130130
if self.timeseries:
131131
path = os.path.join(path, "timeseries_unified")
132-
path = self.add_extension(path, OutputFormat.CSV)
132+
path = self.add_extension(path, OutputFormat.CSV.value)
133133
self.log(f"dumping unified timeseries to {os.path.abspath(path)}")
134134
self._dump_timeseries(path, self.timeseries)
135135
else:
@@ -144,7 +144,7 @@ def dump_timeseries_separated(self, path: str):
144144
for records in self.timeseries:
145145
site_id = records[0].id
146146
path = os.path.join(timeseries_path, str(site_id).replace(" ", "_"))
147-
path = self.add_extension(path, OutputFormat.CSV)
147+
path = self.add_extension(path, OutputFormat.CSV.value)
148148
self.log(f"dumping {site_id} to {os.path.abspath(path)}")
149149

150150
list_of_records = [records]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
setup(
2424
name="nmuwd",
25-
version="0.9.7",
25+
version="0.9.8",
2626
author="Jake Ross",
2727
description="New Mexico Water Data Integration Engine",
2828
long_description=long_description,

0 commit comments

Comments
 (0)