This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi,
Here's what I see in the sample code:
import os
import earthpy as et
import folium
from folium import plugins
import rasterio as rio
from rasterio.warp import calculate_default_transform, reproject, Resampling
m = folium.Map(location=[-31.416016, -64.188929], tiles = 'Stamen Terrain')
m
folium.Marker(
location=[-31.416016, -64.188929], # coordinates for the marker
popup='Location from where hail samples were collected', # pop-up label for
the marker
icon=folium.Icon()).add_to(m)
m
It doesn't look like it's actually doing anything with Rasterio? Regardless,
I'm not really familiar with rasterio or folium, I just know enough that they
exist. You might have more luck asking questions on their bug tracker or on
Stack Overflow? That's literally what I'd have to do to try to investigate this
problem.
Ryan
> Attachment available until Jun 9, 2019
> Click to
> Download<https://www.icloud.com/attachment/?u=https%3A%2F%2Fcvws.icloud-content.com%2FB%2FATEF_4w1d-QPGYFse5EfW7qqGZcnAY86VQ05x0l3sXRFYXeBbKYzmTzu%2F%24%7Bf%7D%3Fo%3DAh7fWinorIN951N-lXtotVnNsrdHXM5K4MxZc8Hve3tm%26v%3D1%26x%3D3%26a%3DCAogZ1geQzLU0MVlHXLIa9iAjfLSKBEO65DJlXpTJeWXfYESGxDXt6Oiqi0Y18ee9rMtIgEAKggByAD_MtSHYg%26e%3D1560126399%26k%3D%24%7Buk%7D%26fl%3D%26r%3D41088F02-9D42-4B06-8819-12ED20E84171-1%26ckc%3Dcom.apple.largeattachment%26ckz%3D1F893C0E-1DC6-4D4C-A1B9-ADDCF10E32CE%26p%3D59%26s%3DQxUmzdTZmIVddnZnUZ_qhKXFbck&uk=otzff9wpAUZNEGp4oo_58w&f=OR_ABI-L2-CMIPF-M3C14_G16_s20180400500385_e20180400511152_c20180400511257.nc.zip&sz=27315494>
> OR_ABI-L2-CMIPF-M3C14_G16_s20180400500385_e20180400511152_c20180400511257.nc.zip
> 27.3 MB
Ticket Details
===================
Ticket ID: KLQ-264390
Department: Support Python
Priority: Low
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.