Commit a29b3b20 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

exptime bug fixed 2

parent 601c0cb0
...@@ -262,6 +262,7 @@ class Observation(object): ...@@ -262,6 +262,7 @@ class Observation(object):
col_num=chip.colID, col_num=chip.colID,
date=date_obs, date=date_obs,
time_obs=time_obs, time_obs=time_obs,
exptime=pointing.exp_time,
im_type='MS') im_type='MS')
h_ext = generateExtensionHeader( h_ext = generateExtensionHeader(
xlen=chip.npix_x, xlen=chip.npix_x,
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
# Can add some of the command-line arguments here as well; # Can add some of the command-line arguments here as well;
# OK to pass either way or both, as long as they are consistent # 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/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/" data_dir: "/data/simudata/CSSOSDataProductsSims/data/"
run_name: "TEST_astrometry" run_name: "TEST_astrometry_FD_30s"
# (Optional) a file of point list # (Optional) a file of point list
# if you just want to run default pointing: # if you just want to run default pointing:
...@@ -35,7 +35,7 @@ run_option: ...@@ -35,7 +35,7 @@ run_option:
out_cat_only: NO out_cat_only: NO
# Only simulate stars? # Only simulate stars?
star_only: YES star_only: NO
# Only simulate galaxies? # Only simulate galaxies?
galaxy_only: NO galaxy_only: NO
...@@ -52,7 +52,7 @@ obs_setting: ...@@ -52,7 +52,7 @@ obs_setting:
survey_type: "All" survey_type: "All"
# Exposure time [seconds] # Exposure time [seconds]
exp_time: 150. exp_time: 30.
# Observation starting date & time # Observation starting date & time
# (Subject to change) # (Subject to change)
...@@ -136,7 +136,7 @@ psf_setting: ...@@ -136,7 +136,7 @@ psf_setting:
# path to field-distortion model # path to field-distortion model
# Note: only valid when ins_effects: field_dist is "ON" # 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? # sigma_spin: 0.0 # psf spin?
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#PBS -q batch #PBS -q batch
#PBS -u fangyuedong #PBS -u fangyuedong
NP=40 NP=80
date date
echo $NP echo $NP
......
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