Commit Graph

177 Commits (32b4ac58be3f7cdb74fa3b51bf9160bf5009ec7c)

Author SHA1 Message Date
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
Ryan Burns 7274dbd2a4 Merge branch 'master' into cmake 2020-01-30 22:28:54 -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
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
HBaldwin3 7df2b44a0c Change doRubbersheeting to doRubbersheetingAzimuth. 2019-12-18 14:44:34 -06: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
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 21675df724 Bug fixes for rubbersheeting 2019-12-10 09:54:36 -08:00
Zhang Yunjun 6e4fcadce8 fix bug while calculating corrLooks for snaphu(_mcf)
Currently, the number of looks in azimuth direction is used twice instead of once while calculating the `corrLooks` value.

Below is the relevant document of `NCORRLOOKS` in SNPAHU:
https://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/snaphu.conf.full
2019-11-21 13:20:11 -08:00
Lijun Zhu d1d9516890 cuda: remove arch specific flag; add /lib64 to LIBPATH for libcuda.so for most Linux systems 2019-11-19 16:51:06 -08:00
piyushrpt 5908499c67
Merge pull request #74 from vbrancat/master
Bug fixing
2019-11-18 09:27:55 -08:00
vbrancat 5078c3ec8c Add RubbersheetRange.py and runRubbersheetAzimuth.py in SConscript 2019-11-15 20:01:56 -08:00
vbrancat 532cfa085b Fixed some bugs in rubbersheeting and runInterferogram 2019-11-13 10:33:46 -08:00
vbrancat 37a510fd2d add rubbersheetRange and rubbersheetAzimuth in Factories.py 2019-11-12 10:28:40 -08:00
Joseph H Kennedy 8042232718
Property is not callable 2019-10-28 14:51:58 -08:00
vbrancat 44cdd7dbf1 Added iterative multiplication for interferogram flattening 2019-10-15 10:28:33 -07:00
vbrancat 4631aff062 Added runInterferogram.py 2019-10-14 10:16:15 -07:00
vbrancat 31da6a36f4 Added runRubbersheetRange.py and runRubbersheetAzimuth.py, changed offset filling, moved flat-Earth removal to interferogram formation when rubber sheeting in range is on 2019-10-14 10:05:24 -07:00
Microwave Remote Sensing Laboratory 0e3b06567f
Add files via upload
changed to use imagemath.main() instead of command line
2019-09-30 15:26:54 -04:00
Microwave Remote Sensing Laboratory 14418467ae
Add files via upload
fixed issues relating to finding and selecting between orbits
2019-09-27 13:21:43 -04:00
Microwave Remote Sensing Laboratory ab805ed1a3
Update runNormalize.py 2019-09-26 16:51:54 -04:00
Microwave Remote Sensing Laboratory 9d7908beaf
Add files via upload
updated for radiometric terrain correction
control looks by providing 'posting' in xml
2019-09-26 15:25:09 -04:00
Microwave Remote Sensing Laboratory c6e8c7922e
Add files via upload
updated mainly to read the zipped datasets, remove orbit extender, try except for precise/coarse orbit
2019-09-26 15:18:08 -04:00
Ryan Burns 950708ff66 Fix mismatched iand parameter types 2019-08-26 10:49:41 -07:00
Andrew Johnston c9a6ba9fe0
Restore snaphu_mcf unwrapping option 2019-07-31 10:08:41 -08:00
shiroma 20eecc127d Updates the sensor: UAVSAR_HDF5_SLC
- fixes issues with reference UTC (when it includes microseconds);
- updates cast from complex32 to complex64 (some versions require complex64 casting through a "sink" - with statement).
2019-07-29 14:46:51 -07:00
shiroma b8f8199001 - fixing issues with reference UTC (when it includes microseconds);
- fixing the cast from complex32 to complex64 (some versions require complex64 casting through a "sink" - with statement)'
2019-07-29 09:21:28 -07:00
piyushrpt 2d95cafd11 Adding UAVSAR_HDF5_SLC to SConscript 2019-07-18 13:23:52 -07:00
piyushrpt 29bcd78842 ALOS Quad pol fix 2019-07-17 11:11:33 -07:00
hfattahi 6ca61fb42b adding UAVSAR_HDF5_SLC Sensor 2019-07-16 21:37:06 +00:00
piyushrpt 0409e03520
Merge pull request #46 from piyushrpt/iceye
Adding ICEYE_SLC Sensor
2019-06-29 16:13:24 -07:00
piyushrpt 005616e52c
Merge pull request #45 from giangijpl/master
Added downsample_snapu factory to TopsProc/Factories.py
2019-06-24 14:13:16 -07:00