Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
b40ae11f
Commit
b40ae11f
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
add verbose info for dm.get_refs
parent
96b6e637
dev
main
zhaobowei-main-patch-61353
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/data_manager.py
+2
-0
csst_common/data_manager.py
with
2 additions
and
0 deletions
+2
-0
csst_common/data_manager.py
+
2
-
0
View file @
b40ae11f
...
@@ -560,11 +560,13 @@ class CsstMsDataManager:
...
@@ -560,11 +560,13 @@ class CsstMsDataManager:
'shutter': '/crdsroot/references/msc/csst_msc_ms_shutter_11_000001.fits'}
'shutter': '/crdsroot/references/msc/csst_msc_ms_shutter_11_000001.fits'}
"""
"""
if
self
.
crds
.
is_available
:
if
self
.
crds
.
is_available
:
print
(
"Grab refs from CRDS ..."
)
return
self
.
crds
.
retry
(
return
self
.
crds
.
retry
(
self
.
crds
.
get_refs
,
3
,
self
.
crds
.
get_refs
,
3
,
file_path
=
self
.
l0_detector
(
detector
)
file_path
=
self
.
l0_detector
(
detector
)
)
)
else
:
else
:
print
(
"Grab refs from local files ..."
)
refs
=
dict
()
refs
=
dict
()
if
self
.
datatype
==
"mbi"
:
if
self
.
datatype
==
"mbi"
:
ref_types
=
[
"bias"
,
"dark"
,
"ledflat"
,
"shutter"
]
ref_types
=
[
"bias"
,
"dark"
,
"ledflat"
,
"shutter"
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets