Skip to content

Commit

Permalink
update tests and examples following measurements API breaking changes…
Browse files Browse the repository at this point in the history
… (fields renaming)
  • Loading branch information
Nicoletta Addimando committed Sep 6, 2024
1 parent bb8cef4 commit 4bac789
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 50 deletions.
83 changes: 35 additions & 48 deletions example_measurements.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tests/test_measurement_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_simple_query(self):
"lat",
"lon",
"asl",
"temperature_2mAbvGnd_atTimestamp_none_degCels",
"airTemperature_2m",
],
}
provider = "dwdClimate10Minute"
Expand All @@ -93,7 +93,7 @@ def test_simple_query(self):
lons = self.getColumnValues(result, "lon")
asls = self.getColumnValues(result, "asl")
temperatures = self.getColumnValues(
result, "temperature_2mAbvGnd_atTimestamp_none_degCels"
result, "airTemperature_2m"
)

self.assertEqual(rows_per_page, 10)
Expand Down

0 comments on commit 4bac789

Please sign in to comment.