Commit Graph

442 Commits (b9894e40e7308d85879d6e89285fbc45ea9b92e6)

Author SHA1 Message Date
vbrancat 9f9f7be0d7 Inserted opencv, astropy ans scipy imports within functions 2020-02-13 17:27:07 -08:00
Ryan Burns 96f2f368fe Fix typo 2020-02-13 12:03:21 -08:00
Ryan Burns 55c13b1b98 Install mdx executable to bin 2020-02-13 11:55:29 -08:00
vbrancat 7c7e43c98c bug fixes 2020-02-10 17:53:38 -08:00
vbrancat 3f01fd2f07 Modified algorithm for ionospheric phase estimation (polar regions) 2020-02-10 17:07:09 -08:00
vbrancat d7444e83ca Modified Ionospheric phase correction. It fixs previous version bugs and adds ionospheric phase correction facilities for grounded ice areas 2020-02-10 15:11:45 -08:00
piyushrpt f864b582a4
Merge pull request #94 from rtburns-jpl/isce-homing
Remove internal usage of ISCE_HOME env variable
2020-02-04 22:46:10 -08:00
Ryan Burns dbeb7f5121 Remove old comment 2020-02-04 16:03:25 -08:00
Ryan Burns 81fee920ad Add isce2 applications to $PATH 2020-02-03 17:52:44 -08:00
Ryan Burns 0e8b330fe2 Add demStitch extension module 2020-02-03 17:52:12 -08:00
Ryan Burns 66df719e71 Add isceobj.Sensor.ScanSAR 2020-02-03 17:51:39 -08:00
Ryan Burns 5d6a731753 Remove internal usage of ISCE_HOME env variable
ISCE_HOME was only used to get the location of the default logging config.
Lots of scripts were using boilerplate to set up this config, so I added
an `isce.logging` helper module which is the same as builtin python logging
but already has the configuration defaults set up for isce.

ISCE_HOME setup is retained in the toplevel `__init__.py`
but can now be removed without affecting functionality.
2020-02-03 14:01:57 -08:00
Ryan Burns 6a5ae46e4e Fix rpath by installing shared libs to system path 2020-02-03 11:58:38 -08:00
Ryan Burns 7274dbd2a4 Merge branch 'master' into cmake 2020-01-30 22:28:54 -08:00
piyushrpt 8c972e9857
Merge pull request #93 from rtburns-jpl/trackCRs
Fixes for trackCRs script
2020-01-27 22:20:51 -08:00
Ryan Burns 35ca7db85e Fix trackCRs script
* Strip leading zero from LLH list
* Cast slice bounds to ints
* Use comma delimiter for reading CSVs
2020-01-22 10:07:18 -08:00
Ryan Burns a626ae759f Add main X11 to mdx link libraries 2020-01-08 12:10:14 -08:00
Ryan Burns aa140d5f79 Fix X11 lib detection 2020-01-08 12:08:23 -08:00
Eric J. Fielding db51787372 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2020-01-07 14:51:56 -08:00
Heresh Fattahi aa1e777083
Merge pull request #92 from yunjunz/stack_readme
stack: convert README.txt to README.md
2020-01-06 09:15:53 -08:00
Zhang Yunjun 62871d9806 topsStack: convert README.txt to README.md
+ contrib/stack/topsStack:
   - convert README.txt to README.md
   - add AUX_CAL file download instruction
   - add note for DEM preparation from stripmapStack/README.md

+ contrib/stack:
   - merge References.txt and INSTALL.txt to README.md
   - remove the duplicated README_stripmap/topsStack.txt files.
2020-01-05 19:02:29 -08:00
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