Commit Graph

272 Commits (e96a1102217d539029c78d47cfb70b25fa60ce32)

Author SHA1 Message Date
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
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 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
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 50816f88ae Fix tracknumber for S1B 2020-03-31 11:33:11 -07:00
piyushrpt ed30cbac42 Cleaning up scansar modules 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
Zhang Yunjun 82b46df741 dem.py: use abspath filename in xml after correction
+ dem.py: replace filename in xml file with abspath after geoid to ellipsoid correction

+ update README.md files in contrib/stack/*Stack, as fixImageXml.py is not needed anymore

+ fixImageXml: use native argparse mutually exclusive group for --full/--base options to replace checking with own code
2020-03-19 14:11:16 -07:00
piyushrpt 0239f678de
Merge pull request #101 from isce-framework/python38
Adjustments for python 3.8 compatibility
2020-03-18 14:08:30 -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
Sara Mirzaee 1329a0b961 parallel processing bursts 2020-03-14 13:55:13 -04:00
Sara Mirzaee 84946b6624 Separate master topo job from run_1_unpack 2020-03-14 12:00:25 -04:00
piyushrpt d6e22a762f
Merge pull request #84 from rtburns-jpl/argcount
Bugfixes for gcc/gfortran 9
2020-03-13 22:27:19 -07:00
piyushrpt ef9bfddfc2
Merge pull request #98 from earthobservatory/master
Sentinel1 TOPS: Fix swath extraction when redundant bursts encountered across scene
2020-03-13 09:50:39 -07:00
Heresh Fattahi 4998f720d7
Merge pull request #39 from EJFielding/UAVSAR
added back command line option in prepareUAVSAR
2020-03-13 08:27:52 -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 58b032943d Use command_argument_count in mdx_main
I was having trouble compiling using macports gfortran-mp-9 due to
being unable to link to symbol iargc. I think [1] implies this is a
gfortran 77 extension, so maybe it isn't available in the mac library?
It looks like there is a replacement [2] which is standard fortran as
of '03, and using this function fixes this bug for me.

[1] https://gcc.gnu.org/onlinedocs/gfortran/IARGC.html
[2] https://gcc.gnu.org/onlinedocs/gfortran/COMMAND_005fARGUMENT_005fCOUNT.html
2020-03-10 09:00:46 -07:00
piyushrpt 5c32079172
Merge pull request #97 from yjzhenglamarmota/master
traditional non-filtered correlation for topstack
2020-03-01 14:33:02 -08:00
Heresh Fattahi f31550bd0c
Merge pull request #95 from vbrancat/master
Modified Ionospheric Phase correction
2020-03-01 10:49:49 -08:00
Yujie Zheng e95311da68 Added computation of non-filtered correlation 2020-02-28 13:49:13 -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
piyushrpt f864b582a4
Merge pull request #94 from rtburns-jpl/isce-homing
Remove internal usage of ISCE_HOME env variable
2020-02-04 22:46:10 -08:00
Ryan Burns dbeb7f5121 Remove old comment 2020-02-04 16:03:25 -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
piyushrpt 8c972e9857
Merge pull request #93 from rtburns-jpl/trackCRs
Fixes for trackCRs script
2020-01-27 22:20:51 -08:00
Ryan Burns 35ca7db85e Fix trackCRs script
* Strip leading zero from LLH list
* Cast slice bounds to ints
* Use comma delimiter for reading CSVs
2020-01-22 10:07:18 -08:00
Eric J. Fielding db51787372 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2020-01-07 14:51:56 -08:00