Closed bjmarfito closed 3 years ago
I've finally solved it. I've run the processing up until the dense offsets. Afterwards, the reference and secondary.slc.full files appeared on the merged folder.
My apologies for the noise.
hi, @bjmarfito , I have the same question like you , i do not know how the isce produce the .slc.full file, can you show me the comand line of how you get the .slc.full file? thank you very much.
@jhkennedy have we seen this issue on our end?
@guangbaoshen as @bjmarfito mentions, you'll need to run ISCE up to the merge bursts steps. On the command line, that'll look like:
${ISCE_HOME}/applications/topsApp.py topsApp.xml --end=mergebursts
You'll have to make the topsApp.xml
file for ISCE -- I've made a python helper function to do that which might be useful to you
def format_tops_xml(reference, secondary, polarization, dem, orbits, xml_file='topsApp.xml'):
xml_template = f""" <?xml version="1.0" encoding="UTF-8"?>
<topsApp>
<component name="topsinsar">
<component name="reference">
<property name="orbit directory">{orbits}</property>
<property name="auxiliary data directory">{orbits}</property>
<property name="output directory">reference</property>
<property name="safe">['{reference}.zip']</property>
<property name="polarization">{polarization}</property>
</component>
<component name="secondary">
<property name="orbit directory">{orbits}</property>
<property name="auxiliary data directory">{orbits}</property>
<property name="output directory">secondary</property>
<property name="safe">['{secondary}.zip']</property>
<property name="polarization">{polarization}</property>
</component>
<property name="demfilename">{dem}</property>
<property name="do interferogram">False</property>
<property name="do dense offsets">True</property>
<property name="do ESD">False</property>
<property name="do unwrap">False</property>
<property name="do unwrap 2 stage">False</property>
<property name="ampcor skip width">32</property>
<property name="ampcor skip height">32</property>
<property name="ampcor search window width">51</property>
<property name="ampcor search window height">51</property>
<property name="ampcor window width">32</property>
<property name="ampcor window height">32</property>
</component>
</topsApp>
"""
with open(xml_file, 'w') as f:
f.write(textwrap.dedent(xml_template))
I got it, thank you very much! @jhkennedy
I am having problems running testautoRIFT_ISCE.py using the processed Sentinel-1 images using ISCE. I've processed the images using ISCE until the mergebursts step. Then, I've run the testGeogrid.py to generate a window location which ran successfully. However, when I ran the testautoRIFT_ISCE.py an error pops up.
Below is the command I've run on the terminal using the reference and secondary slc.full files and the accompanying error message.
Though, I noticed that autoRIFT is reading the xml files instead since ISCE didn't produce the .slc.full files.
I've also ran the VRT files of the slc.full files and it produced the same error. Below is the output from the terminal.
If ISCE doesn't produce those files right away, what are the methods available to produce .slc.full files so I would be able to process them in autoRIFT?