Recent Changes - Search:

Interferometry basics

Observing

Data Reduction

AGN Large Programme

Other AGN programmes

High angular resolution @ MPIA

Other Links

PmWiki


DR /

Filesorter

DR.Filesorter History

Hide minor edits - Show changes to markup

November 19, 2009, at 13:57 CET by burtscher -
Changed lines 3-4 from:

[@## Written by Leonard Burtscher (burtscher@mpia.de)

  1. 17 Nov 2009
to:

[@

  1. Written by Leonard Burtscher (burtscher@mpia.de)
  2. 17 Nov 2009, last modified 18 Nov 2009
Changed lines 12-17 from:
  1. date. This script extracts the observing date from the files' headers (as
  2. well as the DPR.CATG -- SCIENCE or CALIB) and moves the files into a
  3. specified archive directory into subdirectories of the format
  4. YYYY-MM-DD/CALIB
  5. or
  6. YYYY-MM-DD/SCIENCE
to:
  1. date. This script extracts the observing date from the the headers of all
  2. MIDI FITS files in sdir and moves them into subdirectories of the format
  3. YYYY-MM-DD under a specified archive directory (adir).
Changed lines 19-30 from:
  1. LIMITATIONS
  2. 1) l. 78: day -1 : problem if day is first day of month: Then this
  3. script will create a directory YYYY-MM-00; there seems to be no
  4. easy way to solve this with e.g. GNU date
  5. 2) At the moment, the subdirectory name is directly taken from dpr.catg
  6. For old data this is not only CALIB or SCIENCE, but can also be
  7. ACQUISITION. One should check that.
  8. @]
to:

@]

November 17, 2009, at 11:09 CET by leo -
Changed lines 1-2 from:
to:
November 17, 2009, at 11:09 CET by leo -
Added lines 1-31:

Download (filesorter.gz)?

## Written by Leonard Burtscher (burtscher@mpia.de)
## 17 Nov 2009
##
##
## PURPOSE
##
## 
## The purpose of this script is to sort MIDI data according to observation
## date. This script extracts the observing date from the files' headers (as
## well as the DPR.CATG -- SCIENCE or CALIB) and moves the files into a 
## specified archive directory into subdirectories of the format
## YYYY-MM-DD/CALIB
## or
## YYYY-MM-DD/SCIENCE
## For every file moved it will output one line to STDOUT; if a file already 
## exists at the target location, the file is not moved and a message is
## displayed
##
##
## LIMITATIONS
##
## 1) l. 78: day -1 : problem if day is first day of month: Then this
##    script will create a directory YYYY-MM-00; there seems to be no
##    easy way to solve this with e.g. GNU date
##
## 2) At the moment, the subdirectory name is directly taken from dpr.catg
##    For old data this is not only CALIB or SCIENCE, but can also be
##    ACQUISITION. One should check that.
##
Edit - History - Print - Recent Changes - Search
Page last modified on November 19, 2009, at 13:57 CET