Questions tagged [earthpy]

EarthPy makes it easier to plot and manipulate spatial data in Python.

Filter by
Sorted by
Tagged with
1
vote
0answers
41 views

Python - Calculating Burned Area Index results in empty plot

I've followed this tutorial to calculate the dNBR Index, using the given sample tif files which contain a burned area. My results were as shown on the tutorial. So far so good. Then I tried to ...
0
votes
1answer
40 views

Issue with raster stacking

I tried raster stacking using the below code.I tried to read pixel values at a particular coordinate and few values are coming as zero where as when I tried reading the value before stacking there is ...
0
votes
0answers
62 views

Is it possible to display the embed color palette of a TIFF file using earthPy?

I try to display a map that I have created. This map embed a color palette that I can read in QGIS to obtain directly this kind of display : I discovered recently that I can as well directly plot ...
1
vote
1answer
343 views

Crop/clip raster with shapefile that do not overlap

I have shapefile that intersects with a raster but do not fully overlap : I would like to clip the raster with this shapefile but every time I try I get this error message: ValueError: Input shapes ...
0
votes
0answers
70 views

Display raster with earthpy shows one color raster without values

I'm new to Earthpy, I am trying to display raster and on top of it I want to display polygon. The problem is that when I display the image it looks like blue rectangle and doesn't have different ...
0
votes
0answers
214 views

Handling nodata values in raster in Python

I would like to set value of raster -999.0 as NaN in crop_image function, while reading/cropping file: for band_path in range_bands: # open raster as numpy array by rater.io in content manager(...
0
votes
0answers
212 views

earthpy.spatial stack() -function and data type

I have Landsat-8 OLI images in directories named after image WRS-2 scenes. I tried to compose script that would iterate these directories and stack rasters within each directory - using earthpy python ...