Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eva Schiffer
UW-Glance
Commits
a32f4a28
Commit
a32f4a28
authored
Jan 13, 2022
by
Eva Schiffer
Browse files
deprecating the adl blob format files
parent
79357571
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyglance/glance/io.py
View file @
a32f4a28
...
...
@@ -49,10 +49,13 @@ except ImportError:
LOG
.
info
(
'no AERI dmv data file format module'
)
dmvlib
=
None
# DEPRECATED, will be removed in future!
try
:
import
adl_blob
LOG
.
info
(
'adl_blob module found for JPSS ADL data file access'
)
# TODO, what is the loadable file extension?
LOG
.
warning
(
'DEPRECATED: you have an adl_blob module installed; '
'loading JPSS ADL data files is DEPRECATED and will be '
'removed in a future version of Glance'
)
except
ImportError
:
LOG
.
info
(
'no adl_blob format handler available'
)
adl_blob
=
None
...
...
@@ -1334,6 +1337,8 @@ class jpss_adl(object):
_blob
=
None
def
__init__
(
self
,
filename
,
allowWrite
=
False
):
LOG
.
warning
(
'DEPRECATED: loading JPSS ADL data files is DEPRECATED and will be '
'removed in a future version of Glance'
)
assert
(
allowWrite
==
False
)
for
xmlname
in
_search_xml
(
filename
):
if
not
os
.
path
.
exists
(
xmlname
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment