Commit Graph

93 Commits (9f3ed02c89d775061f100e568f0d03d32e53646d)

Author SHA1 Message Date
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