From 0d5bc0e2aa28dc6905d77df4411c68f0a3e48f64 Mon Sep 17 00:00:00 2001 From: "Stephen C. Pope" Date: Fri, 9 Jun 2023 16:11:12 -0700 Subject: [PATCH] Docs: Update configuration page (#11924) GitOrigin-RevId: 8b0b546bbdeede593fa425bd8f56d0be28a3b125 --- docs/examples/plot_hello_scenes.py | 32 ------------------------------ 1 file changed, 32 deletions(-) delete mode 100644 docs/examples/plot_hello_scenes.py diff --git a/docs/examples/plot_hello_scenes.py b/docs/examples/plot_hello_scenes.py deleted file mode 100644 index 30e70f79..00000000 --- a/docs/examples/plot_hello_scenes.py +++ /dev/null @@ -1,32 +0,0 @@ -""" -============== -Scenes Example -============== - -This example makes a simple request to our raster service -and displays the image. - -""" - -from pprint import pprint - -from descarteslabs.scenes import Scene, display - -scene, ctx = Scene.from_id( - "usgs:landsat:oli-tirs:c2:l1:v0:LC08_L1TP_033034_20170313_20200904_02_T1" -) - -img, meta = scene.ndarray( - bands=["swir1", "swir2", "nir"], - ctx=ctx.assign(resolution=120), - data_type="Float64", - raster_info=True, -) - -################################################# -# Visualize the image. -display(img, size=2) - -################################################# -# We can also view the metadata returned by raster. -pprint(meta)