Commit Graph

307 Commits (7cf564582aeff02d2bc5c5429b35183aecebb0d1)

Author SHA1 Message Date
Ryan Burns 7cf564582a Merge branch 'master' into cmake 2020-05-02 12:32:20 -07:00
Ryan Burns 2caaede24c Add preliminary circleci config 2020-05-02 12:31:15 -07:00
CunrenLiang 62726a5714 update ALOS-2 ionospheric correction 2020-05-02 12:11:54 -07:00
CunrenLiang fba6542a10 update instructions in example input xml files 2020-05-02 12:11:54 -07:00
CunrenLiang c844d49b48 remove system calls 2020-05-02 12:11:54 -07:00
CunrenLiang 62e8abe85b fix the problem in downloading NASA DEM 2020-05-02 12:11:54 -07:00
Heresh Fattahi 9e7e090548
Merge pull request #113 from mirzaees/stack_runfiles
Stack runfiles
2020-05-02 10:13:25 -07:00
Zhang Yunjun 0b1b618363 gdal2isce_xml: move code from main() to sub-function
move the funcationality code from main() to a new function gdal2isce_xml() so that it can be called in a python way in other scripts, instead of using os.system().
2020-05-01 22:14:41 -07:00
Sara Mirzaee a24f0e99bf Merge branch 'stack_runfiles' of https://github.com/mirzaees/isce2 into stack_runfiles 2020-05-01 14:53:51 -05:00
Sara Mirzaee 08e3849945 looping over lines instead of reading the whole file 2020-05-01 14:45:48 -05:00
Sara Mirzaee fe097c906a add --rmFilter to stackSentinel.py 2020-05-01 14:44:59 -05:00
Ryan Burns 882df30eb6 Add rtcApp 2020-04-27 12:06:07 -07:00
CunrenLiang d22bf1048f enhanced merging for ALOS-2 ionospheric correction 2020-04-26 19:18:33 -07:00
CunrenLiang 9794a75f55 use FFTW to speed up filtering 2020-04-26 19:18:33 -07:00
sssangha e96a110221 Download of nasadem now supported in dem.py 2020-04-20 18:24:12 -07:00
sssangha be959c3b27 Download of nasadem now supported in dem.py 2020-04-20 18:24:12 -07:00
Eric Fielding b7423d7aa4 Update Readme.md Macports list
Need to also install the `py36-gdal` to use it in Python
2020-04-16 21:07:55 -07:00
Ryan Burns 74f6473d4a
Revert exist_ok changes to scons files (#116)
Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-04-16 09:41:15 -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
Sara Mirzaee e1729de5a8
fix bug: some lines were commented by mistake 2020-04-11 11:50:10 -04:00
Lijun Zhu 4cc13950a8 PyCuAmpcor: add gdal lib to link 2020-04-09 21:01:00 -07:00
Lijun Zhu 5977d7b0dd disable GPUampcor (not used) to allow CUDA >=10.0 2020-04-09 21:01:00 -07:00
Lijun Zhu 62a10d4c0d topsStack/cuDenseOffsets: call (included not standalone) PyCuAmpcor properly 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
Lijun Zhu 434a71322f PyCuAmpcor: fixed #include gdal headers 2020-04-09 21:01:00 -07:00
Forrest Williams 16b7e10d32
Fix Burst Loading in Estimate Range and Azimuth Misreg (#110)
* Fix burst loading in estimateAzimuthMisreg.py

Within the for loop that starts at line 82, looping through range(minBurst, maxBurst) misses the burst with the maximum burst number. In cases where only one burst in a swath is used, the script fails at line 90 when .getWidth() is called on an empty xml. This issue can be fixed by adding the line maxBurst = maxBurst + 1

* Fix burst loading in estimateRangeMisreg.py

Similar to estimateAzimuthMisreg.py, calling range(minBurst,maxBurst) at line 185 will lead to an empty list and the some bursts not being loaded unless line 181 is changed from maxBurst = maxBurst - 1 to maxBurst = maxBurst +1
2020-04-09 20:57:44 -07:00
Sara Mirzaee dc97d160a4 add fine.unw to remove the effect of filtering 2020-04-09 01:14:26 -05:00
Sara Mirzaee 97b7800fda make a separate run_file for some functions to better allocate time and memory 2020-04-09 01:13:36 -05:00
Ryan Burns 82e2d916e1 Use exact library output name
Alos2filter expects a .so library, but macOS defaults to .dylib,
so we must override the library prefix/name/suffix.
2020-04-08 14:40:54 -07:00
Ryan Burns 4935b33a32 Add alos2proc_f python package initializer 2020-04-08 12:19:03 -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
CunrenLiang c92759a7db
minor updates to ALOS-2 tutorial and input files (#111)
* minor updates to ALOS-2 tutorial and input files

* replace the old wbd.py that cannot correct the missing tile problem
2020-04-07 22:55:51 -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
Falk Amelung 7fb9142f1d
Falkamelung/mergeburst race cond (#106)
* race condition fix: avoids raising of exception when multiple jobs create dir at same time
2020-03-25 19:14:37 -07:00
piyushrpt e0b7ad05a1
Merge pull request #103 from yunjunz/mask
stripmapStack/MaskAndFitler: more plotting options
2020-03-23 21:47:54 -07:00
Zhang Yunjun 17b22417fd topo: add more arguments for runMultilookGdal()
+ add in_ext/out_ext/fbase_list for more flexibility

+ fix bug for .full.xml file copying when input/output are in the same directory
2020-03-23 17:09:04 -07:00
Zhang Yunjun b0cecb64cb createWaterMask: add --fill option
+ add --fill option to be able to change the fill value for the missing water body data, because sometimes it's land sometimes it's water.
2020-03-23 17:07:48 -07:00
Zhang Yunjun 7644bf8c93 MaskAndFilter: more ploting options
+ plot the evolution of offset after each step to better check the changes by masking, filling and filtering operations.

+ plot both azimuth and range offset in one figure and move the plotting to the end after file writing

+ update file path in xml file so that script can work even if the files are moved.

+ convert SNR nan value to zero before used as the mask, to avoid warning message

+ add the following options to customize the plot
   - add -v and --v-snr option to change the display range for offset and SNR
   - add --figsize and --save option

+ suppress the DEBUG message from matplotlib

+ remove obsolete getShape() and resampleOffset()

+ update IML module import

+ adjust indentation
2020-03-23 17:04:08 -07:00
piyushrpt 3f82b2cfe9
Merge pull request #99 from mirzaees/run_master
Run master
2020-03-21 17:11:19 -07:00
piyushrpt c6c8017edc
Merge pull request #102 from yunjunz/dem
dem.py: use abspath filename in xml after correction
2020-03-20 09:54:09 -07:00