Skip to content

Commit 59664a3

Browse files
committed
edit is_aoi_within_boundary error message
1 parent 4f1a48a commit 59664a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

geowrangler/grids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def setup_boundary(
173173

174174
if not is_aoi_within_boundary(boundary, reprojected_gdf):
175175
warnings.warn(
176-
"The given boundary does not fully enclose the reprojected AOI. There might be missing grid cells due to this. Try getting the boundary of the reprojected AOI, and/or adding a buffer to the boundary. See geowrangler.thinkingmachin.es/tutorial.grids.html#reprojecting-before-gridding for more info."
176+
"The given boundary does not fully enclose the reprojected AOI. There might be missing grid cells due to this. If this is not expected, get the boundary of the reprojected AOI, and/or add a buffer to the boundary. See geowrangler.thinkingmachin.es/tutorial.grids.html#reprojecting-before-gridding for more info."
177177
)
178178

179179
return boundary

notebooks/00_grids.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
" boundary = SquareGridBoundary(x_min, y_min, x_max, y_max, boundary_type=\"custom_boundary\")\n",
282282
"\n",
283283
" if not is_aoi_within_boundary(boundary, reprojected_gdf):\n",
284-
" warnings.warn(\"The given boundary does not fully enclose the reprojected AOI. There might be missing grid cells due to this. Try getting the boundary of the reprojected AOI, and/or adding a buffer to the boundary. See geowrangler.thinkingmachin.es/tutorial.grids.html#reprojecting-before-gridding for more info.\")\n",
284+
" warnings.warn(\"The given boundary does not fully enclose the reprojected AOI. There might be missing grid cells due to this. If this is not expected, get the boundary of the reprojected AOI, and/or add a buffer to the boundary. See geowrangler.thinkingmachin.es/tutorial.grids.html#reprojecting-before-gridding for more info.\")\n",
285285
"\n",
286286
" return boundary\n",
287287
"\n",

0 commit comments

Comments
 (0)