Skip to content

Error : no picture for geemap.landsat_timeseries in china #358

Answered by ErikSeras
Liluoq asked this question in Q&A
Discussion options

You must be logged in to vote

Apparently there are no satellite images in that area in 1985. Try running tests starting in 1986.

Map = geemap.Map()

rect = ee.Geometry.Polygon(
    [[
      [90, 33],
      [92, 33],
      [92, 31],
      [90, 31],
      [90, 33]
    ]], None, False
)

# rect_fea=ee.FeatureCollection(rect)
collection = geemap.landsat_timeseries(
    roi=rect, start_year=1986, end_year=2019,
    start_date='06-10', end_date='09-20', apply_fmask=False
)

first_image = collection.first()

vis = {
'bands': ['NIR', 'Red', 'Green'],
'min': 0,
'max': 4000,
'gamma': [1, 1, 1]
}
# print(collection.size().getInfo())

Map.centerObject(first_image, zoom=10)
Map.addLayer(first_image, vis, 'First image')
Map

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Liluoq
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants