Skip to content

Commit efc7f71

Browse files
committed
removing outdated exception & incrementing patch version of codebase
1 parent b9dc4e9 commit efc7f71

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dweather_client/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ def snap_to_grid(lat, lon, metadata):
2525

2626
# check that the lat lon is in the bounding box
2727

28-
if category != 'rainfall':
29-
raise Exception('snap_to_grid() called on non rainfall dataset.')
30-
3128
snap_lat = round(round((lat - min_lat)/resolution) * resolution + min_lat, 3)
3229
snap_lon = round(round((lon - min_lon)/resolution) * resolution + min_lon, 3)
3330
return snap_lat, snap_lon

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def load_requirements(fname):
1717
setuptools.setup(
1818
name="dweather_client",
1919
install_requires=load_requirements("requirements.txt"),
20-
version="1.0",
20+
version="1.1.1",
2121
author="Arbol",
2222
author_email="[email protected]",
2323
description="Python client for interacting with weather data on IPFS.",

0 commit comments

Comments
 (0)