ehsantaghizadeh
Member
Hi everyone,
I’m trying to highlight a single grid point on a WRF map. Plotting by lat/lon works fine:
ax = plt.axes(projection=cart_proj)
ax.plot(lon_value,
lat_value,
color="red",
marker="o",
markersize=3,
transform=ccrs.PlateCarree()
)
But when I convert the same location using:
xy_mmh = ll_to_xy(wrf_in, lat_value, lon_value)
I’m not sure how to plot only this grid‑index point on the map.
What is the correct way to display the point returned by ll_to_xy?
My second question:
How can I show all grid points on the map (e.g., a surface plot of terrain height with the full grid overlaid)?
There’s no need for full scripts — just the specific commands for each task would be greatly appreciated.
Hopefully my questions are clear — I’d appreciate answers to these two parts separately.
Best regards,
I’m trying to highlight a single grid point on a WRF map. Plotting by lat/lon works fine:
ax = plt.axes(projection=cart_proj)
ax.plot(lon_value,
lat_value,
color="red",
marker="o",
markersize=3,
transform=ccrs.PlateCarree()
)
But when I convert the same location using:
xy_mmh = ll_to_xy(wrf_in, lat_value, lon_value)
I’m not sure how to plot only this grid‑index point on the map.
What is the correct way to display the point returned by ll_to_xy?
My second question:
How can I show all grid points on the map (e.g., a surface plot of terrain height with the full grid overlaid)?
There’s no need for full scripts — just the specific commands for each task would be greatly appreciated.
Hopefully my questions are clear — I’d appreciate answers to these two parts separately.
Best regards,