Closed antonhibl closed 9 months ago
semantics, but I feel this is more of a feature add.
@Kelvinrr There has been precedent in the past that ALE could ingest in memory PVL objects as the "file" into a driver. Expose that here may be somewhat difficult given the swig wrapper/bindings situation in ALE
It should be possible to pass a PVLObject into ale.load/loads rather than just an image path but currently it causes an error wherein an exception is raised regarding
No such driver available for label
. It's likely this is happening inale/ale/drivers/__init__.py
in a function calledparse_label
which doesn't check to see if the label passed in is already a PVL label/object rather than a file path.An example of the error described is shown in the screenshot below after I tried to call the method ale.loads() using this code in a larger script: