Fundamental Technologies

Voyager LECP Pages

Ground Processing of Voyager Data

IP address for the Fundamental Technologies VAX computer KULECP:

User logon:

$lecpprod Gives access to the directory containing the BigRun program.
$set def KULECP$DKB500:[voyager.v105.new_files]


$set def KULECP$DKB500:[voyager.v205.newfiles]

Gives access to most recent Voyager 1 data downloaded.


Gives access to  most recent Voyager 2 data downloaded.

Look to see the date of the most recent file.  New data will be collected through FTP.

$FTP FTP activates the FTP ability of the vaxes.
FTP> Hurlbut is the name of the APL computer from which we get the data; this command tells the FT vax computer where to connect.

   Foreign username: anonymous


Password is your email address.


Hurlbut is a unix machine, so while we are on this system all commands will be unix commands.


All files will be in binary format; the system must be told so the files are downloaded properly.
The file structure for files on this system will be VR#YYDOY.ZIP
     The V means it is a Voyager file.
     The # will be either a 1 or a 2, signifying which spacecraft the data is from.
Scan the files for the most recent date from FT files.  Retrieve all files after that date dealing with that satellite.

HURLBUT.JHUAPL.EDU> mget File name or partial file name using wildcards for the rest.  For example, VR1052**.Zip will retrieve all Voyager 1 files from the 200th day of the year to the 299th day of the year.
HURLBUT.JHUAPL.EDU> exit Exit from the APL unix machine once all files needed have been transferred.
$edit/edt The file contains a list of commands that will unzip multiple files at once. To change what files are being unzipped edit


ch changes the editor so you can edit multiple lines at once.

For each file that you wish to unzip put in the following:
where filename is the name of the file and # is the version number.
  ctrl z will bring you out of the multiple line edit mode.
*exit Exit will save any changes and leave the edit mode  (use quit to exit without saving).
$@un @un runs all the commands within the file
  The files are at this point all data on a single line with no carriage returns. To be able to use these files, the attributes,  record format and logical record length must be changed.
$edit/edt contains commands to change multiple file attributes at once.

$set file attributes=(rfm:var, lrl=968) filename1.mrt;#
$set file attributes=(rfm:var, lrl=968) filename2.mrt;#

For each file that you unzipped you now want to set the commands to change their attributes.
$@chfat All files are now in the correct format and ready to have BFH run upon them.

$set host KUSPA1

This provides access to another computer with an older operating system which is necessary for BFH to run.

You can use the same username and password that you used originally.

$set def KULECP$DKB500:[voyager.v105.New_files]

Sets the new computer into the directory containing the files that were just set up for it.

$run BFH BFH stands for Binary File Handler.

BFH> open file1.mrt;

File1 is the first file you wish to work on.  Each file must be done individually.
BFH is designed to help get rid of the junk before and after the actual good data.  This requires more user input than any other part of the process.
BFH> look file1.mrt; 20 We are telling the program to show the first 20 lines of the file.  In actuality, though, this can be any number and you may need to change the number to find the best data.
Look over the data that is shown to find the first good series of time.

In this example the best data begins at line 4; all data before that has time that is not in the correct order, and the year 3801 (meaning 2001) is incorrect. So the user should make note that the best time starts at line 4.

BFH> Map file1.mrt
       Option: v
The map function will run the entire file.  Option v  means verbose, thus showing each line as it is read.  There is no necessary second option.
User must scroll up to examine the last bits of data.

In this case the last line of good data is line 1739. User makes note of this.
      Filename: file1.mrt
Rewind sets the file back to the beginning.
BFH>open newfile.mrt In this instance you are creating a new file, where the good data will be placed. The file name is the same name as the file already open, just remove the r, so you have: V#YYDOY.MRT, where # is 1 or 2 depending on which satellite you are dealing with.
BFH> copy file1.mrt newfile.mrt
     Outfile start {<CR>, T, F=, R=}:
     Infile start {<CR>, T, F=, R=}: R = #

Infile stop {<CR>, EOF, EOT, . . . }: R= #

Monitor copy process? Y (Yes) or N (No): Y

...where # is the first good starting number; in our example it would be 4.
...where # is the number of the last line of good data.  In this example it would be 1739.
At this point the program will copy all of the data between those two lines into the new file.
This process will have to be run on each file that was unzipped.
BFH>exit Exits BFH

For Voyager 1:

  $assign kulecp$dkb500:[voyager.v105] vger$in

  $assign kulecp$dkb500:[voyager.v105] vger$out

Sets kulecp$dkb500:[voyager.v105] as the directory holding the source files.
Sets kulecp$dkb500:[voyager.v105] as the directory to place the finished files.

For Voyager 2:


  $assign kulecp$dkb500:[voyager.v205] vger$in

  $assign kulecp$dkb500:[voyager.v205] vger$out

Sets kulecp$dkb500:[voyager.v205] as the directory holding the source files.
Sets kulecp$dkb500:[voyager.v205] as the directory to place the finished files


This runs the data and returns filtered data.  We use this primarily for research purposes.


This runs the data and returns unfiltered data.  This is useful to track down problems in the data itself or in the satellite.

All csv files are put into a directory that is set automatically at login, called VGER$LIST.  Auxiliary files are sent to a directory called VGER$MAP, also set at login.  These are set by the file, which can be changed although it is best to leave it be.

$set def kulecp$dkb500:[voyager.v105] This drive has some command files which should be used to transfer the files that have been produced from the vaxes and to \\black\from_vaxes\voyager.  From here the files can be moved to the archives.
*ch When editing these command files,  change only the names of the files are being sent.

$assign sys$input sys$command
cd voyager
cd fat
mkdir v105
cd v105
send v105001f.fat;1
send v105069f.fat;1
send v105139f.fat;1
send v105181f.fat;1
send v105222f.fat;1
send v105001g.fat;1
send v105069g.fat;1
send v105139g.fat;1
send v105181g.fat;1
send v105222g.fat;1

So for this file, only the files listed after “send” should be changed, maintaining the current structure of the files.  Be sure only to list  files with the .fat extension.
*exit Ctrl + z gets you out of multiple line edit mode.

$@ fat_send

At this point all the files with the .fat extension have been sent.  Move on to the next file.
$edit/edt lnx_send Change the files after the “send” so that they are the files that have been produced; only files ending in the lnx extension should be listed.

$edit/edt mrt_send

Change the files after the “send” so that they are the files that have been produced; only files ending in the .mrt extension should be listed.



$edit/edt scn_send

Change the files after the “send” so that they are the files that have been produced; only files ending in the .scn extension should be listed


At this point you are done with the vaxes.  The files can be found at \\black\from_vaxes\voyager.  Simply go to this location and move the files to the archives in the appropriate folders.

Return to Fundamental Technologies Home Page.

Last modified 12/13/05, T. Wullenshneider and T. Hunt-Ward