Commit Graph

211 Commits (ba42e3ebb090d408167cdfba8bc4503b6dcfc296)

Author SHA1 Message Date
Yuankailiu 3322c29698 Replace deprecated `normed` with `density` in numpy.histogram()
The normed keyword argument has been removed from np.histogram, np.histogram2d, and np.histogramdd. Use density instead. If normed was passed by position, density is now used.

Here is the change log:
https://numpy.org/devdocs/release/2.24.1-notes.html#expired-deprecations
2023-02-22 23:07:22 -08:00
Ryan Burns ae6ffd2502 Replace deprecated numpy.float and numpy.bool with native float and bool 2023-02-16 13:33:21 -08:00
Ryan Burns f55fda5c74 Replace deprecated numpy.int with native int 2023-02-15 16:29:25 -08:00
Ryan Burns 4b22d5db69
Merge pull request #534 from rtburns-jpl/py-ssizet
Fix cpython bindings for python 3.10+ Py_ssize_t
2023-01-04 10:29:28 -08:00
Ryan Burns f2b139f15c
Merge pull request #424 from rtburns-jpl/python310
Fix ABC alias for Python 3.10
2023-01-04 10:29:11 -08:00
Gareth Funning 725d0d8653
Updated parser to use stripmapApp conventions for Doppler centroids (#641)
* Updated to use stripmapApp conventions for Doppler centroids

* Added ROI_PAC to default Doppler method list
2023-01-04 10:17:37 -08:00
Joseph H Kennedy 60a021de43
Remove deprecated np.complex alias in ImageLib (#639) 2022-12-19 20:30:36 -08:00
Bryan Marfito 715b82e13e
Update CMakeLists.txt 2022-08-26 21:36:06 +08: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
Ryan Burns ba4621c928 Fix ABC alias for Python 3.10
Aliases in collections.* to collections.abc.* have been removed starting
with python 3.10, so we must use the fully qualified import here.
2022-07-20 17:27:27 -07:00
Ryan Burns 575d936a02 Fix cpython bindings for python 3.10+ Py_ssize_t 2022-07-20 17:25:02 -07:00
Lijun Zhu a44a894c69 Merge branch 'main' into gpu 2022-03-01 13:05:20 -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
Lijun Zhu 74c92a1dc2 GPU geo2rdr and topo memory allocation fix 2021-12-08 13:02:56 -08:00
Bryan Marfito 816459c954
Adjustments on CMakeLists.txt to properly install some modules (#350)
* Updated CMakeLists.txt to properly install the ISSI files thru CMake

* Update CMakeLists.txt to compile the src to generate filter.so

* Adjusted spaces on the code

* Update Stack.py
2021-09-27 19:29:51 -07:00
Lijun Zhu 0dcbbf67d3
GPUresamp module updates (#325)
* GPUresamp module updates

  * modify the gpu resamp code to produce results consistent with cpu
  * add the gpuresamp module to runFineResamp.py in TopsProc, which can be loaded topsApp.py
  * also fine-tune the sinc interpolation in cpu code: the sinc coef center value and normalization
2021-09-23 14:04:19 -07:00
Ryan Burns 43cf756916 Add cmake rules for stanford modules
CMake can be told to build the separate Stanford modules in
stdproc via the ISCE2_WITH_STANFORD configuration option.

If not specified, it will be auto-enabled at configuration time if the
stanford_license magic is not None.
2021-09-20 11:46:15 -07:00
Bryan Marfito d1d6b090ab
Replaced logger.warn to logger.warning, changed *.hgt* to *.hgt and updated RelaxIV download link (#332)
* Replace logger.warn to logger.warning

* Changed *.hgt* to *.hgt

* Updated link for downloading RelaxIV

* Update README.md
2021-09-09 11:05:12 -07:00
Ryan Burns 10e03b6e01
Merge pull request #315 from scottstanie/main
throw exception from c++ instead of exit(1)
2021-08-11 12:25:13 -07:00
CunrenLiang 0f92b1ae83
add an option for masking out islands in ionosphere computation (#306)
* add an option for masking out islands in ionosphere computation

* Update topsApp.py

add some comments for new parameter "areas masked out in ionospheric phase estimation"
2021-08-09 13:31:40 -07:00
Zhang Yunjun 44deb3991c
bugfix in geozero and warning fix in imageMath (#318)
* imageMath: fix numpy deprecation warn

* geozero: bugfix for missing lookSide
2021-07-24 10:31:39 -07:00
Ryan Burns e80cfb0f29 Fix alosmodule include guard 2021-07-22 11:01:30 -07:00
scott 5395f87b0e indent exception catch 2021-07-21 13:09:28 -05:00
scott 5181aa0e6d move stdexcept to base, convert InterleavedAccessor.cpp to exceptions 2021-07-21 13:09:28 -05:00
scott 99d478f87e send better error message in c++, pass along in py 2021-07-21 13:09:28 -05:00
scott 48b513fc42 throw exception from c++ GdalAccessor instead of exit(1)
Leads to an OSError being thrown instead of shutting down the whole program
2021-07-21 13:09:28 -05:00
Scott Staniewicz b99aa5975f
Add lookside check to geozero, fixes #294 (#302)
* Add lookside check to geozero, fixes #294

comparison is based on 0eb175f86f/cxx/isce3/geometry/detail/Geo2Rdr.icc (L83-L89)

This gets rid of the duplicate image for UAVSAR geocoding with diagonal heading

* fix bindings and include for new number of arguments
2021-07-20 23:00:09 -07:00
Scott Staniewicz eb5790a884
Speed up baselineGrid.py and cut prints (#314)
* track the prev guess in `geo2rdr`, break after convergence

* create doppler Poly once, avoid prints

Orbit.geo2rdr creates a poly, which prints "Polynomial Order: 0 - by - 0" each time
2021-07-20 22:59:00 -07:00
Ryan Burns 038c04d5b9
Merge pull request #285 from rtburns-jpl/python39
Remove use of deprecated XML ElementTree getchildren method
2021-05-28 11:40:36 -07:00
Ryan Burns a540c0116e Remove use of deprecated XML ElementTree getchildren method 2021-05-13 10:59:16 -07:00
Lijun Zhu 7b51af405d cuda Scons fix: remove unnecessary -lcuda which prevents compiling on cluster head node without cuda drivers 2021-04-15 00:40:16 -07:00
Ryan Burns 8ffb2f281a Fix cmake rule
components.isceobj.Scene.concatenate was incorrectly being compiled as
an ordinary shared lib rather than a cdll-compatible python lib
2021-03-06 17:45:22 -08:00
Ryan Burns 3cd9903971
Merge pull request #248 from rtburns-jpl/alos-fix
Fix alos bindings
2021-03-05 11:24:31 -08:00
Ryan Burns 74059bbd5c Fix alos bindings
This has been broken since splitting up image_sio.c/h in some edge
casses. The extern variables are not "weakly linked" on macOS SCons
so they must be visible to the module even if they are not used.
2021-03-05 11:00:14 -08:00
Ryan Burns e608eaf319 Add missing src file to ALOS_lib 2021-03-05 10:48:46 -08:00
Ryan Burns d0ec8c1794
Merge pull request #175 from CunrenLiang/main
new alosStack, PRF change of ALOS-1, update of TOPS ionospheric correction, new ionospheric filter
2021-03-04 10:52:45 -08:00
Bryan Marfito 554e6610f0
Update CMakeLists.txt
I've proposed to removed the SConscript from the CMakeLists.txt since it is not necessary when compiling using CMake.
2021-02-28 22:40:17 +08:00
Ryan Burns 7ee03ec9d1 Add missing src file to ALOS_lib 2021-02-26 23:28:25 -08:00
CunrenLiang 89973d7631 Merge remote-tracking branch 'upstream/main' into main 2021-02-26 11:39:02 +08:00
Bryan Marfito 7bb66ec782
Fix missing folders and files during CMake installation of GRD files (#237) 2021-02-20 10:58:47 -08:00
Lijun Zhu 7c40da5a74 PyCuAmpcor: offer an option to add gross offset to output offset image 2021-02-16 13:02:04 -08:00
Lijun Zhu 563568561d change runDenseOffset(s) in Alos2Proc/TopsProc in accordance with updated PyCuAmpcor 2021-02-13 12:56:58 -08:00
Bryan Marfito 4f0ed3a359
Fix Cmake lists for db folder (#235) 2021-02-11 16:35:13 -08:00
CunrenLiang 1d44e16b96 Merge remote-tracking branch 'upstream/main' into main 2021-02-09 15:44:29 -08:00
Lijun Zhu a7c28ddc58 GPU modules: add GPU_ACC_ENABLED flag to cmake 2021-02-09 09:40:35 -08:00
Lijun Zhu 785bb40efd
GPUtopozero: change isnan reference for compatibility with gcc<6 (#229) 2021-02-08 10:07:41 -08:00
CunrenLiang 7b0856fc27 Merge remote-tracking branch 'upstream/main' into main 2021-02-03 13:24:22 -08:00