Commit Graph

97 Commits (337dc9c1580af3ccb97fcb4d4b6b6c87fdd55ab4)

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
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
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
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
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 d8c772ea29 Disable failing tests 2020-05-02 13:27:12 -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 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
shitong01 655c46cc4a Remove overwrite assignment when redundant bursts encountered across scenes. 2020-03-13 10:46:49 +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