Commit Graph

417 Commits (9bfa2dd6db0b2dfb7889c12f77e281cea5d047cb)

Author SHA1 Message Date
Zhang Yunjun 9bfa2dd6db
topsStack: add --num-proc for step topo (#193)
* stackSentl.createParser(): align break line

+ align linebreak of help msg
+ use choices=[] for auto argument checking
+ use (default: %(default)s) to show defult value

* stackSent: bugfix for new paris if ref date is close to recent

This commit fixs the missing pair between the reference date and the new acquisitions, if the reference date is the most recent "num_conn" acquisition.

* Stack: check existing orbit with glob instead of os.path.exist(dir)

* topsStack: add --num-proc for topo step

stackSentinel: add --num-proc to pass the number of parallel processes to topo.py, so that mp.Pool() can be independent of OMP_NUM_THREADS

Co-authored-by: Zhang Yunjun <yunjunz@users.noreply.github.com>
2020-10-09 07:11:48 -07:00
Eric Fielding 6aa2d065c3
added option to pass segment number through unpackFrame_UAVSAR (#171)
* added option to pass segment number through unpackFrame_UAVSAR

* changed type of segment number

* changed segment type in prepareUAVSAR_coregstack

* Revert "changed type of segment number"

This reverts commit a18c6452d4b5c95ce869dab2ee1e3bcf6ff2b1d9.

* Revert "changed segment type in prepareUAVSAR_coregstack"

This reverts commit 6cf3ebadb3a6e119c6084c8e03b8cc68d7eccc3f.

* changed type of segment number in unpackFrame_UAVSAR
2020-10-04 16:30:18 -07:00
Ryan Burns ecf865af0b
CMake: Fix missing modules required for UAVSAR stripmap stack (#180)
* Add missing py2to3 script

* Add missing cosar extension

* Add missing rdf parser

* Add simamplitude module

Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-10-04 11:11:55 -07:00
piyushrpt 5370690b0a Pulling in PR #153 2020-10-04 11:10:24 -07:00
piyushrpt 69418047ff Fix for python3.8 multiprocessing 2020-10-04 11:10:24 -07:00
Ryan Burns ba2cb412ea
Bump autoRIFT 1.0.6 -> 1.0.7 (#191)
Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-09-14 12:52:11 -07:00
Ryan Burns 337dc9c158
Fix python extension linking (#168)
* Silence annoying FindFFTW warnings

* Fix linker errors at import-time

Python extensions are weakly linked, so linker errors can only be
caught at runtime. This commit fixes any such broken extensions,
and adds automated import testing to ctests to prevent future
regressions.

It also adds a helper function `isce2_add_staticlib` which creates a
position-independent static library suitable for usage in multiple
python extensions. This matches the SCons build scripts more closely
and allows for future extensions to be declared in a more terse and
hygienic fashion.

* Update utilLib scripts

* Update combinedLib scripts

* Update offoutliers lib scripts

* Add asa_im_decode cdll

* Update alos lib scripts

* Show ctest output upon failure

* Update DataAccessor scripts

* Remove TARGET_FILE_BASE_NAME

* Remove incomplete stdproc modules (require stanford code)

Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-09-14 10:57:10 -07:00
Zhang Yunjun f14981341d update system call of gdal2isce_xml with python interface
+ update os.system() call of gdal2isce_xml.py with the python function call, in stripmapStack/topo.py and applications/downsampleDEM.py

+ break the long lines in downsampleDEM.py for easy reading
2020-09-12 17:05:33 -07:00
Zhang Yunjun f06d22e02c topsStack/topo: use OMP_NUM_THREADS if available
for the parallel processing with multiprocessing.Pool()
2020-09-12 17:05:33 -07:00
yunjunz 6a02f79277 FilterAndCoh: use fine.cor(.full) for multilooked (full-reso) cpx cor file
topsStack/FilterAndCoherence.py:
+ add .full suffix to the complex coherence filename only if the multilook number is 1
+ for multilook number as 1, do not run looks sub-module

topsStack/Stack.filter_coherence(): add .full suffix only when azLooks * rgLooks == 1

topsStack/mergeBursts.py: add python3 at the top of script
2020-09-12 17:05:33 -07:00
Zhang Yunjun 89839bc453 extractCommonValidRegion: check stack/*.xml file existance
Otherwise, if 'stack' folder exists but is empty, the script will return ERROR as below:

```
/net/kraken/nobak/zyunjun/TonopahSenAT64/stack  already exists.
Replacing master with existing stack.
updating the valid overlap region of:
/net/kraken/nobak/zyunjun/TonopahSenAT64/stack
******************
swath:  1
Traceback (most recent call last):
  File "/home/zyunjun/tools/isce2/contrib/stack/topsStack/extractCommonValidRegion.py", line 109, in <module>
    main()
  File "/home/zyunjun/tools/isce2/contrib/stack/topsStack/extractCommonValidRegion.py", line 95, in main
    topMaster = ut.loadProduct(os.path.join(inps.master , 'IW{0}.xml'.format(swath)))
  File "/home/zyunjun/tools/isce2/contrib/stack/topsStack/s1a_isce_utils.py", line 26, in loadProduct
    obj = pm.loadProduct(xmlname)
  File "/net/kraken/home1/geomod/apps/rhel7/isce2-github/isce/components/iscesys/Component/ProductManager.py", line 25, in loadProduct
    self.load(filename)
  File "/net/kraken/home1/geomod/apps/rhel7/isce2-github/isce/components/iscesys/Component/Configurable.py", line 1407, in load
    tmpProp, tmpFact, tmpMisc = FP.parse(filename)
  File "/net/kraken/home1/geomod/apps/rhel7/isce2-github/isce/components/iscesys/Parsers/XmlParser.py", line 41, in parse
    root = ET.parse(filename)
  File "/net/kraken/home1/geomod/apps/anaconda3/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse
    tree.parse(source, parser)
  File "/net/kraken/home1/geomod/apps/anaconda3/lib/python3.7/xml/etree/ElementTree.py", line 587, in parse
    source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/net/kraken/nobak/zyunjun/TonopahSenAT64/stack/IW1.xml'
```
2020-09-12 17:05:33 -07:00
Gerald Manipon eadacbdf7a remove stanford component extraction 2020-09-12 16:22:44 -07:00
Gerald Manipon 8f57972eb8 fix autoRIFT build on centos7 and conda python 3.8
- build autoRIFT using yum-installed opencv
- fix conda dependency resolution failure
- update SConfigISCE and SConfigISCE.cuda files for python 3.8
- fix CircleCI jobs
2020-09-12 16:22:44 -07:00
Vincent Schut 278902fd1b
make sure the orbit file glob also finds files starting with S1B (#190) 2020-09-10 12:34:17 -07:00
JYC 1557a05b7b
Update AkimaLib.cpp (#186)
add using namespace bug
2020-08-26 00:00:53 -07:00
Heresh Fattahi b13d06aa3b
Merge pull request #166 from asolarte/main
Add SAOCOM sensor
2020-07-29 15:55:37 -07:00
asolarte 9983be8fe1 Cambios sugeridos por piyushrpt. Archivos modificados:
modificado:     components/isceobj/Sensor/SAOCOM_SLC.py
	modificado:     examples/input_files/reference_SAOCOM.xml
2020-07-27 13:56:07 -03:00
asolarte 5ea7981bfd Cambio en comentario Doppler SAOCOM_SLC.py 2020-07-27 12:01:51 -03:00
asolarte 2098273816 Modificaciones en el archivo de ejemplo
modificado:     examples/input_files/reference_SAOCOM.xml
2020-07-23 21:11:41 -03:00
asolarte 02f6af6910 Cambios en la lectura del polinomio para el cálculo del doppler
modificado:     components/isceobj/Sensor/SAOCOM_SLC.py
2020-07-23 20:42:14 -03:00
Ryan Burns 120b09aa4f
Merge pull request #163 from rtburns-jpl/bake-in-autorift
Bake in autoRIFT and add CMake support
2020-07-23 11:38:31 -07:00
Ryan Burns 2b95d39d98 Add opencv to circleci builds 2020-07-21 18:15:17 -07:00
Ryan Burns b1c8a599ca Add cmake scripts for autoRIFT 2020-07-21 18:04:16 -07:00
asolarte 8c2429b3a5 Incorporación de script para ingesta de datos SAOCOM. Se modifican los siguientes archivos:
modificado:     README.md
	modificado:     components/isceobj/InsarProc/Factories.py
	modificado:     components/isceobj/IsceProc/runPreprocessor.py
	modificado:     components/isceobj/Sensor/CMakeLists.txt
	nuevo archivo:  components/isceobj/Sensor/SAOCOM_SLC.py
	modificado:     components/isceobj/Sensor/SConscript
	modificado:     components/isceobj/Sensor/__init__.py
	modificado:     components/isceobj/StripmapProc/Factories.py
	modificado:     components/isceobj/Util/estimateoffsets/EstimateOffsets.py
	modificado:     components/stdproc/stdproc/__init__.py
	nuevo archivo:  examples/input_files/reference_SAOCOM.xml
2020-07-21 21:47:00 -03:00
Ryan Burns 48b6bfbccb Bake in autoRIFT 2020-07-21 14:52:28 -07:00
piyushrpt 9b3e531ac5 Adding openmp to missing modules 2020-07-18 23:54:07 -07:00
piyushrpt 2cc8178010 Use openmp for resamp_slc 2020-07-18 23:54:07 -07:00
Ryan Burns 9d9bfa0a72
Update name of main branch in CI and docs (#161)
The name of the main branch is now "main".
Documentation and CI scripts are updated accordingly.

Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-07-17 09:10:33 -07:00
Gerald Manipon f09213eb33
various updates from ARIA-related projects (#149)
* add Dockerfile and SConfigISCE to build cuda-enabled modules

* add Dockerfile and SConfigISCE to build cuda-enabled modules

* set correct name

* update for centos7 and cuda-dev image

* restore

* disable GPUampcor

* update

* save

* sync up Dockerfile updates

* fix base image

* change docker image names

* create gpu vs. cpu specific tags

* update with nodata WBD Stitcher

* fix segmentation fault when running sciflo workflows

- remove dependencies that downgrade the `geos` conda package

* sync fix for segmentation fault to cuda builds

* ping ffi to version 1.12.2

Latest version of ffi, 1.13.0, breaks installation of fpm:
```
$ sudo gem install --no-ri --no-rdoc fpm
Fetching: cabin-0.9.0.gem (100%)
Successfully installed cabin-0.9.0
Fetching: backports-3.17.2.gem (100%)
Successfully installed backports-3.17.2
Fetching: arr-pm-0.0.10.gem (100%)
Successfully installed arr-pm-0.0.10
Fetching: clamp-1.0.1.gem (100%)
Successfully installed clamp-1.0.1
Fetching: ffi-1.13.0.gem (100%)
ERROR:  Error installing fpm:
        ffi requires Ruby version >= 2.3.
```
TODO: remove pin when ffi's backwards compatiblity is restored.

* comment out unused import

* add build circleci job to PR tests

* pin ffi in cuda build

* revert logging hackery

* fix "target_include_directories called with non-compilable target type" errors

* Keep source directory for topsStack

Co-authored-by: dustinlo <dustin.k.lo@jpl.nasa.gov>
Co-authored-by: shitong01 <stchin@ntu.edu.sg>
Co-authored-by: Ryan Burns <47790121+rtburns-jpl@users.noreply.github.com>
2020-07-16 16:08:57 -07:00
Ryan Burns 1f947b4e42
Merge pull request #156 from piyushrpt/cmake
Fixing linking order and flags for mdx
2020-07-15 22:06:10 -07:00
piyushrpt 4449e78b79 fixing linking order and flags for mdx
Not using interfaces for motif
2020-07-15 21:43:12 -07:00
Heresh Fattahi bed6895391
Merge pull request #154 from isce-framework/BLM
diversity: replaced oppressive language
2020-07-15 20:33:22 -07:00
Ryan Burns 77d2f053d6
Merge pull request #157 from rtburns-jpl/gfortran10
Add argument mismatch workaround for gfortran 10
2020-07-09 15:19:55 -07:00
Ryan Burns 843f48f01f Add argument mismatch workaround for gfortran 10 2020-07-06 13:53:22 -07:00
Heresh Fattahi eb3eff61a6
Merge branch 'master' into BLM 2020-07-02 15:03:10 -07:00
Paul A Rosen e03042f4e5 diversity: replaced oppressive language with neutral definitions of the images that comprise an interferogram through the entire repository 2020-07-02 12:40:49 -07:00
Zhang Yunjun c642ab2e9a cuDenseOffset: check across oversample win size 2020-06-28 19:24:09 -07:00
Zhang Yunjun 90d578fa5d cuDenseOffsets: expose --raw-osf and --corr-win-size option
contrib/PyCuAmpcor/cuDenseOffsets.py:
+ expose --raw-over-samp-factor option to change the raw data oversampling factor with default of 2
+ expose --corr-win-size option, which by default, is calculated automatically based on the search window size and raw oversampling factor
+ change the namespace key for the oversampling factor of correlation surface from 'oversample' to 'corr_oversample' to avoid ambiguity, the cmd option name is still the same, thus no different in the user side.
+ use vrt file for master / slave slc data loading folllowing https://github.com/isce-framework/isce2/pull/78
+ re-organize createParse() for readability
+ add example to argparse help

stripmapStack/MaskAndFilter.py:
+ fix a bug introduced in #https://github.com/isce-framework/isce2/pull/112
+ add example usage to help message
+ mask pixels with SNR == 0, for plotting only without touching data files
+ show input parameter in the figure title
+ show percentage after SNR thresholding
+ add interpolation for matplotlib while plotting

topsStack/grossOffsets: move obsolete basemap import from the top to the related commented code block
2020-06-28 19:24:09 -07:00
Ryan Burns aaa6efebad
Merge pull request #136 from rtburns-jpl/cmake
CMake bugfixes and documentation
2020-06-25 11:45:36 -07:00
falkamelung 88def96714 logging.conf: larger file size 2020-06-23 11:26:36 -07:00
Ryan Burns 14db470624 Use rpaths for linked libraries 2020-06-15 22:28:08 -07:00
Ryan Burns a66dcfdb1b Merge branch 'master' into cmake 2020-06-12 18:36:55 -07:00
Ryan Burns ed25d657fa Update pycuampcor prereqs 2020-06-12 17:53:40 -07:00
Ryan Burns 53cceb221b Update GPUampcor prereqs, but disable it for now 2020-06-12 17:47:06 -07:00
Ryan Burns 98efa18f15 Use cmake findcudatoolkit 2020-06-12 17:43:54 -07:00
Cheryl edea69d4b6 added buffer margin to orbit times in get_orbit 2020-06-11 23:33:37 -07:00
shitong01 0fb49e383e fix syntax 2020-06-11 23:33:37 -07:00
shitong01 bb03d8c652 changed made by @cheryltwj to fix orbit file download edge case 2020-06-11 23:33:37 -07:00
piyushrpt a6e95fa2d3 Updating circleci config to handle alpine changes 2020-06-09 13:01:44 -07:00
dbekaert 1f2f344637
Merge pull request #147 from sssangha/sss_utilbug
Negative valid samples/lines now set to 0
2020-06-07 07:16:49 -07:00