Tailoring the SLIMED distribution to your setting is done in a crude way. I welcome suggestions for less tedious ways Suggestion for general improvements to this document are welcomed. -) are things need to do the first time and then rarely for updates =) are things done for updates __________________________ Guide to installing SLIMED _________________________ -) Create an empty directory to hold the SLIM system. E.g. /work2/DistSLIM/ Call this the 'corral' -) Create a related directory, but not under the above, to hold the files you will need to edit for you location. Call this the 'Holding' directory. E.g., /work2/DistLocal/ =) cd to the corral do: tar -xvf SLIMv2.tar Should create 3 subdirectories doc # Documents: read AAinstall, Guide.pdf and Algo code # IDL code data # Data files input and output to the SLIM system -) Add corral/idl/ to your IDL path -) The IDL version of the NAIF SPICE library is required. It is accessed by a line in sliminit.pro, which will need to be modified for each installation. -) Edit sliminit.pro to your paths. Copy to Holding -) Edit slimfame.pro to your paths. Copy to Holding Update the values in the right-hand column for rows 0,3,7,9 and possibly 12; look at fileuniq.pro, argument 'howin' to see what this does Files will be written in parf[3]+parf[4] and parf[3]+parf[7] -) Edit slimsatt.pro to your paths Copy to Holding Edit the values in the right-hand column of the firm-code as you wish, for all rows except 0, 9 ,11, 13 . Note 4 and 12 are long and must be edited lower in the routine. =) Copy the files from Holding on top of the distribution =) Ensure that sliminit.pro is where it will be found by your normal IDL path. -) For trials, can copy some sample _wt, _tv and _ir files from '/data/' (parf[9] to ---/S/ (parf[3]+parf[4]) -) Try running (see below). It probably will fail Look at slimgiro.pro and edit as needed to convert your lunar observation files into SLIM format. Then copy to Holding _____________________________ Guide to Running SLIMED _________________________ cd to your normal IDL directory Start IDL do: sliminit before anything else. This will reset !path and register the SPICE library =) do: .comp slimntop Define the filee and matt arrays as described in slimgiro.pro do: slimntop,parf,filee,matt Files will be written in parf[3]+parf[4] and parf[3]+parf[7] It should run in a few seconds at most. If attributes or variables are missing in the instrument GIRO files, error messages will appear for each input file. I could find no way to avoid this. You may have to tailor slimgiro.pro, or write an alternate that fits your lunar observation files. When additional observation files are available, you can edit items 5 and 8 when SLIMFAME is called to assign modified output file names, or let the subroutine FILEUNIQ handle it. When a file already exists, you will be given a choice 0 = replace last character of the acronym 1 = insert 1 character after the acronym 19 = overwrite the existing file 20 or larger = enter the full path-name to use else = do not write any file Options can be preset by changing item 12 in SLIMFAME to one of these values.