Skip to main content

create ESO observing blocks from the command line

Project description

Brief intro


Create ESO observing blocks from a list of targets either specified in the command line or in a file. Instrument supported: WFI, FEROS, GROND at 2.2m telescope.


It is packaged as obkreator.

Site-wide installation will be performed with sudo -H pip3 install obkreator on unix-like systems. At a user level, within a virtual environment, pip3 install obkreator.

Short examples

Create FEROS OBs with 2 × 10 min integrations for a few SIMBAD targets.

> mkfrsob --target "HD 10" "HD 20" "HD 30" --objcal --dit 600 --nint 2 --pid '0107.A-9032(A)'
0107.A-9032(A): 2.2/FEROS observations by GREDEL, R
Coordinates have been queried from SIMBAD
OB #1 created: OB/FEROS-2.2/HD10.obd
OB #2 created: OB/FEROS-2.2/HD20.obd
OB #3 created: OB/FEROS-2.2/HD30.obd

Create WFI OBs from information in a table

> cat <<EOF >WFI.dat
heredoc> target   ag    dit             nint filter       acq       acqdit offsets
heredoc> ------ ------  --------------- ---- ---------- ----------- ------ -------------       
heredoc> HD 1   auto    100,50,50,20,10    4 U,B,V,Rc,I movetopixel    200
heredoc> HD 2           50 300          10 2 V,Halpha
heredoc> HD 3   manual  20              2    Rc                            10,20 900,900
heredoc> EOF
> mkwfob --pid '0107.A-9031(A)' --table WFI.dat
0107.A-9031(A): 2.2/WFI observations by GREDEL, R
Coordinates have been queried from SIMBAD
3 OBs to be generated using table
Columns are: target, coo, pm, ag, dit, nint, filter, acq, acqdit, offsets
OB #1 created: OB/WFI-2.2/HD1.obd
OB #2 created: OB/WFI-2.2/HD2.obd
OB #3 created: OB/WFI-2.2/HD3.obd

Create GROND OBs with several templates

> mkgrndob --target 'HD 1' 'HD 2' 'HD 3' --tpltype 4m4td 8m4td 20m4td --pid '0107.A-9033(A)' --pi 'Doe, J.'
0107.A-9033(A): 2.2/GROND observations by Doe, J. under GREDEL, R PID
Coordinates have been queried from SIMBAD
OB #1 created: OB/GROND-2.2/HD1.obd
OB #2 created: OB/GROND-2.2/HD2.obd
OB #3 created: OB/GROND-2.2/HD3.obd



  • fix a bug in GROND IR DITs.
  • modify WFI OBs according to new WFI_img_acq_MoveToPixel template

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for obkreator, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size obkreator-0.3.2-py3-none-any.whl (24.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size obkreator-0.3.2.tar.gz (21.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page