Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created January 14, 2021 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/f3d120956ca7ad25db14d35ada3c58dc to your computer and use it in GitHub Desktop.
Save amankharwal/f3d120956ca7ad25db14d35ada3c58dc to your computer and use it in GitHub Desktop.
l = []
for i in S_sentinel_bands:
with rio.open(i, 'r') as f:
l.append(f.read(1))
arr_st = np.stack(l)
ep.plot_bands(arr_st, cmap = 'gist_earth', figsize = (20, 12), cols = 6, cbar = False)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment