Commit Graph

321 Commits (536c191cb7443e63cfe088eaefdc8b20bfa421d0)

Author SHA1 Message Date
Zhang Yunjun 1b70f52f91 stripmapStack: convert README.txt to README.md
+ convert README.txt to README.md

+ stackStripMap.py: group iono options in createParser()
   - group all iono options in createParser() for more easily navigation in --help.

   - fix typos in the descriptions for the script and --dem option.
2020-01-05 18:46:00 -08:00
piyushrpt 90310c3211
Merge pull request #91 from yunjunz/water_mask
stripmapStack: generate water mask in radar coord
2020-01-04 15:25:05 -08:00
Zhang Yunjun ad51158a44 stripmapStack: add function createWaterMask to config_master_*
Stack.py: add function call to create water mask file in radar coordinates in the step one "run_1_master_*"

createWaterMask.py: fill pixels without DEM data with value of -1, same as water body
2020-01-03 16:45:59 -08:00
Zhang Yunjun b2f3204595 stripmapStack/createWaterMask: add --dem_file opt
add -d / --dem_file option to input DEM file as an alternative for --bbox option.

add dem2bbox() to grab bbox from existing DEM file

adjust download_waterMask() that: if DEM file is input, put downloaded water body mask file to the same directory as the DEM file.

adjust the default water mask file in radar coordinates that:
1. in the same directory as the input lat/lon files
2. named as "waterMask.rdr" instead of "swbdLat_*.wbd.rdr"

add example docstring and update parser description.
2020-01-03 16:45:59 -08:00
Heresh Fattahi 8aad70124b
Merge pull request #87 from yunjunz/geometry
stripmapStack: generate multilooked geometry files
2020-01-03 15:59:30 -08:00
Heresh Fattahi 2691462fd2
Merge pull request #90 from hfattahi/master
bug fixes in stripmapApp
2020-01-02 10:11:09 -08:00
Heresh Fattahi 0704e98ac4 remove a commented out line 2019-12-26 23:08:17 -08:00
Heresh Fattahi 0b3d49744d fixing bug in naming interferogram without rubbersheeting 2019-12-26 23:02:35 -08:00
Heresh Fattahi f43daae015
Merge pull request #88 from HBaldwin3/helen-azimuth
Change doRubbersheeting to doRubbersheetingAzimuth.
2019-12-24 22:38:18 -08:00
Zhang Yunjun 18bd583ec2 topo: multilook geometry file with gdal_translate 2019-12-24 16:29:40 -08:00
Ryan Burns 46fef17f39 Add CMake build system
This commit adds experimental CMake build support for ISCE2.

The only changes involved should be adding CMakeLists.txt files.
All current source files, headers, and other functionality, including
the existing SCons build system, should be unaffected.

Some functionality is still a work-in-progress.
These should all be marked as TODO in the CMakeLists.txt files.
`grep TODO **.txt`

