Skip to content

Commit

Permalink
Added more markdown in the notebook. Added functionality for custom u…
Browse files Browse the repository at this point in the history
…nwrapping with snaphu. Added checks to avoid rerunnning some of the functions. Delted some unnecessary scripts from uavsar_utils directory. (#56)
  • Loading branch information
bhuvankumaru authored Jul 26, 2024
1 parent 70215a7 commit 7b4aea7
Show file tree
Hide file tree
Showing 8 changed files with 1,034 additions and 816 deletions.
613 changes: 467 additions & 146 deletions methods/uavsar/UAVSAR_Stack_Processing_ISCE.ipynb

Large diffs are not rendered by default.

168 changes: 0 additions & 168 deletions uavsar_utils/cat_and_interfere_py3.py

This file was deleted.

25 changes: 25 additions & 0 deletions uavsar_utils/insar.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import itertools as mit
import numpy as np
import os
import isce
import isceobj


# Taken from raster.py by Brian Hawkins, JPL.
Expand Down Expand Up @@ -242,3 +244,26 @@ def correlation(intf, amp, cor):
break
for f in (fint, famp, fcor):
f.close()

def isce_xml_ifg(ifg_file, amp_file, coh_file, samples):
outInt = isceobj.Image.createIntImage()
outInt.setFilename(ifg_file)
outInt.setWidth(samples)
outInt.setAccessMode('read')
outInt.renderHdr()
outInt.renderVRT()

outAmp = isceobj.Image.createAmpImage()
outAmp.setFilename(amp_file)
outAmp.setWidth(samples)
outAmp.setAccessMode('read')
outAmp.renderHdr()
outAmp.renderVRT()

outCor = isceobj.Image.createImage()
outCor.setFilename(coh_file)
outCor.setWidth(samples)
outCor.setAccessMode('read')
outCor.setDataType('FLOAT')
outCor.renderHdr()
outCor.renderVRT()
94 changes: 0 additions & 94 deletions uavsar_utils/pair.py

This file was deleted.

Loading

0 comments on commit 7b4aea7

Please sign in to comment.