next up previous 79
Next: Figaro 5.1-4 release
Up: Release notes
Previous: Figaro 5.0-1 news item


Figaro 5.1-3 release

In this version of Figaro the principal change is the use of a new data access library (FDA), but this made minor modifications to several applications necessary. The old libaries DSA and DTA are kept as part of the release, but are unused by Figaro itself.

With the new data access library, the principal data format is NDF. On the other hand, a number of foreign file formats can be used in addition to NDF itself. The old Figaro DST format is one such foreign format, others include FITS, IRAF, and GIF.

In order to use any foreign format, you must start up CONVERT in addition to Figaro. From the Unix shell:

   % figaro
   % convert

and from ICL:

   ICL> figaro
   ICL> convert

The data format is selected by the user on a per-file basis by specifying a file name extension:

   ICL> istat myfile

will try all known formats in order of priority, to choose a format explicitly:

   ICL> istat myfile.dst

Currently the extensions recognised, the formats addressed, and the priority list are:

   .sdf     NDF format
   .fit     FITS format (disk FITS, IBM byte order)
   .dst     DST format (also called Figaro format)
   .imh     IRAF format
   .hdr     GASP format
   .unf     unformatted binary files
   .dat     unf0 binary files
   .asc     ASCII files
   .txt     text files
   .gif     GIF images
   .tif     TIFF images
   .sdf.Z   compressed NDF files

In addition to foreign file formats, users can now use NDF sections of data sets. You can use a number of ways to specify a section as shown in this 7-D example:

   file(3:5,21.3:44.5,17,17.0,3:,,:99)

   (3:5,           1st axis: pixels 3 through 5
    21.3:44.5,     2nd axis: pixel centre values 21.3 through 44.5
    17,            3rd axis: pixel 17 only
    17.0,          4th axis: only the pixel with centre = 17.0
    3:,            5th axis: pixels 3 through end of NDF
    ,              6th axis: all pixels
    :99)           7th axis: pixels from start of NDF through to pixel 99

Apart from the availability of foreign file formats and NDF sections, there should be hardly any perceptible change for the user.

Users can abbreviate parameter names on the command line, e.g. instead of `istat image=myfile', `istat im=myfile' can be used. Name abbreviation can be turned on and off with `abbrev' and `noabbrev' respectively.

`exam' has been removed, use the Starlink utility `hdstrace' instead.

`figwww' has been removed, use 'showme sun86' instead.

Bug fixes in applications:

The source code of `echfind', `fet321', `figs322', `figs321', `icur', `gauss' no longer uses the problematic splitting of string constants by simply breaking the source code line. Proper string concatenation is now used. Minor bugs in fig_hdsdig and fig_pgend were fixed.

The release has been tidied with respect to differences between Unix and VMS versions. All that remains of the VMS version is the link options file `linkmono.opt'. `rdispo' and `wdipso' have been formally added. `table' has been formally added and `rspica' and `wspica' have been formally removed. Startup scripts exist only for C shell and Unix ICL, the test script exists only for ICL. The test script has been extended to cover a wider range of applications.

The move to the new data access library prompted:



next up previous 79
Next: Figaro 5.1-4 release
Up: Release notes
Previous: Figaro 5.0-1 news item

FIGARO A general data reduction system
Starlink User Note 86
Keith Shortridge, Horst Meyerdierks,
Malcolm Currie, Martin Clayton, Jon Lockley,
Anne Charles, Clive Davenhall,
Mark Taylor, Tim Ash, Tim Wilkins, Dave Axon,
John Palmer, Anthony Holloway and
Vito Graffagnino
2004 February 17
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council