baobabyoo / Ph.D.-thesis-project-comm.---Sihan-Jiao

A repository for communicating with Sihan Jiao on his Ph.D. thesis project
GNU General Public License v3.0
0 stars 0 forks source link

Telecon: Oct. 2-6, 2017 (Oct. 05, 4 pm German time) #2

Open baobabyoo opened 7 years ago

baobabyoo commented 7 years ago
  1. Review a paper Sihan read (TBD)

  2. Going through working progress

    1. SCUBA2 model simulation
  3. Todo list for the following week.

SihanJiao commented 7 years ago

I could run the SCUBA-2 Simulator now. But when I proceeded the simulated data as for real SCUBA-2 data, there was an error translating headers for this observation. I will check my processing...

baobabyoo commented 7 years ago

What is the error message? Could you paste it?

SihanJiao commented 7 years ago
error

I used pipeline to proceed the simulated data.

baobabyoo commented 7 years ago

Looks like the pipeline doesn't understand that the input data are supposed to be taken with SCUBA2. You can try to read the header of a real scuba2 observational data, e.g., from your M31 project, and see if there is an item telling that the observation was taken with scuba2. Then we may need to insert the same header item to your simulated scuba2 data.

SihanJiao commented 7 years ago

Many thanks, and I will have a try.

baobabyoo commented 7 years ago

Or probably the pipeline may allow you to specify a key word, forcing it to think the input data is scuba2. If it does then this will be a simpler approach. I think CRUSH has such keyword option.

baobabyoo commented 7 years ago

Can you include the error message of makemap?

SihanJiao commented 7 years ago

Sorry, I deleted the comment because I just found I included flatfield files in the data list and indeed the flatfield files do not have the OBSID and OBSIDSS fits header. But just inputing the simulated data, pipeline will warn that it cannot fined the reprocessed flatfield files and return an error message as follow.

error3
baobabyoo commented 7 years ago

Maybe you should run individual steps manually and trouble shoot. From these message it is hard to know which step in the pipeline is broken.

SihanJiao commented 7 years ago

http://iopscience.iop.org/article/10.1088/0004-637X/764/2/140/meta [Myers+13: ORIGIN OF THE DENSE CORE MASS FUNCTION IN CONTRACTING FILAMENTS].

SihanJiao commented 7 years ago

make simulation

export STARLINK_DIR=/nfshome/sihanjiao/Downloads/star-2016A source $STARLINK_DIR/etc/profile smurf sc2sim ^heatrunobs.lis ^heatrunsim.lis sc2sim ^pongobs.lis ^pongsim.lis

reduce data

mkdir reduced ls -d -1 $PWD/.sdf > mylist mv mylist reduced/ cd reduced/ cp $STARLINK_DIR/share/smurf/dimmconfig_bright_extended.lis ./ oracdr_scuba2_850 -cwd export ORAC_DATA_IN=. export ORAC_DATA_OUT=. oracdr -loop file -files mylist -log sf -nodisplay picard MOSAIC_JCMT_IMAGES orion.sdf convert ndf2fits orion4_mos.sdf orion850_large.fits

SihanJiao commented 7 years ago

/nfshome/sihanjiao/Downloads/star-2016A/share/smurf/sc2sim

Directory contents

This directory contains the following files:

README : this file atm.sdf : example atmospheric sky image candycanes.sdf : example astronomical sky image

heatunrobs.lis : example HEATRUN (flatfield) observing parameters heatrunsim.lis : example HEATRUN (flatfield) simulation parameters stareobs.lis : example STARE observing parameters staresim.lis : example STARE simulation parameters pongobs.lis : example PONG observing parameters pongsim.lis : example PONG simulation parameters

obspar.lis : observation parameters common to all observing modes simpar.lis : simulation parameters common to all observing modes obspar_heatrun.lis : HEATRUN-specific observation parameters simpar_heatrun.lis : HEATRUN-specific simulation parameters obspar_stare.lis : STARE-specific observation parameters simpar_stare.lis : STARE-specific simulation parameters obspar_dream.lis : DREAM-specific observation parameters simpar_dream.lis : DREAM-specific simulation parameters obspar_pong.lis : PONG-specific observation parameters simpar_pong.lis : PONG-specific simulation parameters

Example files for the simulator

A number of example input files for the simulator are included in this directory to enable simulations to be run. The first step before running a sky simulation is to create flatfield (heatrun) files, using heatrunobs.lis and heatrunsim.lis as input files. Then either a simple PONG or STARE observation may be simulated using the pong(obs|sim).lis or stare(obs|sim).lis input files.

The input parameters, as listed in the remaining files, are described further below.

Input files for the simulator

baobabyoo commented 7 years ago

@SihanJiao : btw, do not leave your procedure like this " oracdr_scuba2_850 -cwd export ORAC_DATA_IN=. export ORAC_DATA_OUT=. oracdr -loop file -files mylist -log sf -nodisplay picard MOSAIC_JCMT_IMAGES orion.sdf "

Leave a well commented script with human languages. This is to allow communicating with co-Is, allow you to understand easily what yourself were doing after 10+ years, and to easy other people to reproduce your work.