Commit Graph

211 Commits (ba42e3ebb090d408167cdfba8bc4503b6dcfc296)

Author SHA1 Message Date
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 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 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
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 74319b24d5 Add missing Inertial.py to Orbit module 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
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
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
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 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
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 69418047ff Fix for python3.8 multiprocessing 2020-10-04 11:10:24 -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
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 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
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
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
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
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
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 53cceb221b Update GPUampcor prereqs, but disable it for now 2020-06-12 17:47:06 -07:00
CunrenLiang 5bc4cd6466
fix bug in baseline computation 2020-06-06 00:12:54 -07:00
CunrenLiang 2b8fdb3acb
fix bug in baseline computation 2020-06-06 00:12:26 -07:00
Ryan Burns c209df26ad Set up proper fortran module directories 2020-06-04 11:42:37 -07:00
sssangha 87cffaaadd Baseline bug fix 2020-06-03 17:24:09 -07:00
Ryan Burns ab5c20e629 Add envisat module 2020-05-22 15:49:10 -07:00
Ryan Burns 149b4aa29a Add GPUampcor support with proper version check 2020-05-22 15:49:10 -07:00
CunrenLiang 1afdeed3c2
minor updates 2020-05-13 16:40:52 -07:00
CunrenLiang 84d3978640
minor updates 2020-05-13 16:39:41 -07:00
CunrenLiang 708593b322
fixed a bug in radar dem matching 2020-05-13 09:54:54 -07:00
CunrenLiang f0651a311c
fixed a bug in radar dem matching 2020-05-12 22:35:28 -07:00
CunrenLiang aee2495367
improve ALOS-2 ionospheric correciton and geocode 2020-05-11 18:06:18 -07:00
CunrenLiang 28bb81ed03
improve ALOS-2 ionospheric correciton and geocode 2020-05-11 18:05:30 -07:00
Ryan Burns e68db01bf9
Merge pull request #89 from rtburns-jpl/cmake
Add CMake build system
2020-05-08 12:42:01 -07:00
Simon Kraatz fb7ad09211
pull request in response to rtcApp.py is incomplete #120 (#128)
* Update README.md
* Update runTopo.py
* Update rtcApp.py
* Update runNormalize.py
* Update SConscript
2020-05-06 15:04:58 -07:00
Ryan Burns 877ba1d05c Remove unused lib 2020-05-02 16:41:50 -07:00
Ryan Burns 4863c238e8 Merge branch 'master' into cmake 2020-05-02 16:40:26 -07:00
Ryan Burns fd963d3d21 Remove unused formslc includes 2020-05-02 16:30:10 -07:00
Ryan Burns d8c772ea29 Disable failing tests 2020-05-02 13:27:12 -07:00
Ryan Burns c08f0b55ea Enable -fPIC for StdOEL common lib 2020-05-02 12:45:23 -07:00
Ryan Burns 7cf564582a Merge branch 'master' into cmake 2020-05-02 12:32:20 -07:00
CunrenLiang 62726a5714 update ALOS-2 ionospheric correction 2020-05-02 12:11:54 -07:00
CunrenLiang c844d49b48 remove system calls 2020-05-02 12:11:54 -07:00
CunrenLiang d22bf1048f enhanced merging for ALOS-2 ionospheric correction 2020-04-26 19:18:33 -07:00
Ryan Burns 81b54197e6 Merge branch 'master' into cmake 2020-04-13 14:34:14 -07:00
Heresh Fattahi 435e802f04
Merge pull request #114 from CunrenLiang/master
add back from scipy.interpolate import interp1d
2020-04-13 13:07:01 -07:00
Ryan Burns 23f2ffaa1e
Use exist_ok argument to makedirs when appropriate (#112)
@falkamelung noted a race condition in #106 due to non-atomic directory
checking followed by os.makedirs. This pattern exists in many places
in the codebase so I went ahead and replaced the rest of them.
The new exist_ok usage should be terser and more idiomatic.
2020-04-13 12:40:32 -07:00
CunrenLiang ebe27ec44c
remove 'from scipy.interpolate import interp1d'
remove the following from routines where it is not needed:
>     from scipy import interpolate
>     from scipy.interpolate import interp1d
2020-04-13 12:34:51 -07:00
CunrenLiang c2a4a4a08e
add back from scipy.interpolate import interp1d
add back the following imports:
1709a1710,1711
>     from scipy import interpolate
>     from scipy.interpolate import interp1d
2119a2122,2123
>     from scipy import interpolate
>     from scipy.interpolate import interp1d
2020-04-13 12:11:04 -07:00
Lijun Zhu 5977d7b0dd disable GPUampcor (not used) to allow CUDA >=10.0 2020-04-09 21:01:00 -07:00
Lijun Zhu 0855bf2640 DenseOffsets with PyCuAmpcor: use '.slc.vrt' instead of '.slc' as inputs 2020-04-09 21:01:00 -07:00
Ryan Burns 34b1644956 Merge commit 'c92759a' into cmake 2020-04-08 12:03:59 -07:00
Ryan Burns a4068b0f92 Merge commit 'ed30cba' into cmake 2020-04-08 12:01:11 -07:00
Ryan Burns 85519c498d Merge commit 'f95a912' into cmake 2020-04-08 11:56:56 -07:00
Ryan Burns 4057a645a2 Merge commit '64768d4' into cmake 2020-04-08 11:05:14 -07:00
piyushrpt ed30cbac42 Cleaning up scansar modules 2020-03-31 11:33:11 -07:00
piyushrpt 50816f88ae Fix tracknumber for S1B 2020-03-31 11:33:11 -07:00
CunrenLiang f95a912462
ALOS-2 multi-mode InSAR and ionospheric correction processors (#107)
* Add files via upload

* updated tutorials and example input files

* add permissions

* add executable permission

* add executable permission to ALOS-2 applications
2020-03-28 19:19:21 -07:00
Scott Staniewicz 64768d4f36
Error messages (#105)
* move `val` definition to avoid undefined

Currently, with only one swath, or not enough points,
val doesnt get defined, so this error gets thrown:

File ".../isce/components/isceobj/TopsProc/runESD.py", line 115, in runESD
    if val.size == 0 :
UnboundLocalError: local variable 'val' referenced before assignment

the `np.array` is added so that the `val.size` check makes sense,
as opposed to doing `.size` on a list

* fix string formats in error messages
2020-03-27 21:59:13 -07:00
Michael Aïvázis ea24d2320b iscesys/DictUtils: made a copy of the configuration dict before iterating over it 2020-03-18 11:26:00 -07:00
piyushrpt d6e22a762f
Merge pull request #84 from rtburns-jpl/argcount
Bugfixes for gcc/gfortran 9
2020-03-13 22:27:19 -07:00
shitong01 655c46cc4a Remove overwrite assignment when redundant bursts encountered across scenes. 2020-03-13 10:46:49 +08:00
Ryan Burns 9bee1a326b Fix complex cast for gcc9
Fixes #57
2020-03-10 09:00:46 -07:00
Ryan Burns de0ea75272 Update dependencies 2020-02-27 08:51:27 -08:00
vbrancat 9f9f7be0d7 Inserted opencv, astropy ans scipy imports within functions 2020-02-13 17:27:07 -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
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