Commit e789da11 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

allow dm.quickstart from tulip

parent 50bff7ce
...@@ -604,14 +604,14 @@ class CsstMsDataManager: ...@@ -604,14 +604,14 @@ class CsstMsDataManager:
assert datatype in ["mbi", "sls"] assert datatype in ["mbi", "sls"]
# auto identify node name # auto identify node name
hostname = os.uname()[1] hostname = os.uname()[1]
assert hostname in ["dandelion", "ubuntu"] assert hostname in ["dandelion", "tulip", "ubuntu"]
# dandelion # 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/" \ dir_l0 = "/nfsdata/share/csst_simulation_data/Cycle-5-SimuData/multipleBandsImaging/" \
"NGP_AstrometryON_shearOFF/MSC_{:07d}/".format(exposure_id) "NGP_AstrometryON_shearOFF/MSC_{:07d}/".format(exposure_id)
path_aux = "/nfsdata/users/csstpipeline/L1Pipeline/aux" 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/" \ dir_l0 = "/nfsdata/share/csst_simulation_data/Cycle-5-SimuData/slitlessSpectroscopy/" \
"NGP_AstrometryON_shearOFF_Spec/MSC_{:07d}/".format(exposure_id) "NGP_AstrometryON_shearOFF_Spec/MSC_{:07d}/".format(exposure_id)
path_aux = "/nfsdata/users/csstpipeline/L1Pipeline/aux" path_aux = "/nfsdata/users/csstpipeline/L1Pipeline/aux"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment