relativeorbit / fufiters

run hyp3-isce2 via github actions
MIT License
2 stars 0 forks source link

Ability to override additional isce2 settings #2

Closed scottyhq closed 5 months ago

scottyhq commented 6 months ago

Currently, hyp3-isce2 only exposes several isce2 settings such as range looks and azimuth looks and creates a topsApp.xml file one the fly using a template (https://github.com/ASFHyP3/hyp3-isce2/blob/develop/src/hyp3_isce2/templates/topsapp.xml).

It would be nice to provide an "escape hatch" to provide a custom topsApp.xml for full control over all the settings (filter sizes, offset search windows, etc)

scottyhq commented 5 months ago

in final fufiters branch https://github.com/relativeorbit/hyp3-isce2/tree/fufiters this can be accomplished by having a fufiters.xml in the processing directory, like the one below. properties are merged with hyp3-isce2 defaults into a single topsApp.xml:

<?xml version="1.0" encoding="UTF-8"?>
<topsApp>
  <component name="topsinsar">
    <!-- <property name="offset geocode list">['merged/filt_dense_offsets.bil','merged/dense_offsets_snr.bil']</property> -->
    <property name="Ampcor window width">32</property> 
    <property name="Ampcor window height">16</property> 
    <property name="Ampcor search window width">16</property> 
    <property name="Ampcor search window height">16</property> 
    <property name="Ampcor skip width">20</property> 
    <property name="Ampcor skip height">4</property>   
  </component>
</topsApp>