Skip to content

Commit

Permalink
Merge pull request #186 from jarq6c/update_nwm_http_client
Browse files Browse the repository at this point in the history
Patch update to nwm-client HTTP interface passed all tests.
  • Loading branch information
jarq6c authored Mar 17, 2022
2 parents 7747a67 + c6d2253 commit c299beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/nwm_client/src/hydrotools/nwm_client/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.0.2"
__version__ = "5.0.3"
2 changes: 1 addition & 1 deletion python/nwm_client/src/hydrotools/nwm_client/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def get_DataFrame(
df = ds[['reference_time', 'time', 'streamflow']].to_dataframe().reset_index()

# Extract scale factor
scale_factor = ds['streamflow'].scale_factor[0]
scale_factor = ds['streamflow'].scale_factor

# Scale data
df.loc[:, 'streamflow'] = df['streamflow'].mul(scale_factor)
Expand Down

0 comments on commit c299beb

Please sign in to comment.