desihub/quicksurvey_example

Name: quicksurvey_example

Owner: desihub

Description: Documenting the structure to run quicksurvey

Created: 2016-11-10 21:03:55.0

Updated: 2017-11-01 01:31:46.0

Pushed: 2018-01-05 20:13:38.0

Homepage: null

Size: 10034

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Clone&Play DESI survey simulation sample

The following commands should be enough to simulate a small DESI patch of 100 sq. deg on cori. This will run separately a dark and a bright survey. More details can be found in readme.ipynb.

 you don't do this in your .bash* files:
ce /project/projectdirs//desi/software/desi_environment.sh 17.12

eckout the quicksurvey_example to scratch space
SCRATCH
clone https://github.com/desihub/quicksurvey_example

nerate dark time mock target catalogs
ct_mock_targets --no-spectra --nside 16 --seed 10 \
-c $SCRATCH/quicksurvey_example/targets/no_spectra/dark/select-mock-targets-dark.yaml \
--output_dir $SCRATCH/quicksurvey_example/targets/no_spectra/dark \
--tiles $SCRATCH/quicksurvey_example/survey/subset_tiles_dark.fits

mbine individual healpix files into the full catalog
_mock_targets --mockdir $SCRATCH/quicksurvey_example/targets/no_spectra/dark

w repeat for the bright time survey
ct_mock_targets --no-spectra --nside 16 --seed 10 \
-c $SCRATCH/quicksurvey_example/targets/no_spectra/bright/select-mock-targets-bright.yaml \
--output_dir $SCRATCH/quicksurvey_example/targets/no_spectra/bright \
--tiles $SCRATCH/quicksurvey_example/survey/subset_tiles_bright.fits

_mock_targets --mockdir $SCRATCH/quicksurvey_example/targets/no_spectra/bright

n quicksurvey for the dark time; this includes surveysims, fiberassign, and quickcat
ksurvey -T $SCRATCH/quicksurvey_example/targets/no_spectra/dark \
-E $SCRATCH/quicksurvey_example/survey/subset_exposures_dark.fits \
--output_dir $SCRATCH/quicksurvey_example/zcat/dark \
-f $(which fiberassign) \
-t $SCRATCH/quicksurvey_example/fiberassign/template_fiberassign_dark.txt \
-D $SCRATCH/quicksurvey_example/fiberassign/subset_dark_fiberassign_dates.txt

n quicksurvey for the bright time
ksurvey -T $SCRATCH/quicksurvey_example/targets/no_spectra/bright \
-E $SCRATCH/quicksurvey_example/survey/subset_exposures_bright.fits \
--output_dir $SCRATCH/quicksurvey_example/zcat/bright \
-f $(which fiberassign) \
-t $SCRATCH/quicksurvey_example/fiberassign/template_fiberassign_bright.txt \
-D $SCRATCH/quicksurvey_example/fiberassign/subset_bright_fiberassign_dates.txt

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.