File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff line change 2222
2323setup (
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 ,
You can’t perform that action at this time.
0 commit comments