[daip] Y2K help!
Eric Greisen
egreisen at nrao.edu
Thu Apr 17 10:28:24 EDT 2014
Xingying Liu wrote:
> Dear engineer!!!
>
> I still cannot read files using Y2K, here are my inputs:
> --------------------------------------------------------------------------
> AIPS 1: Input variables
> AIPS 1: TCODE 'READ' INIT,TEST,READ, or WRIT
> AIPS 1: TMODE 'T' T or M
> AIPS 1: TMASK 63 test selection bit mask
> AIPS 1: Y2KSIZE 'SMALL' SMALL,MEDIUM,LARGE test
> AIPS 1: DDISK 1 Disk drive #: master UVDATA
> AIPS 1: MDISK 1 Disk drive #: other masters
> AIPS 1: TDISK 1 Disk drive #: test files
> AIPS 1: IOTAPE 1 Input/output tape drive #.
> AIPS 1: Y2KDISK 'MYY2K' Disk area for READ and WRIT
> AIPS 1: EDGSKP 4 Pixels to skip at edges
> AIPS 1: TERSE 0 > 0 => reduced output
> AIPS 1: OUTPRINT ' '
> AIPS 1: Printer disk file to save
> AIPS 1: BADDISK *all 0 Disks to avoid
> AIPS 1: VERSION ' '
> ---------------------------------------------------------------------------
>
> and the program stopped after showing the following messages:
> ---------------------------------------------------------------------------
> AIPS 1: * Sort the visibility data using UVSRT:
> AIPS 1: GET Y2K001
> AIPS 1: Y2KPROC
> AIPS 1: Limited to files matching name parms MY2KS .UVSRT . 0
> AIPS 1: Destroy all files for user 400 disks 1- 1? enter YES or NO
> AIPS 1: ZTPOPN: DISK DEVICE = MYY2K:Y2KSUVSRT1 NOT FOUND
> AIPS 1: TAPIO: ERROR 2 OPENING FILE
> AIPS 1: ALSO COULD NOT OPEN MYY2K:Y2KSUVSRT
> AIPS 1: INVALID TAPE
> ---------------------------------------------------------------------------
>
> 1. Is it OKAY that I set all the values of DDISK, MDISK, TDISK, and IOTAPE as '1'? If not, how should I set these parameters? (I am using AIPS on my laptop,so I don't have a tape.)
>
> 2. Is there any guide or tutorials about Y2K? Now I only have Y2K.HLP, but I want some more detail.
No there is no further guide. The issue here is finding the data files
which I assume you have downloaded from our web site. It is possible
that the environment variable MYY2K does not point at the disk area
containing the data files Y2KSUVSRT and others. Set
datain = 'myy2k:y2ksuvsrt'
tphead
If this does not work, exit aips and enter
echo $MYY2K
cd $MYY2K
ls -l Y2K*
The echo should produce something besides a blank, the cd should take
you to the directory (folder) containing the data files, and the ls -l
should show
substantial (but still fairly small by modern standards) files. If there is
any question about this, send me what you see with these commands. If
the echo, cd, and ls commands work okay, try starting aips again in that
same window and see if the tphead now works. (Environment variables
need to be set before starting aips.)
Cheers
Eric Greisen
More information about the Daip
mailing list