Commit Graph

49 Commits (16b7e10d324093530bb73a6e1cfcc6a65ee96a65)

Author SHA1 Message Date
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
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
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
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
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
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
Yujie Zheng e95311da68 Added computation of non-filtered correlation 2020-02-28 13:49:13 -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
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
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
Zhang Yunjun 18bd583ec2 topo: multilook geometry file with gdal_translate 2019-12-24 16:29:40 -08:00
Zhang Yunjun 6061697fb9 stripmapStack: generate multilooked geometry files
Stack:
+ add alks and rlks options in config.topo()

topo: if number of looks is larger than 1, generate multilooked geometry files
+ generate `geom_master` folder in the root directory, same level as `Igrams`
+ import mroipac.looks.Looks module to multilook the full resolution geometry files from `./merged/geom_master`
+ copy over the full resolution xml/vrt files from `./merged/geome` to `./geom_master` as `*.full.xml/vrt` files, to support the number of looks extraction for mintpy
+ bug fixed in extractInfo(). This was not a problem before because the default values are 1 and the custom values from argument was not inputed in the config file.
2019-12-18 17:00:38 -08:00
Eric J. Fielding baf2ae6e35 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-12-17 18:08:13 -08:00
Eric J. Fielding 36e7012e66 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-12-03 16:41:41 -08:00
Zhang Yunjun 43aee1dcb3 stripmapStack/unwrap: adjust indentation 2019-11-21 13:35:21 -08:00
Zhang Yunjun 6e36a73fb0 stripmapStack/unwrap: enable corrlooks for SNAPHU
Stack:
+ add alks and rlks while writing config file for unwrap

unwrap:
+ calculate the az/rg spacing/resolution and the equivalent number of independent looks in extractInfoFromPickle()
+ uncomment corrlooks setting in runUnwrap()
2019-11-21 10:58:28 -08:00
stoormgeo cf8b47935d stripmapStack. Changing indentations in the baselinerGrid.py
Changes to be committed:
	modified:   baselineGrid.py
2019-10-04 14:56:56 +03:00
Microwave Remote Sensing Laboratory 620ea91641
Add files via upload 2019-09-26 15:22:27 -04:00
Eric J. Fielding 63887754f0 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-07-22 17:49:50 -07:00
piyushrpt 8345318434 Fix for importlib has no attribute util 2019-07-19 01:15:10 -07:00
Eric Jameson Fielding 919ce84b9b Modified the contrib/stack/stripmapStack/Stack.py code to write out baseline files with baselines set to 0.0 instead of skipping them. 2019-05-22 15:26:13 -07:00
Eric Jameson Fielding e3e4456f8f Merge branch 'UAVSAR' of https://github.com/EJFielding/isce2 into UAVSAR 2019-05-22 14:01:03 -07:00
Eric Jameson Fielding 36a13eef1d Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-05-22 14:00:33 -07:00
Zhang Yunjun a0576cfe8e stripmapStack: typo fix for prep*.py 2019-05-20 11:57:10 -04:00
Zhang Yunjun 8faf3b8b00 stripmapStack: add prepSlcALOS2.py
Add prepSlcALOS2.py based on prepRawALOS.py for ALOS2 stripmap SLC data. The main difference is using get_ALOS2_name() to grab unique string like "ALOS2210402970" instead of using get_ALOS_ALP_name() to grab string of "ALPSRP075780620" for ALOS PALSAR.

Bugs fixed for unpackFrame_ALOS2.py:
+ bug fix in unpack() while searching for image and leader files
+ add -p / --polarization option to be able to specify the polarization, with default value of HH, following the style of unpackFrame_ALOS_raw.py
2019-05-20 11:51:37 -04:00
Eric J. Fielding d267903d66 added back the "--text_cmd" command argument parsing 2019-05-08 17:07:16 -07:00
Eric Jameson Fielding 50703cb817 Modified stackStripMap and Stack.py to work with UAVSAR_STACK data 2019-05-08 15:05:08 -07:00
Sara d583e5b3ea fixed DeprecationWarning in stripmapWrapper and SentinelWrapper 2019-05-07 12:11:23 -04:00
Eric Jameson Fielding 8c2e0f94af changed prepareUAVSAR to rename SLCs 2019-05-06 00:06:10 -07:00
Eric Jameson Fielding 9a947b3d14 more changes to support segments of UAVSAR stack 2019-05-05 23:39:11 -07:00
Eric Jameson Fielding 58f5044b92 modified prepareUAVSAR_coregStack to support segment of stack 2019-05-05 23:31:27 -07:00
Zhang Yunjun b728e603e3 stackStripMap: raise exception for ionosphere workflow if --fbd2fbs detected
stackStripMap: check fbd2fbs setting for ALOS-1 data if ionosphere workflow is chosen, and raise Error.

prepRawALOS: sort files in run_unPack script.
2019-03-24 12:57:26 -04:00
Zhang Yunjun b062a6a150 stripmapStack: expose --filter_strength option in stackStripMap
expose the -f / --filter_strength option in the parser to user so that one is able to change the filtering strength. Default is setted as the hardwired value - 0.8, so previous setting won't be affected.
2019-03-22 14:38:31 -04:00
Zhang Yunjun 711e67ef30 stripmapStack/prepRawALOS: add --dual2single option
Add --dual2single option to resample the FBD acquisitions to FBS mode, to better support regular interferometry. Default is off, so all previous setting won't be affected
2019-03-22 14:38:31 -04:00
Zhang Yunjun 9dff89efbe topsStack/Stack: fix typo in the config file for unwrap with SNAPHU 2019-03-18 18:30:18 -04:00
Zhang Yunjun 402ee00141 stack/*/saveKml: bug fixed for deprecated aspect normal in matplotlib imshow() 2019-03-13 12:38:13 -04:00
Zhang Yunjun 85df2bce15
stripmapStack/prepRawALOS: sort compressed file 2019-03-11 11:31:02 -04:00
Zhang Yunjun 8673550293 support PIXEL/ALOS1 .gz files
uncompressFile.py: support multiple sub-layers of folders uncompressing

prepRawALOS.py:
1. add get_ALOS_ALP_name() to support the compressed ALOS file that is not named with "ALP*", such as the ones from PIXEL
2. remove duplicated inputDir, outputDir and rmfile, as they are in the Namespace inps object already.
3. move the inputDir and outputDir abspath from main() to cmdLineParse()
4. basic formating adjustment
2019-03-09 17:43:19 -05:00
Zhang Yunjun 1779c6e85c fix typo in topsStack/s1a_isce_utils.py 2019-03-01 20:20:12 -05:00
hfattahi 2bc9553936 converting range misregistration to meters 2019-02-10 18:11:56 -08:00
fattahi 08e4548113 enforcing positive value for the index of the first valid sample in TOPS coregistered SLCs 2019-01-30 00:23:32 +00:00
Eric Gurrola 9f9a2b0805 Adding all files 2019-01-16 11:40:08 -08:00