High angular resolution @ MPIA |
DR /
FilesorterDR.Filesorter HistoryHide minor edits - Show changes to markup November 19, 2009, at 13:57 CET
by
- Changed lines 3-4 from:
[@## Written by Leonard Burtscher (burtscher@mpia.de)
to:
[@
Changed lines 12-17 from:
to:
Changed lines 19-30 from:
to:
@] November 17, 2009, at 11:09 CET
by
- Changed lines 1-2 from:
to:
November 17, 2009, at 11:09 CET
by
- Added lines 1-31:
## 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. ## |