ngageoint / sarpy

A basic Python library to demonstrate reading, writing, display, and simple processing of complex SAR data using the NGA SICD standard.
MIT License
262 stars 87 forks source link

Enable open_phase_history to take a file-like object #564

Closed normanb closed 1 month ago

normanb commented 1 month ago

open_complex takes a file-like object as well as a string. This is tested in tests/io/complex/test_remote.py. It is useful for open_phase_history to take a file-like object as well and the code change is minor and this PR adds it.

Without the test data I can't provide updates to the test coverage.

pressler-vsc commented 1 month ago

@normanb, thanks for the PR! I've rebased this commit onto integration/1.3.60 (with a minor arg name tweak) and added a test in #567.