Commit Graph

273 Commits (LT1AB)

Author SHA1 Message Date
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 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 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
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
piyushrpt d6e22a762f
Merge pull request #84 from rtburns-jpl/argcount
Bugfixes for gcc/gfortran 9
2020-03-13 22:27:19 -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
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
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
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
Ryan Burns 0e8b330fe2 Add demStitch extension module 2020-02-03 17:52:12 -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 7274dbd2a4 Merge branch 'master' into cmake 2020-01-30 22:28:54 -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
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
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
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
Lijun Zhu df4db88ffa PyCuAmpcor: updated to the most recent version with gdal input 2019-11-19 16:59:49 -08:00
piyushrpt 959a278e47 Look for autorift and install if found 2019-11-11 10:51:39 -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 J. Fielding b6cb49a36c Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-06-24 17:04:40 -07:00
piyushrpt 005616e52c
Merge pull request #45 from giangijpl/master
Added downsample_snapu factory to TopsProc/Factories.py
2019-06-24 14:13:16 -07:00
giangi 6d3811ec11 Added downsample_snapu factory to TopsProc/Factories.py
Added runner run_downsample_unwrapper.py to TopsProc
added donwsample_unwraper module to contrib
git commit -m
2019-06-20 09:55:55 -07:00
Eric J. Fielding c2ecbe2c23 Merge branch 'master' of https://github.com/isce-framework/isce2 into UAVSAR 2019-06-18 16:10:28 -07:00
Mohammad Mohseni Aref f3362da9c0
Update crop_rdr.py for small bug
'NEW NEW_FILE' is not necessary for clipping data  !
2019-06-13 14:49:38 +02: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
Eric Gurrola 9f93a537f1 Delete prepStackToStaMPS/Manual. It is now in the isce2-docs repository to reduce size of isce2. 2019-02-20 12:26:56 -08:00
juribeparada c9c3e9d3aa mdx: color scale bug fix 2019-02-20 13:05:40 -03:00
hfattahi 2bc9553936 converting range misregistration to meters 2019-02-10 18:11:56 -08:00
Eric Gurrola b2489a052a Modified files to compile with gcc8/scons3. 2019-02-05 19:29:20 -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