Please read CMakeLists.txt and .cmake/*.cmake for more info.
2019-12-21 17:34:50 -08:00
HBaldwin3 851858b228 Update runRubbersheetAzimuth.py
Add "from scipy import ndimage"
2019-12-19 19:13:43 -06:00
Zhang Yunjun 6061697fb9 stripmapStack: generate multilooked geometry files
Stack:
+ add alks and rlks options in config.topo()

topo: if number of looks is larger than 1, generate multilooked geometry files
+ generate `geom_master` folder in the root directory, same level as `Igrams`
+ import mroipac.looks.Looks module to multilook the full resolution geometry files from `./merged/geom_master`
+ copy over the full resolution xml/vrt files from `./merged/geome` to `./geom_master` as `*.full.xml/vrt` files, to support the number of looks extraction for mintpy
+ bug fixed in extractInfo(). This was not a problem before because the default values are 1 and the custom values from argument was not inputed in the config file.
2019-12-18 17:00:38 -08:00
HBaldwin3 7df2b44a0c Change doRubbersheeting to doRubbersheetingAzimuth. 2019-12-18 14:44:34 -06:00
piyushrpt 48fda5a647
Merge pull request #85 from rtburns-jpl/malloc_h
Remove use of malloc.h
2019-12-17 23:26:20 -08:00
Eric J. Fielding baf2ae6e35 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-12-17 18:08:13 -08:00
Ryan Burns 6b42742b00 Remove use of malloc.h
This header is deprecated and Linux-specific.
The standard include for malloc should be stdlib.h.
2019-12-17 13:38:09 -08:00
piyushrpt db8930151f
Merge pull request #82 from rtburns-jpl/hide-imports
Hide rubbersheeting scipy/astropy imports
2019-12-16 21:12:55 -08:00
Ryan Burns e2a81bbd6a Hide scipy imports for stripmapapp 2019-12-16 15:43:04 -08:00
Ryan Burns 537bae03d9 Hide rubbersheeting scipy/astropy imports
Recent rubbersheeting changes added scipy and astropy imports which
are not otherwise needed. Due to isce2's eager import behavior this
causes errors when using unrelated functionality. We can fix this
by tucking these imports away inside their function definitions.

To reproduce:
`python3 -c "import isce; from stripmapApp import Insar"`
(without scipy/astropy installed)
2019-12-16 15:43:04 -08:00
piyushrpt 54d7237329
Merge pull request #83 from rtburns-jpl/version
Simplify python version info
2019-12-16 13:43:45 -08:00
Ryan Burns 80d25ca727 Simplify python version info 2019-12-14 19:49:51 -08:00
piyushrpt 20b21b73d1
Merge pull request #81 from piyushrpt/rubbersheet
Rubbersheeting bug fixes
2019-12-14 11:14:35 -08:00
piyushrpt 21675df724 Bug fixes for rubbersheeting 2019-12-10 09:54:36 -08:00
piyushrpt f1238856e1 Merge remote-tracking branch 'upstream/master' into rubbersheet 2019-12-09 15:46:02 -08:00
Heresh Fattahi 4685bed292
Merge pull request #80 from yunjunz/stripmapStack_unwrap
stripmapStack/unwrap: uncomment corrLooks for snaphu
2019-12-05 22:02:44 -08:00
Eric J. Fielding 36e7012e66 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-12-03 16:41:41 -08:00
piyushrpt 1cd1ebddce
Merge pull request #79 from yunjunz/snaphu
fix bug while calculating corrLooks for snaphu(_mcf)
2019-11-21 22:08:56 -08:00
Zhang Yunjun 43aee1dcb3 stripmapStack/unwrap: adjust indentation 2019-11-21 13:35:21 -08:00
Zhang Yunjun 6e4fcadce8 fix bug while calculating corrLooks for snaphu(_mcf)
Currently, the number of looks in azimuth direction is used twice instead of once while calculating the `corrLooks` value.

Below is the relevant document of `NCORRLOOKS` in SNPAHU:
https://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/snaphu.conf.full
2019-11-21 13:20:11 -08:00
Zhang Yunjun 6e36a73fb0 stripmapStack/unwrap: enable corrlooks for SNAPHU
Stack:
+ add alks and rlks while writing config file for unwrap

unwrap:
+ calculate the az/rg spacing/resolution and the equivalent number of independent looks in extractInfoFromPickle()
+ uncomment corrlooks setting in runUnwrap()
2019-11-21 10:58:28 -08:00
piyushrpt 52d96c0d95
Merge pull request #75 from lijun99/setup-py3
setup/setup.py: update modules to work with newest versions of python3
2019-11-20 11:46:54 -08:00
piyushrpt 8efe8cabfe
Merge pull request #77 from lijun99/cuampcor
PyCuAmpcor: updated to the most recent version with gdal input
2019-11-20 11:46:11 -08:00
piyushrpt 14cdd2cb00
Merge pull request #76 from lijun99/cuda
cuda: remove arch specific flag; add /lib64 to LIBPATH for libcuda.so…
2019-11-20 11:39:08 -08:00
Lijun Zhu df4db88ffa PyCuAmpcor: updated to the most recent version with gdal input 2019-11-19 16:59:49 -08:00
Lijun Zhu d1d9516890 cuda: remove arch specific flag; add /lib64 to LIBPATH for libcuda.so for most Linux systems 2019-11-19 16:51:06 -08:00
Lijun Zhu 5bd6e15a43 setup/setup.py: update modules to work with newest versions of python3 2019-11-19 16:40:56 -08:00
piyushrpt b19dff1eb4 fix merge 2019-11-18 11:47:38 -08:00
piyushrpt 5908499c67
Merge pull request #74 from vbrancat/master
Bug fixing
2019-11-18 09:27:55 -08:00
vbrancat cf66fb0789 added astropy to conda installation 2019-11-18 08:29:50 -08:00
vbrancat 5078c3ec8c Add RubbersheetRange.py and runRubbersheetAzimuth.py in SConscript 2019-11-15 20:01:56 -08:00
vbrancat 532cfa085b Fixed some bugs in rubbersheeting and runInterferogram 2019-11-13 10:33:46 -08:00
vbrancat 37a510fd2d add rubbersheetRange and rubbersheetAzimuth in Factories.py 2019-11-12 10:28:40 -08:00
piyushrpt ed8f32e8b8
Merge pull request #73 from piyushrpt/autorift
Look for autorift and install if found
2019-11-12 09:19:01 -08:00
piyushrpt 959a278e47 Look for autorift and install if found 2019-11-11 10:51:39 -08:00
piyushrpt 431f857ba7 Look for autorift 2019-11-11 10:42:11 -08:00
piyushrpt 535a6da6e3
Merge pull request #71 from jhkennedy/property-fix
Orbit.minTime property is not callable
2019-10-28 18:57:49 -07:00
Joseph H Kennedy 8042232718
Property is not callable 2019-10-28 14:51:58 -08:00
Heresh Fattahi 629f09755b
Merge pull request #69 from vbrancat/master
Range rubber sheeting modifications
2019-10-18 09:13:15 -07:00
vbrancat 44cdd7dbf1 Added iterative multiplication for interferogram flattening 2019-10-15 10:28:33 -07:00