Commit Graph

563 Commits (85463f182a71f9c2e1053be1ac9ec029e25bc638)

Author SHA1 Message Date
Lijun Zhu 7e9c86910a PyCuAmcpor: set default gpu id to 0 in cuDenseOffsets.py; the auto seek with a negative value is now disabled 2020-12-15 13:33:34 -08:00
CunrenLiang fb96c54581 Update ion_subband.py
correct variable name
2020-12-06 12:07:48 -08:00
Lijun Zhu 6d9f088975 PyCuAmpcor: cuDenseOffsets.py towork with input varying gross offsets 2020-11-30 10:30:23 -08:00
Minyan Zhong c399d3fa03 clean up and update grossOffsets 2020-11-30 00:49:28 -08:00
CunrenLiang ab8b0f4755 Update create_cmds.py
add comments about identifying bad pairs
2020-11-26 23:40:29 -08:00
Lijun Zhu 94caa1ea5c PyCuAmpcor: more code cleanup
* replace tabs with spaces to align the code

  * remove extra spaces at the end of lines

  * add more docstrings
2020-11-25 12:55:38 -08:00
CunrenLiang 5a8bf7633e Merge remote-tracking branch 'upstream/main' into main 2020-11-23 21:23:58 -08:00
CunrenLiang e51f25aa80 Update SConscript
for resolving conflicts with recent commit
2020-11-23 21:08:17 -08:00
CunrenLiang 6a43886a72 remove comments about update from codes 2020-11-23 20:34:57 -08:00
CunrenLiang b9894e40e7 Update ALOS.py
remove update info from code.
2020-11-23 20:19:47 -08:00
CunrenLiang 59b2738c8c Merge branch 'main' of https://github.com/CunrenLiang/isce2 into main 2020-11-23 20:13:41 -08:00
CunrenLiang 54626df56a Update runIonSubband.py
use if false instead of commenting out codes
2020-11-23 20:13:33 -08:00
CunrenLiang fd28d2e126
Update runIonFilt.py
delete functions not used
2020-11-22 20:44:52 -08:00
CunrenLiang 2637bb6a9e
Update runIonCorrect.py
remove author info
2020-11-22 20:36:18 -08:00
Ryan Burns f44a0edf1d
Merge pull request #158 from rtburns-jpl/odr
Fix violations of ODR
2020-11-18 13:04:31 -08:00
Lijun Zhu 38646456d3 PyCuAmpcor: code cleanup, add docstrings 2020-11-17 23:22:37 -08:00
Ryan Burns 74319b24d5 Add missing Inertial.py to Orbit module 2020-11-17 16:18:49 -08:00
Ryan Burns a9cc014094 Enable -fno-common by default to catch ODR violations
This should prevent ODR-violating code in the future
2020-11-17 16:18:49 -08:00
Ryan Burns f65f26e3cc Move global vars from .h to separate TU
These global variables were instantiated in the image_sio.h header
and included into multiple translation units, violating ODR.
They are now marked as 'extern' and declared in a separate TU.
2020-11-17 16:18:42 -08:00
CunrenLiang 5634f5fa32 Update ion_check.py 2020-11-17 10:59:25 -08:00
Ryan Burns e751732c0f Privatize sardata structs
These duplicated names spanning translation units violate ODR.
They are only used within their corresponding .c files and thus
can be given static linkage.
2020-11-17 02:58:04 -08:00
Ryan Burns 2e44cabf67 Release 2.4.2
Also adds version info for post-svn releases
2020-11-16 11:37:06 -08:00
CunrenLiang 4e47909428 Update ion_filt.py
minor update
2020-11-15 01:00:27 -08:00
Lijun Zhu a393282b69 PyCuAmpcor updates:
* added a README.md for installation/user guide/procedures

  * modified the cuDenseOffsets.py
     * expose more options from the CUDA/C++ program
     * add an option for varying gross offset input
     * clarify the parameter definitions

  * removed old SlcImage implementation and cublas dependence

  * modified cuSincOversampler
    * to be consistent with cpu version
    * fix an issue when the extraction of the search window is not around the center

  * added a debug mode to output intermediate results

  * enable cuda error checking for both Debug/Release build types

  * corrected the code to extract raw images when the correlation surface peak is close to edges

  * Move utf-8 decoding step inside cython extension

    The cython setters take python strings, but the getters return
    python bytes, so this makes the types match up. I went with regular
    python strings for the interface since they are more common at the
    python level, so the encoding/decoding is now an implementation detail
    of the cython extension.

