Hallo,
I am trying to use a projection where the entire globe isn’t shown:
nodes = gv.Points(lonlat_df)
trimesh = gv.TriMesh((df, nodes)).redim(
x="Longitude (˚E)", y="Latitude (˚N)", z="Resolution (m**2)"
)
#projection = ccrs.PlateCarree()
projection = ccrs.NearsidePerspective()
projected_trimesh = gv.project(trimesh, projection=projection)
FESOM_Resolution = rasterize(projected_trimesh).opts(
cmap="bgy_r",
projection=projection,
width=800,
height=600,
colorbar=True,
colorbar_position="bottom",
tools=["hover"],
clabel="Resolution as Average Element Edge Length (km)",
bgcolor="darkgray",
color_levels=20,
cformatter="%.0f",
clim=(20, 180),
title="FESOM Resolution (MIS 3 Closed: {:,} 2d Nodes)".format(mesh.n2d),
)
FESOM_Resolution
However, this yields an error with index out of bounds:
IndexError: index 99834 is out of bounds for size 41391
Any hints would help!
Thanks,
PG