Skip to content

Commit

Permalink
Noticed we're missing config-main.yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
Segev BenZvi committed Jan 8, 2025
1 parent cceb565 commit ae9c3d9
Showing 1 changed file with 232 additions and 0 deletions.
232 changes: 232 additions & 0 deletions py/desisurvey/data/config-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
####################################################################
# Configuration data for DESI survey planning and scheduling.
####################################################################

survey: main

#-------------------------------------------------------------------
# Location of the Mayall at KPNO
#-------------------------------------------------------------------

location:
latitude: 31.963972222 deg
longitude: -111.599336111 deg
elevation: 2120 m
pressure: 78318 Pa # from 1976 standard atmosphere model
temperature: 5 C # a guess at mean night-time temperature
timezone: US/Arizona

#-------------------------------------------------------------------
# Observing calendar.
#-------------------------------------------------------------------

# Survey nominally starts on night of this date. Format is YYYY-MM-DD.
first_day: 2021-06-01

# Survey nominally ends on morning of this date. Format is YYYY-MM-DD.
last_day: 2026-05-31

# Nominal monsoon shutdown start/stop dates each year.
# Start date marks first night of monsoon shutdown each year.
# Observing resumes on night of the stop date. Format is YYYY-MM-DD.
monsoon:
Y2020:
start: 2020-07-27
stop: 2020-08-14
Y2021:
start: 2021-07-12
stop: 2021-07-30
Y2022:
start: 2022-08-01
stop: 2022-08-19
Y2023:
start: 2023-07-24
stop: 2023-08-11
Y2024:
start: 2024-07-08
stop: 2024-07-26
Y2025:
start: 2025-07-28
stop: 2025-08-15

# Number of nights reserved for engineering / guest observing
# during each full moon.
full_moon_nights: 4

programs:
DARK:
min_exposures: 1
efftime: 1000 s
conditions: DARK
sbprof: ELG
mintime: 5 min
efftime_type: DARK
expfac_cut: 2.5
BRIGHT:
min_exposures: 1
efftime: 180 s
conditions: BRIGHT
sbprof: BGS
mintime: 3 min
efftime_type: BRIGHT
# Never observe in BACKUP at present.
expfac_cut: 12.0
BACKUP:
min_exposures: 1
efftime: 60 s
conditions: BACKUP
sbprof: PSF
mintime: 1 min
efftime_type: BRIGHT

min_exposures: 1

# note: conditions controls only the sky brightness in the survey sims,
# and the labeling of conditions in the ephemerides file.
# the DARK/GRAY/BRIGHT naming is only ~coincidental to the corresponding
# program names at this point.
conditions:
DARK:
# Twilight requirement.
max_sun_altitude: -15 deg
# Moon must be below the horizon.
moon_up_factor: 1.0
boost_factor: 1.0
GRAY:
# Twilight requirement is the same as DARK.
# Moon must be above the horizon and pass both of these cuts:
max_moon_illumination: 0.6
max_moon_illumination_altitude_product: 30 deg
moon_up_factor: 1.5
boost_factor: 1.0
BRIGHT:
# Twilight requirement.
max_sun_altitude: -12 deg
# Any time after twilight that is neither DARK nor GRAY is BRIGHT.
moon_up_factor: 3.6
boost_factor: 1.0
BACKUP:
boost_factor: 1.0

#-------------------------------------------------------------------
# Parameters to plan next-tile selection during each night.
#-------------------------------------------------------------------

# Never observe below this limit.
min_altitude: 30 deg

# Never observe at larger HA than 5 hr.
max_hour_angle: 75 deg

# Time required to setup for a new field, including slew, fiber positioning, etc.
new_field_setup : 139 s

# Time required to setup for re-observing the same field.
same_field_setup : 70 s

# Maximum time allowed for a single exposure before we force a cosmic split.
cosmic_ray_split: 30 min

# Maximum time to sit on one tile
maxtime: 90 min

# Boost priority of already started tiles
finish_started_priority: 0.35

# Do not boost priority of later passes.
boost_priority_by_passnum: 0.00

# SFD coefficient
ebv_coefficient: 2.165

# Reduce priority of completed tiles
# Do not repeat finished tiles.
ignore_completed_priority: -1

# Boost priority of tiles with completed neighbors.
# A fully surrounded gets a boost to priority by one plus this fraction.
adjacency_priority: 0.08

slew_penalty_scale: 400

nominal_conditions:
# Moon below the horizon
seeing: 1.1 arcsec
airmass: 1.0
transparency: 1.0
EBV: 0.0

# Reobserve tiles that have not reached this fraction of their target SNR**2.
min_snr2_fraction: 0.85

# Merge dark and gray programs.
tiles_nogray: True

# List of bodies to avoid when scheduling tiles.
avoid_bodies:
moon: 50 deg
venus: 2 deg
mars: 2 deg
jupiter: 2.5 deg
saturn: 2 deg
# neptune: 2 deg
# uranus: 2 deg

#-------------------------------------------------------------------
# Parameters used to schedule fiber assignment.
#-------------------------------------------------------------------

# Specify the cadence for updating fiber assignments. The choices are:
# - monthly: perform updates at every full moon break.
# - daily: perform updates as part of every afternoon plan.
fiber_assignment_cadence: daily

# number of fiber_assignement_cadence units to wait before a tile
# goes from observation until adjacent overlapping tiles may be observed
# -1 if overlapping tiles may immediately be observed
# default to -1 for any passes not listed.
# 0 if overlapping tiles should not be observed on same night, but may
# be observed on following day, without waiting for a full fiberassign interval
# 1 if you have to wait a full interval.
fiber_assignment_delay:
DARK: 0
BRIGHT: 0
BACKUP: 0

# Nominal tile radius for determining whether two tiles overlap.
tile_radius: 1.62 deg

#-------------------------------------------------------------------
# Parameters to locate files needed by desisurvey.
#-------------------------------------------------------------------

# Name of file defining DESI tiles for desimodel.io.load_tiles(tiles_file).
# Without path this will look in $DESIMODEL/data/footprint/; otherwise with
# a path (relative or absolute) it will read that file.
# Non-standard tiles files are supported with the following caveats:
# - The program names (DARK,GRAY,BRIGHT,BACKUP) are predefined but not all
# programs need to be included in the tiles file.
# - Pass numbers are arbitrary integers and do not need to be consecutive
# or dense. However use of non-standard values will generally require
# an update to fiber_assignment_order, above.
tiles_file: tiles-main.ecsv

# trigger treating gray and dark time together
tiles_nogray: True
tiles_trim: False
# we don't want this usually in the main survey, but we're turning it on
# temporarily before fa-on-the-fly
tiles_lowpass: False
fa_on_the_fly: True
select_program_by_speed: True

# Base path to pre-pended to all non-absolute paths used for reading and
# writing files managed by this package. The pattern {...} will be expanded
# using environment variables.
output_path: '{DESISURVEY_OUTPUT}'

rules_file: rules-main.yaml

fiber_assign_dir: /data/tiles/SVN_tiles

spectra_dir: /data/dts/exposures/raw

0 comments on commit ae9c3d9

Please sign in to comment.