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-sims
csst_msc_sim
Commits
0c3dd0a2
Commit
0c3dd0a2
authored
3 years ago
by
Fang Yuedong
Browse files
Options
Download
Email Patches
Plain Diff
modify output naming
parent
3a96ec26
release_v3.0
11-csst
29-darktime-exptime-shtopen-shtstat-t
current_stable_for_tests
develop
master
milky_way_extinction
new_sim
release_v1.0
release_v2.0
revert-914004c1
sim_scheduler
sls_psf_pca_convolve
wcs_test_gridGalaxy
v3.1.0
v3.0.0
v2.1.0
v2.0.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ObservationSim/Config/ChipOutput.py
+2
-2
ObservationSim/Config/ChipOutput.py
with
2 additions
and
2 deletions
+2
-2
ObservationSim/Config/ChipOutput.py
+
2
-
2
View file @
0c3dd0a2
...
@@ -23,12 +23,12 @@ class ChipOutput(object):
...
@@ -23,12 +23,12 @@ class ChipOutput(object):
# self.cat_name = 'MSC_' + config["obs_setting"]["date_obs"] + config["obs_setting"]["time_obs"] + "_" + str(pointing_ID).rjust(7, '0') + "_" + self.chipLabel.rjust(2,'0') + ".cat"
# self.cat_name = 'MSC_' + config["obs_setting"]["date_obs"] + config["obs_setting"]["time_obs"] + "_" + str(pointing_ID).rjust(7, '0') + "_" + self.chipLabel.rjust(2,'0') + ".cat"
self
.
cat_name
=
"MSC_%s_chip_%s_filt_%s"
%
(
str
(
pointing_ID
).
rjust
(
7
,
'0'
),
focal_plane
.
getChipLabel
(
chip
.
chipID
),
filt
.
filter_type
)
+
".cat"
self
.
cat_name
=
"MSC_
1
%s_chip_%s_filt_%s"
%
(
str
(
pointing_ID
).
rjust
(
7
,
'0'
),
focal_plane
.
getChipLabel
(
chip
.
chipID
),
filt
.
filter_type
)
+
".cat"
self
.
subdir
=
subdir
self
.
subdir
=
subdir
# Setup logger for each chip
# Setup logger for each chip
logger_filename
=
"MSC_%s_chip_%s_filt_%s"
%
(
str
(
pointing_ID
).
rjust
(
7
,
'0'
),
focal_plane
.
getChipLabel
(
chip
.
chipID
),
filt
.
filter_type
)
+
".log"
logger_filename
=
"MSC_
1
%s_chip_%s_filt_%s"
%
(
str
(
pointing_ID
).
rjust
(
7
,
'0'
),
focal_plane
.
getChipLabel
(
chip
.
chipID
),
filt
.
filter_type
)
+
".log"
self
.
logger
=
logging
.
getLogger
()
self
.
logger
=
logging
.
getLogger
()
fh
=
logging
.
FileHandler
(
os
.
path
.
join
(
self
.
subdir
,
logger_filename
),
mode
=
'w+'
,
encoding
=
'utf-8'
)
fh
=
logging
.
FileHandler
(
os
.
path
.
join
(
self
.
subdir
,
logger_filename
),
mode
=
'w+'
,
encoding
=
'utf-8'
)
fh
.
setLevel
(
logging
.
DEBUG
)
fh
.
setLevel
(
logging
.
DEBUG
)
...
...
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