We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52a53e9 commit 7a3b9e9Copy full SHA for 7a3b9e9
1 file changed
hoss/spatial.py
@@ -111,14 +111,14 @@ def get_spatial_index_ranges(
111
if bounding_box is None and shape_file_path is not None:
112
geojson_content = get_shape_file_geojson(shape_file_path)
113
bounding_box = get_geographic_bbox(geojson_content)
114
- try:
115
- for dimension in geographic_dimensions:
+
+ for dimension in geographic_dimensions:
116
+ try:
117
index_ranges[dimension] = get_geographic_index_range(
118
dimension, varinfo, dimensions_file, bounding_box
119
)
-
120
- except InvalidRequestedRange:
121
- out_of_range_variables.add(dimension)
+ except InvalidRequestedRange:
+ out_of_range_variables.add(dimension)
122
123
if projected_dimensions:
124
for non_spatial_variable in non_spatial_variables:
0 commit comments