Contributed by lijun99, rtburns-jpl, vbrancat, mzzhong
2020-11-12 15:02:44 -08:00
CunrenLiang 78a5ddead6 use for loops for dates/pairs processing 2020-11-09 12:43:12 -08:00
Bryan Marfito ab5a867d4b Update runResamp.py
Corrected some spelling errors.
2020-11-07 21:27:46 -08:00
Bryan Marfito ccaad6f47d Update runCrossmul.py
Corrected some spelling errors.
2020-11-07 21:27:28 -08:00
Bryan Marfito 4de4c6314e Update runCoregSd.py
Corrected some spelling errors.
2020-11-07 21:27:12 -08:00
Vincent Schut 5c806c42ce fix for AzimuthNoiseVectors with a lineCount of 1. 2020-11-07 21:26:36 -08:00
CunrenLiang b341c669b0 Add files via upload 2020-11-07 16:06:02 -08:00
CunrenLiang 6b0a0ac4d4 add new files to cmakelists 2020-11-07 16:06:02 -08:00
Cunren Liang 6cecbe9e11 add executable permission 2020-11-07 16:06:02 -08:00
CunrenLiang 5e4d1604dc put temporary files in a better place 2020-11-07 16:06:02 -08:00
CunrenLiang a7b0287a0c option for discarding burst properties in TOPS ionosphere estimation 2020-11-07 16:06:02 -08:00
CunrenLiang 9837bf381c handling PRF change for ALOS-1 raw data 2020-11-07 16:06:02 -08:00
CunrenLiang e9bd7edeb3 new alosStack application 2020-11-07 16:06:02 -08:00
CunrenLiang 3aa234c515 fix TerraSAR-X parameter bugs
fixed bugs in getting range bandwidth, chirp slope, pulse duration and range sampling frequency
2020-11-07 16:06:02 -08:00
CunrenLiang 0fac7ff930 minor bug fix 2020-11-07 16:06:02 -08:00
CunrenLiang 0eda6428a9 updated filtering of ALOS-2 ionospheric phase
1. updated filtering of ionospheric phase
2. updated mosaicking of subswath subband interferograms.
2020-11-07 16:06:02 -08:00
Rakib Fiha d50845c87a
Fixed line formating in readme (#198)
* Fix readme format
2020-10-26 08:16:32 -07:00
Eric Fielding c601204942
Added code to stripmapStack/topo.py to work with newer GDAL (#196)
* 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

* Added code to stripmapStack/topo.py to explicitly create the `geom_reference/hgt.rdr.vrt` file to work with newer GDAL
2020-10-24 09:36:08 -07:00
Zhang Yunjun 55b9d2c037
topsStack: ignore coreg_secondary images with inconsistent num of bursts (#195)
* ImageLib: fix str syntax

* stackSentl: rename slc workflow merge for consistency

rename the mergeSLC step in "slc" workflow, to be consistent with the other workflows.

* topsStack: check inconsistent num of bursts in secondary images

+ extractCommonValidRegion.py: add dropSecondarysWithDifferentNumberOfBursts() to discard those acquisitions during the common region calculation

+ mergeBursts.py: skip secondarys with inconsistent num of bursts by raise exception and exit

+ s1a_isce_utils.adjustValidSampleLine_V2(): remove a redundant line

Co-authored-by: Zhang Yunjun <yunjunz@users.noreply.github.com>
2020-10-24 09:31:48 -07:00
Vincent Schut 3fb325a51e don't assume sensor.extractImage supports a removeNoise arg 2020-10-19 09:47:24 -07:00
Vincent Schut e34ddf7515 add line to example rtcApp.xml in readme. 2020-10-19 09:47:24 -07:00
Vincent Schut c84509e2d1 implement noise correction parameter for rtcApp. 2020-10-19 09:47:24 -07:00
Vincent Schut b1bbf0f10f implementation of thermal noise removal 2020-10-19 09:47:24 -07:00
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