Open baobabyoo opened 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...
What is the error message? Could you paste it?
I used pipeline to proceed the simulated data.
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.
Many thanks, and I will have a try.
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.
Can you include the error message of makemap?
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.
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.
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].
export STARLINK_DIR=/nfshome/sihanjiao/Downloads/star-2016A source $STARLINK_DIR/etc/profile smurf sc2sim ^heatrunobs.lis ^heatrunsim.lis sc2sim ^pongobs.lis ^pongsim.lis
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
/nfshome/sihanjiao/Downloads/star-2016A/share/smurf/sc2sim
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
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.
@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.
Review a paper Sihan read (TBD)
Going through working progress
Todo list for the following week.