Commit Graph

666 Commits (9457a34b4b4a4228df877c3e9618def162511d32)

Author SHA1 Message Date
Ryan Burns 9457a34b4b PyCuAmpcor: Fix Makefile for standalone installation
Now working with .cpp files and pybind11 module

setup.py step no longer needed
2022-11-15 14:18:21 -08:00
Ryan Burns ca462283f3 PyCuAmpcor: compile files as pure C++ when possible
This speeds up compilation, and brings it closer in line with the CPU port
2022-11-15 14:15:46 -08:00
Ryan Burns bb4d3b545b
Merge pull request #597 from rtburns-jpl/pycuampcor-templates
Merge similar cuArraysCopy helpers using templates
2022-10-14 10:33:35 -07:00
Ryan Burns 16bcd274d3
Merge pull request #568 from EJFielding/main
Update reference_EnviSAT.xml
2022-10-04 16:53:23 -07:00
Ryan Burns 07dc9a6687 Merge similar cuArraysCopy helpers using templates
This is to ease C++-only conversion of the cuArraysCopy kernels
by reducing code duplication
2022-10-04 16:52:19 -07:00
Zhang Yunjun 9e02af5b6e
abs module import in stackSentinel/StripMap.py (#505)
+ use absolute module import in stackSentinel.py and stackStripMap.py to allow for pythonic calls
   - e.g. stackSentinel.main() and stackStripMap.main()

+ contrib/stack/README.md: update installation note to add $ISCE_STACK to $PYTHONPATH

+ alosStack: use $ISCE_STACK/alosStack to replace $PATH_ALOSSTACK for style consistency

Co-authored-by: Zhang Yunjun <yunjunz@users.noreply.github.com>
2022-09-28 13:27:49 -07:00
Ryan Burns 307485b76a
Merge pull request #546 from bjmarfito/patch-1
Edited downsampleDEM.py
2022-08-31 11:21:00 -07:00
Ryan Burns 9339a665fe
Merge pull request #573 from bjmarfito/patch-2
bugfix to properly install envisat.so
2022-08-31 11:20:34 -07:00
Bryan Marfito 715b82e13e
Update CMakeLists.txt 2022-08-26 21:36:06 +08:00
Eric Fielding 24fedf89b6 Update reference_EnviSAT.xml
corrected the output name in examples/input_files/reference_EnviSAT.xml
2022-08-21 00:52:57 -07:00
Ryan Burns 88cf1ab527 Release 2.6.1 2022-08-11 10:26:16 -07:00
Ryan Burns 4f045449ab
Merge pull request #562 from EJFielding/https-fixes
More https changes in isceobj iscesys alos2proc
2022-08-11 08:56:52 -07:00
Eric Fielding 1e60308201 More https changes in isceobj iscesys alos2proc
Changed other files with hard-coded SRTM or SWBD URL to https
2022-08-10 20:48:04 -07:00
Eric Fielding 4cd9a51b7b
Update release_history.py (#561)
Updated release history for Feb. 2022 2.6.0 release.
2022-08-10 15:09:17 -07:00
Ryan Burns 862b4b3e5f
Merge pull request #560 from rtburns-jpl/srtm-download-https
Changed SRTM download to `https`
2022-08-10 13:54:09 -07:00
Eric Fielding f73296e394 Update SWBDStitcher.py
Updated SWBDStitcher to use `https` also.
2022-08-10 12:12:20 -07:00
Eric Fielding 160487e6c0 Update DemStitcherND.py
changed to `https`
2022-08-10 12:12:20 -07:00
Eric Fielding e8c6f29636 Update DemStitcherV3.py 2022-08-10 12:12:20 -07:00
Bryan Marfito cccb634997
Edited downsampleDEM.py
Edited line 104 to remove the error ERROR 4: /home/bryanjim001/dem_test/Coarse_demLat_N15_N16_Lon_E120_E121.dem.wgs84.vrt: No such file or directory
Traceback (most recent call last):
  File "/home/bryanjim001/.conda/envs/isce2expe/bin/downsampleDEM.py", line 104, in <module>
    gdal2isce_xml(coarse_dem_envi+'.vrt')
  File "/home/bryanjim001/.conda/envs/isce2expe/lib/python3.9/site-packages/isce/applications/gdal2isce_xml.py", line 69, in gdal2isce_xml
    width = ds.RasterXSize
AttributeError: 'NoneType' object has no attribute 'RasterXSize'
2022-08-03 19:32:08 +08:00
Ryan Burns 34895d1761
Merge pull request #352 from mirzaees/stripmap_gdal_multilook
gdal2isce_xml.py: correct gdal multilook scheme for los
2022-07-28 11:15:04 -07:00
Ryan Burns f07dc73770
Merge pull request #440 from lijun99/gpu
GPU geo2rdr and topo memory allocation fix
2022-07-28 11:11:04 -07:00
Ryan Burns 5d92004f88
Merge pull request #507 from ZachKeskinen/patch-2
Fix Date Parsing Bug
2022-07-22 12:10:19 -07:00
Lijun Zhu 55be3ff297 Merge branch 'main' of https://github.com/isce-framework/isce2 into gpu 2022-07-14 08:42:49 -07:00
Ryan Burns ac596fcf7c
Merge pull request #516 from shitong01/alos2_tutorial_fix
Tutorial fix to avoid confusion for alos2App
2022-07-05 10:17:58 -07:00
shitong01 03bc4393e6 tutorial fix to avoid confusion 2022-07-01 17:43:58 +08:00
Zachary Keskinen 018f2ad842
Fix Date Parsing Bug
Previously if the directory of the downloaded files had an underscore the date would incorrectly parsed.
2022-06-19 17:41:10 -06:00
Zhang Yunjun 31bb73ba95
various bugfix for topsStack (#500)
* stackSentinel: add compute arg group and simplify main()

+ createParser(): add compute sub group for more organized print out msg

+ main():
   - remove the unsed inps.workflow value checking, as it's covered in the argparse
   - move the update stack date list checking insidie selectNeighborPairs()

* topsStack/mergeBursts: bugfix for float outY/XSize and gdal

+ mergeBursts.py: bugfix for the gdal call when outY/XSize is not integer by
   - set width/height to integer
   - add srcWin argument

+ mergeBursts.py: repeat gdal.Translate call as a workaround solution to the following gdal issue:
   - ERROR 1: Input and output dataset sizes or band counts do not match in GDALDatasetCopyWholeRaster()
   - the issue happens to version 3.3.3 and 3.4, but not in 2.3

+ unwrap: bugfix for intendation inconsistency

+ invertIon: print out num of pairs/dates

+ stackSentinel:
   - sort orbit date for downloading
   - add missing stackReferenceDate arg to selectNeighborPairs() for update mode

+ README: add link to stack processor readme for quick navigation.

* bugfix by removing existing *.hdr files

+ remove existing *.hdr files, to avoid gdal error, instead of repeat the gdal func call

+ replace the gdal_translate cmd call with gdal.Translate() in python.

+ add progress_cb() from stack overflow to printout progress bar in gdal.Translate() call
2022-06-17 11:00:13 -07:00
Zhang Yunjun 2bb3f0805d
fixImageXml: support multiple files w/ wildcards (#439)
* topsApp.xml: add downsample_snaphu

* stackSentinel: bugfix if --bbox not specified in cmd

* stack*/unwrap: print time used msg

+ print out the time used message using time.time()
+ remove unused module imports
+ indentation adjustment

* cuDenseOffsets: add --fix-image-vrt

* fixImageXml: support multiple files w/ wildcards
2022-06-10 13:19:50 -07:00
Lijun Zhu a44a894c69 Merge branch 'main' into gpu 2022-03-01 13:05:20 -08:00
Ryan Burns 566ebfb9a8
Merge pull request #442 from rtburns-jpl/ci-oracle-linux
Switch CI base images to ubuntu 20.04
2022-02-24 10:46:03 -08:00
Ryan Burns f96f9c998f Switch CircleCI test/test-cmake jobs to ubuntu 20.04 base image 2022-02-17 09:29:48 -08:00
Ryan Burns b59c53f4df Switch dockerfile over from hysds image to ubuntu 20.04 2022-02-17 09:29:44 -08:00
Ryan Burns a7ea79807d Enable CPack 2022-02-17 09:29:44 -08:00
Ryan Burns 26d0a18f1a Fix path joining for applications outside of install prefix 2022-02-17 09:29:44 -08:00
Ryan Burns 95dd744d97 Permit absolute path for PYTHON_MODULE_DIR 2022-02-17 09:29:44 -08:00
Eric Fielding 2717095323
upgraded syntax of ALOS_pre_process/readOrbitPulse.f and ISSI/src/igrf2005_sub.f to compile with new gfortran (#435)
* upgraded syntax of ALOS_pre_process/readOrbitPulse.f to compile with new gfortran

* updated subroutines in /ISSI/src/igrf2005_sub.f to be consistent
2022-02-15 16:07:32 -08:00
CunrenLiang 1eaa62a459
ionospheric phase estimation module for topsStack (#326)
* ionosphere correction for topsStack

* Update README.md

* Update Alos2ProcPublic.py

* Update Stack.py

Currently the script writes the `invertIon.py` command pointing to 'ion' and writing to 'ion_dates'. However we need the absolute paths in order to find the 'ion' directory from within the run_files directory (similar to how the `computeIon.py` function is written at l.1488)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

Co-authored-by: Oliver Stephenson <ollie.stephenson@outlook.com>
2022-02-14 11:13:23 -08:00
Yuan-Kai Liu 828cf15f09
runIon: import cpu-, gpu-dependent resamp funcs (#420) 2022-02-02 07:19:44 -08:00
Zhang Yunjun 9adf1955fc
UAVSAR_Stack: bugfix for line/sample num and dopplerFile path (#431)
* UAVSAR_Stack: bugfix for line/sample num and dopplerFile path
+ UAVSAR_Stack: use segment index while setting the number of lines / samples
+ UAVSAR_Stack: use self.dopplerFile if it exists otherwise use the path from *.ann file, to support unpackFrame_UAVSAR.py when dop file is not in the current directory
+ unpackFrame_UAVSAR: rename variables and comments to improve code readability

* use getattr() instead of hasattr()
2022-02-01 13:50:40 -08:00
Ryan Burns dfa202456a
Merge pull request #434 from bjmarfito/patch-2
Print that restituted or precise orbits already exists
2022-02-01 13:49:52 -08:00
Bryan Marfito c9f83bc8ed
Print that restituted or precise orbits already exists 2022-01-23 09:50:22 +08:00
Bryan Marfito 0e5114a8be
geogridOptical modules in CMakeLists.txt (#413)
* Update CMakeLists.txt
2021-12-08 14:14:36 -08:00
Lijun Zhu 74c92a1dc2 GPU geo2rdr and topo memory allocation fix 2021-12-08 13:02:56 -08:00
Ryan Burns 31803ef7fa
Merge pull request #399 from yunjunz/ampcor
cuDenseOffsets: bugfix in prepGeometry()
2021-12-07 11:34:34 -08:00
Ryan Burns cfe35f07e2
Merge pull request #400 from yunjunz/wbd
stripmapStack.createWaterMask: skip re-dload if wbd file exists
2021-11-29 14:49:56 -08:00
Ryan Burns 71300762ad
Merge pull request #403 from EJFielding/main
updated README with new hidden SCONS file that may need to be deleted
2021-11-29 13:44:03 -08:00
Eric J. Fielding c220617d42 updated README with new hidden SCONS file that may need to be deleted 2021-11-27 11:42:59 -08:00
Zhang Yunjun 033e2b9cb1 cuDenseOffsets: bugfix in prepGeometry()
+ fix a bug of location shift in the input of prepGeometry()
+ add return of geomDict in estimateOffsetField() to support re-run for geometry only without --redo in cmd
+ move the redo check of cuDenseOffsets.py back the previous location, which is right before the actually running, in order to use the previous setup parameter code for geometry preparation only without re-run offset when it already exists.
+ remove size checking to be consistent with the latest version from Lijun with support of large win size
2021-11-23 22:06:27 -08:00
yunjunz 3b67950fc7 stripmapStack.createWaterMask: skip re-dload if wbd file exists 2021-11-23 22:05:49 -08:00
Ryan Burns 1b6fb02fac
Merge pull request #385 from lijun99/pycuampcor
PyCuAmpcor: fix scons script
2021-11-10 10:27:03 -08:00