Hi, I think this is the piece of documentation you are looking for. Let us know if you have any further questions regarding this.
Thanks but I am not sure I follow the actual suggestion?
How would I be able to access the to date
of the requested interval (of dateFilter.timeRange.to
) inside the evaluatePixel
function for some calculations? Or do I have to somehow provide this info somewhere myself?
I am using mosaicking.ORBIT if this makes a difference…
I looked into scenes.dateTo
, but that is not the same as the value of dateFilter.timeRange.to
, right?
UPDATE: For the moment I define a global var in the eval script with the same value as stored in dateFilter.timeRange.to
and use it in the evaluatePixel
calculation. However, this way, I always have to adapt the eval script for each request. Would be much more convenient if this could somehow be derived from the metadata or given as a custom metadata entity that is available in the evaluatePixel
function…