Commit Graph

464 Commits (86a35acd5e891880338da1ab69a307ea449cef56)

Author SHA1 Message Date
Lijun Zhu 86a35acd5e merge mzzhong/grossOffsets into pycuampcor: scripts to set varying offsets withe velocity model 2021-02-13 12:55:04 -08:00
Lijun Zhu 08c266e364 Merge https://github.com/isce-framework/isce2 into py_save 2021-02-13 12:42:05 -08:00
Bryan Marfito 4f0ed3a359
Fix Cmake lists for db folder (#235) 2021-02-11 16:35:13 -08:00
Ryan Burns 7ff05bac6e
Merge pull request #231 from lijun99/cuda-cmake
GPU modules: add GPU_ACC_ENABLED flag to cmake
2021-02-09 10:20:08 -08:00
Lijun Zhu a7c28ddc58 GPU modules: add GPU_ACC_ENABLED flag to cmake 2021-02-09 09:40:35 -08:00
Lijun Zhu 785bb40efd
GPUtopozero: change isnan reference for compatibility with gcc<6 (#229) 2021-02-08 10:07:41 -08:00
Lijun Zhu 4ddee2fdaf PyCuAmpcor: fix the help string in cuDenseOffsets.py 2021-02-06 12:02:34 -08:00
Lijun Zhu 5419353a69 PyCuAmpcor: fix the correlation surface variance estimation 2021-02-06 12:02:34 -08:00
Minyan Zhong d5e5067acd update 2021-02-06 12:02:34 -08:00
Minyan Zhong 19ee850211 fix-variance-estimation 2021-02-06 12:02:34 -08:00
Russell Grew e8da2d947a
Bash script edits to make stackSentinel.py faster in places (#225)
* plumb in num-process for time consuming steps

* refine num-process speed enhancements

* refine num-process speed enhancements

* dedicated function for writing batch processes

* refine num-process speed enhancements

* fix indents

Co-authored-by: Russell Grew <russell.grew@douglaspartners.com.au>
2021-02-04 13:58:36 -08:00
Ryan Burns 0c54c9d422
Merge pull request #227 from rtburns-jpl/cmake-fix
Fix cmake files for zerodop GPU modules
2021-02-03 09:44:35 -08:00
Ryan Burns 29bf14c518 Fix docker build
Pin fpm to last known good version - automatic version
resolution is failing
2021-02-03 09:34:14 -08:00
Ryan Burns 4d949a4300 Fix cmake files for GPUgeo2rdr
Co-authored-by: Lijun Zhu <ljzhu@gps.caltech.edu>
2021-02-03 09:10:00 -08:00
Ryan Burns b2fb154a0a
Merge pull request #228 from bjmarfito/patch-2
Changes to Cmake to include UnwrapComp folder
2021-02-02 18:41:15 -08:00
Bryan Marfito 690fe62c98
Changes to Cmake to include UnwrapComp folder
I've updated the CMakeLists.txt to include the folder UnwrapComp during installation.
2021-02-03 10:21:42 +08:00
Ryan Burns 3673da71cc Bump autoRIFT 1.0.7 -> 1.1.0 2021-02-02 16:29:29 -08:00
Ryan Burns 2b5302c7d1 Add cmake files for GPUresampslc & GPUtopozero 2021-02-02 15:52:47 -08:00
Ryan Burns 0d5b94efad Fix old-style gdal import 2021-01-13 15:16:51 -08:00
Lijun Zhu aa4d6abf99
add some includes for c header files (#221)
* add some includes for c header files

* Trim whitespace

Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2021-01-13 15:13:59 -08:00
Ryan Burns f65a51c80c
Merge pull request #219 from rtburns-jpl/gdal32
Modernize gdal imports
2021-01-06 16:56:48 -08:00
Ryan Burns ad1815ef9c Modernize gdal imports
GDAL has dropped support for the older toplevel `import gdal`
in version 3.2, now requiring `from osgeo import gdal`.
2021-01-06 13:24:26 -08:00
Ryan Burns 86b126f564
Merge pull request #208 from lijun99/pycuampcor
PyCuAmpcor updates:
2021-01-06 13:20:44 -08:00
ranneylxr 48559c6e3e
using geopandas and shapely package to calculate whether there are intersections between bbox and sentinel SAFE file. (#216)
* stackSentinel.py:using geopandas to calculate intersection between bbox and SAFE file coverage region

* stackSentinel.py:using geopandas and shapely package to calculate whether there are intersections between bbox and sentinel SAFE file. And remove import geopandas and shapely part into generate_geopolygon function

* stackSentinel.py: using shapely package to check whether bbox intersect with SAFE file coverage

* stackSentinel.py: using shapely package to check whether bbox intersect with SAFE file coverage

* stackSentinel.py:using shapely package to find whether bbox intersects with SAFE file

* stackSentinel.py:remove matplotlib DEBUG message#L14-L18
2021-01-06 13:19:55 -08:00
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
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
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
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
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
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
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
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