Commit Graph

4 Commits (99d478f87ea10e547f6cf739744507eff61a9109)

Author SHA1 Message Date
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
Ryan Burns 337dc9c158
Fix python extension linking (#168)
* Silence annoying FindFFTW warnings

* Fix linker errors at import-time

Python extensions are weakly linked, so linker errors can only be
caught at runtime. This commit fixes any such broken extensions,
and adds automated import testing to ctests to prevent future
regressions.

It also adds a helper function `isce2_add_staticlib` which creates a
position-independent static library suitable for usage in multiple
python extensions. This matches the SCons build scripts more closely
and allows for future extensions to be declared in a more terse and
hygienic fashion.

* Update utilLib scripts

* Update combinedLib scripts

* Update offoutliers lib scripts

* Add asa_im_decode cdll

* Update alos lib scripts

* Show ctest output upon failure

* Update DataAccessor scripts

* Remove TARGET_FILE_BASE_NAME

* Remove incomplete stdproc modules (require stanford code)

Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-09-14 10:57:10 -07:00
Eric Gurrola 9f9a2b0805 Adding all files 2019-01-16 11:40:08 -08:00