Skip to content

Commit

Permalink
Merge pull request #180 from emiliom/fix_swtwc_tests
Browse files Browse the repository at this point in the history
Fixed usace_swtwc_test

Closes #169. Also addresses #174
  • Loading branch information
emiliom authored Jan 3, 2020
2 parents 5ff0a72 + fd04b91 commit 0cca702
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions test/usace_swtwc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,29 @@ def test_get_stations():

def test_get_station_data():
test_station_data = [
('MYST2', '2018-02-03', {
'code': 'MYST2',
'description': 'Pat Mayse Lake',
'station_type': 'RESERVOIR',
('DSNT2', '2017-07-25', {
'code': 'DSNT2',
'description': 'Lake Texoma, Denison Dam',
'station_type': 'Reservoir',
'timezone': 'US/Central',
'values': {
'2018-02-03 01:00:00': {'PRECIP PRE': 0.0, 'CIP(A) ELE': 0.0, 'VATION S': 451.61, 'TORAGE': 121347.0, 'INFLOW R': 0.0, 'ELEASE AI': 59.0, 'R-TEMP WI': 35.4, 'ND-DIRWIND': 75.0, '-SPEED REL': 5.36, '-HUMID SOL': 41.52, 'AR-RAD V': -2.0, 'OLTAGE BA': 12.37}
},
'2017-07-25 01:00:00': {
'AIR-TEMP': 80.10,
'BAT-LOAD': 11.37,
'ELEVATION': 617.73,
'INFLOW': 564,
'PRECIP': 0.0,
'PRECIP(A)': 0.0,
'REL-HUMID': 81.98,
'RELEASE': 19,
'SOLAR-RAD': 0.0,
'STORAGE': 2572324.0,
'VOLTAGE': 11.77,
'WIND-DIR': 135.90,
'WIND-SPEED': 1.42,
'TW-ELEV': 501.87
}
},
}),
]

Expand Down

0 comments on commit 0cca702

Please sign in to comment.