Hi All,
In times before GBTIDL, I would gzip my SDFITS files to
save space. With all the "scratch disk full" emails I
get, I thought I'd be a good citizen. This wasn't a
problem because the Goddard IDL functions READFITS()
and MRDFITS() allow you to read from gzipped FITS
files. Seems to me it would be a splendid idea to have
FILEIN allow gzipped FITS files to be accessed. If you
allow for FILEOUT to have a /COMPRESS keyword, then you
can also keep things consistent and save a little space
on the system.
Best -Tim.
Logged In: YES
user_id=1375709
The SDFITS files for full-Stokes, multi-IF observations are
absolutely gigantic. It really would be helpful to
everybody, user and observatory, if folks compressed their
SDFITS files. MRDFITS() will read FITS files that have been
compressed with extensions .gz and .Z. It would seem that
the only files that need changing would be in the guide
layer, but I could be way off in this estimation...
ls.pro : cmd = cmd + '*.fits{,.gz,.Z}'
sdfitsin.pro:
filename = dialog_pickfile(filter='*.fits;*.fits.gz;*.fits.Z'...
It looks like check_file_conflicts.pro might have some hoops
to jump through.
MRDFITS() takes care of the decompression. I think this
ought to be considered, especially if these are the only
changes that would be necessary to make this happen.
-Tim.