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
b6831731
Commit
b6831731
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
add filter
parent
4a434b51
dev
main
wangxia-main-patch-87026
zhaobowei-main-patch-61353
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/data_manager.py
+1
-1
csst_common/data_manager.py
with
1 addition
and
1 deletion
+1
-1
csst_common/data_manager.py
+
1
-
1
View file @
b6831731
...
@@ -1067,6 +1067,7 @@ class CsstMsFile(dict):
...
@@ -1067,6 +1067,7 @@ class CsstMsFile(dict):
print
(
rec
)
print
(
rec
)
raise
ae
raise
ae
header
=
rec
[
"data"
].
header
header
=
rec
[
"data"
].
header
header
[
"filter"
]
=
rec
[
"data"
][
"filter"
]
return
CsstMsFile
(
return
CsstMsFile
(
filepath
=
os
.
path
.
join
(
dfs_root
,
rec
[
"data"
].
file_path
),
filepath
=
os
.
path
.
join
(
dfs_root
,
rec
[
"data"
].
file_path
),
ver_sim
=
ver_sim
,
ver_sim
=
ver_sim
,
...
@@ -1078,7 +1079,6 @@ class CsstMsFile(dict):
...
@@ -1078,7 +1079,6 @@ class CsstMsFile(dict):
return
f
"CsstMsFile(filepath=
\"
{
self
.
filename
}
\"
, ver_sim=
\"
{
self
.
ver_sim
}
\"
, dir_out=
\"
{
self
.
dir_out
}
\"
)"
return
f
"CsstMsFile(filepath=
\"
{
self
.
filename
}
\"
, ver_sim=
\"
{
self
.
ver_sim
}
\"
, dir_out=
\"
{
self
.
dir_out
}
\"
)"
# file = CsstMsFile(
# file = CsstMsFile(
# "L1/MSC/SCI/62173/10160000108/CSST_MSC_MS_SCI_20290206174352_20290206174622_10160000108_21_L1_V01.fits")
# "L1/MSC/SCI/62173/10160000108/CSST_MSC_MS_SCI_20290206174352_20290206174622_10160000108_21_L1_V01.fits")
#
# file = CsstMsFile.from_l1id(id=17796, dfs_root="/share/dfs")
# file = CsstMsFile.from_l1id(id=17796, dfs_root="/share/dfs")
# file = CsstMsFile.from_l1id(id=12853, dfs_root="/share/dfs")
# file = CsstMsFile.from_l1id(id=12853, dfs_root="/share/dfs")
# CsstMsFile("CSST_MSC_MS_SCI_20280716184136_20280716184406_10160000099_14_L1_V01_IMG.fits")
# CsstMsFile("CSST_MSC_MS_SCI_20280716184136_20280716184406_10160000099_14_L1_V01_IMG.fits")
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