plan

plan contains routines for making the “planfiles” that control various stages of the APOGEE processing

mkplan.py

Routines for making the planfiles for spectral library creation, etc.

apogee.plan.mkplan.mkgriddirs(configfile, nosynth=False, synthonly=False, writeraw=False, queryport=1052, digits=3, py2=False, np=True)[source]

Script to create output directories and plan and batch queue files for all grids listed in master grid configuration file

apogee.plan.mkplan.speclib_split(planfile, amsplit=True, cmsplit=True, nmsplit=True, oasplit=True, vtsplit=True, el='', digits=3, py2=False)[source]

Make a bunch of individual plan files from master, splitting [alpha/M],[C/M],[N/M],vt

mkslurm.py

routines for making a SLURM control file to run various routines on the cluters.

apogee.plan.mkslurm.main(args)[source]

Main routine to create SLURM file from command line

apogee.plan.mkslurm.write(cmd, outdir='slurm/', cwd=None, queryhost=None, queryport=None, maxrun=None, idlthreads=1, runplans=True, time='240:00:00', name=None, fast=False, tacc=False, notchpeak=False, np=False, postcmd=None, flag=None, pythreads=None)[source]

Routine to write a slurm file with specified input command and parameteres