Commit Graph

417 Commits (9bfa2dd6db0b2dfb7889c12f77e281cea5d047cb)

Author SHA1 Message Date
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
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
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
Ryan Burns 96f2f368fe Fix typo 2020-02-13 12:03:21 -08:00
Ryan Burns 55c13b1b98 Install mdx executable to bin 2020-02-13 11:55:29 -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 81fee920ad Add isce2 applications to $PATH 2020-02-03 17:52:44 -08:00
Ryan Burns 0e8b330fe2 Add demStitch extension module 2020-02-03 17:52:12 -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
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
Ryan Burns a626ae759f Add main X11 to mdx link libraries 2020-01-08 12:10:14 -08:00
Ryan Burns aa140d5f79 Fix X11 lib detection 2020-01-08 12:08:23 -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
Heresh Fattahi aa1e777083
Merge pull request #92 from yunjunz/stack_readme
stack: convert README.txt to README.md
2020-01-06 09:15:53 -08:00
Zhang Yunjun 62871d9806 topsStack: convert README.txt to README.md
+ contrib/stack/topsStack:
   - convert README.txt to README.md
   - add AUX_CAL file download instruction
   - add note for DEM preparation from stripmapStack/README.md

+ contrib/stack:
   - merge References.txt and INSTALL.txt to README.md
   - remove the duplicated README_stripmap/topsStack.txt files.
2020-01-05 19:02:29 -08:00
Zhang Yunjun 1b70f52f91 stripmapStack: convert README.txt to README.md
+ convert README.txt to README.md

+ stackStripMap.py: group iono options in createParser()
   - group all iono options in createParser() for more easily navigation in --help.

   - fix typos in the descriptions for the script and --dem option.
2020-01-05 18:46:00 -08:00
piyushrpt 90310c3211
Merge pull request #91 from yunjunz/water_mask
stripmapStack: generate water mask in radar coord
2020-01-04 15:25:05 -08:00
Zhang Yunjun ad51158a44 stripmapStack: add function createWaterMask to config_master_*
Stack.py: add function call to create water mask file in radar coordinates in the step one "run_1_master_*"

createWaterMask.py: fill pixels without DEM data with value of -1, same as water body
2020-01-03 16:45:59 -08:00
Zhang Yunjun b2f3204595 stripmapStack/createWaterMask: add --dem_file opt
add -d / --dem_file option to input DEM file as an alternative for --bbox option.

add dem2bbox() to grab bbox from existing DEM file

adjust download_waterMask() that: if DEM file is input, put downloaded water body mask file to the same directory as the DEM file.

adjust the default water mask file in radar coordinates that:
1. in the same directory as the input lat/lon files
2. named as "waterMask.rdr" instead of "swbdLat_*.wbd.rdr"

add example docstring and update parser description.
2020-01-03 16:45:59 -08:00