Skip to content

Commit

Permalink
revert back to cm for snow
Browse files Browse the repository at this point in the history
  • Loading branch information
kandersolar committed Jun 29, 2023
1 parent 3b48739 commit a03a774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pvlib/iotools/acis.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ def get_acis_station_data(station, start, end, trace_val=0.001,
{"name": "avgt", "interval": "dly", "units": "degreeC"},
{"name": "obst", "interval": "dly", "units": "degreeC"},
{"name": "pcpn", "interval": "dly", "units": "mm"},
{"name": "snow", "interval": "dly", "units": "mm"},
{"name": "snwd", "interval": "dly", "units": "mm"},
{"name": "snow", "interval": "dly", "units": "cm"},
{"name": "snwd", "interval": "dly", "units": "cm"},
{"name": "cdd", "interval": "dly", "units": "degreeC"},
{"name": "hdd", "interval": "dly", "units": "degreeC"},
{"name": "gdd", "interval": "dly", "units": "degreeC"},
Expand Down
4 changes: 2 additions & 2 deletions pvlib/tests/iotools/test_acis.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def test_get_acis_station_data():
trace_val=-99)
expected = pd.DataFrame(
[[10., 2., 6., np.nan, 21.34, 0., 0., 0., 59., 0.],
[3., -4., -0.5, np.nan, 9.4, 53.3, 0., 0., 65., 0.],
[-1., -5., -3., np.nan, -99, -99, 51., 0., 68., 0.]],
[3., -4., -0.5, np.nan, 9.4, 5.3, 0., 0., 65., 0.],
[-1., -5., -3., np.nan, -99, -99, 5., 0., 68., 0.]],
columns=['temp_air_max', 'temp_air_min', 'temp_air_average',
'temp_air_observation', 'precipitation', 'snowfall',
'snowdepth', 'cooling_degree_days',
Expand Down

0 comments on commit a03a774

Please sign in to comment.