Skip to content
GitLab
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
2755a9e3
Commit
2755a9e3
authored
Aug 05, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
601ff66e
Pipeline
#10170
passed with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_common/io.py
View file @
2755a9e3
...
...
@@ -79,7 +79,7 @@ def generate_meta(**kwargs) -> fits.Header:
raise
KeyError
(
f
"未知的meta参数:
{
k
}
"
)
meta_card
=
fits
.
Card
(
keyword
=
"META"
,
value
=
json
.
dumps
(
kwargs
,
separators
=
(
","
,
":"
),
ensure_ascii
=
False
),
value
=
json
.
dumps
(
meta
,
separators
=
(
","
,
":"
),
ensure_ascii
=
False
),
)
meta_header
=
reformat_header
(
fits
.
Header
(
cards
=
[
meta_card
]),
comment
=
"INGEST META"
)
return
meta_header
...
...
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