[daip] writing fits files with dd

Eric Greisen egreisen at cv3.cv.nrao.edu
Thu Aug 1 16:58:26 EDT 2002


Michael Bietenholz writes:
 > Do you know if this can be done so that they are readable by AIPS.
 > 
 > Ie., if I have fits disk files called xxx.fits, yyy.fits, etc; do know
 > the invocation of dd that will write these to a tape so I can then
 > read them
 > 
 > ie. "dd if=xxx.fits of=/dev/rmt/0ln bs=28800"
 >      dd if=yyy.fits of=/dev/rmt/0ln bs=28800"
 > 
 > (I assume I need some form of blocking into the FITS n*2880 blocks)
 > 
 > (I could also just FITLD them and then FITTP them, just wondering if
 > there was a shortcut)
 > 

I believe that this works but you should try one case to make sure.
You are correct that the blocking must be forced in dd or it will be
1024 or some such and that will not work.

Eric Greisen




More information about the Daip mailing list