Skip to content

Instantly share code, notes, and snippets.

@rsignell-usgs
Created September 10, 2018 17:24
Show Gist options
  • Save rsignell-usgs/665c7be3ff2938892e77322e732166d4 to your computer and use it in GitHub Desktop.
Save rsignell-usgs/665c7be3ff2938892e77322e732166d4 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsignell
Copy link


lon = 302.5
lat = 25.23
label = f'{var} at lon: {lon}, lat: {lat}'

ds[var].sel(lon=lon, lat=lat, method='nearest').hvplot('time', label=label, c='blue', legend=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment