Access multiple images in custom script?

Quick question, is the custom script function limited to the current image only or can it address other images in the archive for the same location? Thanks.

Yes, we call this “multi-temporal processing”. Find some info here:

Some examples here:

Note that you need to set TEMPORAL=true to the request when running multi-temporal (you can configure this in Configuration utility as well, among Advanced layer parameters)