From a29b3b20ae3494ca3625a60c4cf2ee688c5d7cd1 Mon Sep 17 00:00:00 2001 From: yuedong Date: Mon, 17 Jan 2022 23:30:11 +0800 Subject: [PATCH] exptime bug fixed 2 --- ObservationSim/ObservationSim.py | 1 + config/config_C3.yaml | 10 +++++----- run_C3.pbs | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ObservationSim/ObservationSim.py b/ObservationSim/ObservationSim.py index ccfd408..c8f44d8 100755 --- a/ObservationSim/ObservationSim.py +++ b/ObservationSim/ObservationSim.py @@ -262,6 +262,7 @@ class Observation(object): col_num=chip.colID, date=date_obs, time_obs=time_obs, + exptime=pointing.exp_time, im_type='MS') h_ext = generateExtensionHeader( xlen=chip.npix_x, diff --git a/config/config_C3.yaml b/config/config_C3.yaml index e233264..419f465 100644 --- a/config/config_C3.yaml +++ b/config/config_C3.yaml @@ -10,9 +10,9 @@ # Can add some of the command-line arguments here as well; # OK to pass either way or both, as long as they are consistent # work_dir: "/public/home/fangyuedong/sim_code_release/CSST/test/" -work_dir: "/public/home/fangyuedong/20211203/CSST/workplace/" +work_dir: "/public/home/fangyuedong/test/CSST/workplace/" data_dir: "/data/simudata/CSSOSDataProductsSims/data/" -run_name: "TEST_astrometry" +run_name: "TEST_astrometry_FD_30s" # (Optional) a file of point list # if you just want to run default pointing: @@ -35,7 +35,7 @@ run_option: out_cat_only: NO # Only simulate stars? - star_only: YES + star_only: NO # Only simulate galaxies? galaxy_only: NO @@ -52,7 +52,7 @@ obs_setting: survey_type: "All" # Exposure time [seconds] - exp_time: 150. + exp_time: 30. # Observation starting date & time # (Subject to change) @@ -136,7 +136,7 @@ psf_setting: # path to field-distortion model # Note: only valid when ins_effects: field_dist is "ON" - fd_path: "FieldDistModelv2.0.pickle" + fd_path: "FieldDistModelGlobal_v1.0.pickle" # sigma_spin: 0.0 # psf spin? diff --git a/run_C3.pbs b/run_C3.pbs index 3944bca..4a0bfab 100755 --- a/run_C3.pbs +++ b/run_C3.pbs @@ -12,7 +12,7 @@ #PBS -q batch #PBS -u fangyuedong -NP=40 +NP=80 date echo $NP -- GitLab