Questions tagged [earthpy]
EarthPy makes it easier to plot and manipulate spatial data in Python.
9
questions
0
votes
1
answer
162
views
Masking clouds on Landsat8 with Python before NDVI [closed]
I'm new to remote sensing and trying to mask clouds with Python. I'm using the same method in Earth Data Science website (https://www.earthdatascience.org/courses/use-data-open-source-python/...
0
votes
0
answers
60
views
EarthPy plot scatterplot on top of plot_rgb
I am using earthpy.plot_rgb() for some satellite image because it works very well. However, I have the coordinates of a line that I'd like to plot on top of it with scatterplot, but I can't make it ...
0
votes
0
answers
66
views
Earthpy plot array and ploints on top of "plot_rgb()"
I have a Sentinel-2 image (16 bands) that I plot with earthpy.plot_rgb. I calculate a normalized index (NDSI) with its 3rd and 11th bands, which I then filter to keep only values above a specific ...
1
vote
0
answers
128
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
1
answer
56
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
0
answers
218
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
1
answer
864
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
0
answers
384
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
0
answers
333
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 ...