HealSparse provides a convenient and memory-efficient way to work with high-resolution healpix maps. Cartosky provides an interface for plotting HealSparse maps. In the future, CartoSky may internally depend on HealSparse for working with all HEALPix maps.
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
import healpy as hp
import cartosky as csky
import healsparse as hsp
# Create a HealSparseMap
nside_coverage=16
nside_sparse=512
hspmap = hsp.HealSparseMap.make_empty(nside_coverage, nside_sparse, dtype=np.float)
# Cartosky convenience function for getting pixels in a disc
pixels = csky.healpix.ang2disc(nside_sparse, lon=180, lat=-30, radius=40, nest=True, inclusive=True)
hspmap.update_values_pix(pixels, pixels.astype(float))
print(hspmap)
HealSparseMap: nside_coverage = 16, nside_sparse = 512, float64
/tmp/ipykernel_1777/2072014329.py:4: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations hspmap = hsp.HealSparseMap.make_empty(nside_coverage, nside_sparse, dtype=np.float)
# Make sure the HealSparseMap look reasonable
hpxmap = hspmap.generate_healpix_map(nside=nside_sparse)
hpxmap = hp.reorder(hpxmap,n2r=True)
# Use 'inferno' because healpy messes with the colormap...
# https://github.com/healpy/healpy/issues/622
hp.mollview(hpxmap,rot=(180,0,0),badcolor='w',cmap='inferno')
hp.graticule()
0.0 180.0 -180.0 180.0
# Draw the healsparse map
plt.figure(figsize=(16,8))
smap = csky.SurveyMcBryde(lon_0=180,gridlines=False)
im,lon,lat,val = smap.ax.hspmap(hspmap)
plt.colorbar(label="Number of Exposures",orientation='horizontal',fraction=0.05)
smap.ax.gridlines() # cartopy gridlines...
# Draw some other survey footprints
smap.draw_des(lw=3,facecolor='red',alpha=0.2)
smap.draw_des_sn(edgecolor='r',facecolor='r',alpha=0.2)
smap.draw_decals(lw=3,edgecolor='gray',facecolor='gray',alpha=0.2)
/home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string)
# Zoom in a bit
plt.figure(figsize=(16,8))
smap = csky.SurveySkymap(lon_0=180,allsky=False,gridlines=False)
im,lon,lat,val = smap.ax.hspmap(hspmap,lonra=[110,275],latra=[-55,2])
plt.colorbar(ax=smap.ax,label="Pixel Value",fraction=0.02)
smap.ax.gridlines()
# Draw DECaLS
smap.draw_decals(lw=0,facecolor='gray',alpha=0.2)
smap.draw_decals(lw=3,edgecolor='gray')
/home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. elif len(intersection) > 4: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. xy = np.append(intersection[0], intersection[-1], /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4739: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. arr = asanyarray(arr) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/numpy/lib/function_base.py:4745: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead. return concatenate((arr, values), axis=axis) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(multi_line_string) > 1: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:836: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings = list(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. for line in multi_line_string: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. if len(p_mline) > 0: /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry. line_strings.extend(multi_line_string) /home/docs/checkouts/readthedocs.org/user_builds/cartosky/conda/latest/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry. line_strings.extend(multi_line_string)
plt.figure(figsize=(8,5))
smap = csky.Skymap(allsky=False,gridlines=False)
im,lon,lat,val = smap.ax.hspmap(hspmap,lonra=[165,165.5],latra=[-15,-15.5])
plt.colorbar(label="Pixel Value")
smap.ax.gridlines()
<cartopy.mpl.gridliner.Gridliner at 0x7efeb641d940>