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
e789da11
Commit
e789da11
authored
Feb 25, 2023
by
BO ZHANG
🏀
Browse files
allow dm.quickstart from tulip
parent
50bff7ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
e789da11
...
...
@@ -604,14 +604,14 @@ class CsstMsDataManager:
assert
datatype
in
[
"mbi"
,
"sls"
]
# auto identify node name
hostname
=
os
.
uname
()[
1
]
assert
hostname
in
[
"dandelion"
,
"ubuntu"
]
assert
hostname
in
[
"dandelion"
,
"tulip"
,
"ubuntu"
]
# dandelion
if
hostname
==
"dandelion"
and
datatype
==
"mbi"
:
if
hostname
in
[
"dandelion"
,
"tulip"
]
and
datatype
==
"mbi"
:
dir_l0
=
"/nfsdata/share/csst_simulation_data/Cycle-5-SimuData/multipleBandsImaging/"
\
"NGP_AstrometryON_shearOFF/MSC_{:07d}/"
.
format
(
exposure_id
)
path_aux
=
"/nfsdata/users/csstpipeline/L1Pipeline/aux"
elif
hostname
==
"dandelion"
and
datatype
==
"sls"
:
elif
hostname
in
[
"dandelion"
,
"tulip"
]
and
datatype
==
"sls"
:
dir_l0
=
"/nfsdata/share/csst_simulation_data/Cycle-5-SimuData/slitlessSpectroscopy/"
\
"NGP_AstrometryON_shearOFF_Spec/MSC_{:07d}/"
.
format
(
exposure_id
)
path_aux
=
"/nfsdata/users/csstpipeline/L1Pipeline/aux"
...
...
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