opera-adt / disp-s1

OPERA Displacement workflows
Other
5 stars 8 forks source link

Add an ampltiude pre-processor to convert saved mean/dispersion into one input per burst #78

Open scottstanie opened 4 months ago

scottstanie commented 4 months ago

After we move to storing means/ dispersions in the CCSLCs, we need to convert them into single rasters for the current PS input format. The mean will use something like

$$ \mu{total} = (\sum{i=1}^k \mu_i Ni) / (\sum{i=1}^k N_i) $$

with similar idea for $\sigma^2_{total}$.

To minimize changes to the SAS, we can run a function on each CCSLC burst stack and produce one amplitude_mean.tif and one amplitude_dispersion.tif per burst.