Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
Is there a possibility to create a variable containing the imageCollection chosen in a different selection Widget?

I am trying to create a split map in GEE which allows me to compare 2 datasets stored as imagecollections, which both have 2 bands and 1 image for each year. It should work with this selection dropdown menu:

Unfortunately I have not been abled to make the band and year selection work properly, because it depends on which dataset is chosen. Is there some way to do this which is comparable to this idea that works, or a different way?:

var images = {
  'Dataset1': ee.ImageCollection([Set1_2013, Set1_2014...]),
  'Dataset2': ee.ImageCollection([Set2_2013, Set2_2014,...])};

var band = {
'band_1': images.select('b1').visualize({min: 0, max: 830, palette: col_palette}),
'band_2': images.select('b2').visualize({min: 0, max: 830, palette: col_palette})}

var year = {
'2013': images.filter(ee.Filter('2013-01-01', '2013-12-31')),
'2014': images.filter(ee.Filter('2014-01-01', '2014-12-31'))}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!