-
|
I've tried to use the example you've provided on youtube where you extract an Image to a numpy array, however, when I try to reduce an ImageCollection consisting of a year of satellite images to a single Image, I'm no longer able to convert it to numpy, receiving an error "need at least one array to concatenate". This is my code: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Also is there any way to increase max pixel amount in image when converting to numpy? Maximum is 262144. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
You are querying for Landsat 8 data from the year 2010 but this data is avialble since 2013-04-11 (to this day). Read more Landsat 8 specifications for GEE: https://developers.google.com/earth-engine/datasets/catalog/LANDSAT_LC08_C01_T1_SR |
Beta Was this translation helpful? Give feedback.
You are querying for Landsat 8 data from the year 2010 but this data is avialble since 2013-04-11 (to this day).
This is the reason there is no array (there is no image).
You can change the collection name to Landsat 7 (
"LANDSAT/LE07/C01/T1_SR") or Landsat 5 if you need data from 2010.Read more Landsat 8 specifications for GEE: https://developers.google.com/earth-engine/datasets/catalog/LANDSAT_LC08_C01_T1_SR