[auton-users] fds conversion

Paul Komarek komarek at andrew.cmu.edu
Tue Dec 17 21:53:34 EST 2002


Hi Bob,

If the perl script is writing to screen, maybe you just need to redirect
it into a file:

  fdcconvert.pl foo.txt > foo.fds

As far as "someone else's dset", they're all going to be the same as the
one I put in your home directory.  dset isn't my software, and I haven't
customized it at all.

So here's what I did for you, Bob.  There's a new executable in your home
directory called dsetconvert.  It only does one thing: convert between
text and fds.

  ./dsetconvert foo.txt foo.fds

or

  ./dsetconvert foo.fds foo.txt

Furthermore, it's written in C and compiled with optimizations, so it will
be fast on large datasets.  The only way it's going to get any simpler is
if you hire an undergrad. ;-)

-Paul



On Tue, 17 Dec 2002, nichol wrote:

>
> Thanks Paul,
>
> Actually, I was wondering if there was a simplier alternative
> like the "fdsconvert.pl" code some put in my dir. It seems to
> work apart from it just prints the screen. Is the fds format
> hard to understand.
>
> Actually, another option is for me to use someone elses dset;
> can someone point me to theirs?
>
> Cheers
>
> Bob
>
>
> *
> *Hi Bob,
> *
> *1) get dset
> *
> *If you have access to AUTON source, you should check out the dset project
> *and build it (it depends on the utils probject).  I can help you with
> *that to some extent.
> *
> *In case you don't have or want the source, I copied the dset executable to
> *your home directory.  It is called (surprise) dset.
> *
> *2) run dset
> *
> *if your input (text) file is foo.txt, do
> *
> *  ./dset edit in foo.txt
> *
> *3) save as fds
> *
> *from the dset prompt, do
> *
> *  save foo.fds
> *
> *4) quit
> *
> *  type 'quit' to quit from dset
> *
> *If the input filename ends in .txt or .csv, it will be read in some
> *sensible way for an ascii file.  When you save, if you save to a filename
> *with .fds as the extension, then you'll get an fds file.  Of course, you
> *can to the opposite, too:
> *
> *  ./dset edit in foo.fds
> *  save foo.txt
> *  quit
> *
> *-Paul
> *
> *On Tue, 17 Dec 2002, nichol wrote:
> *
> *>
> *> Hi All,
> *>
> *> Someone help me before with ascii to fds conversion (thanks).
> *> I need to do it again but dont want to bug someone everytime
> *> I need this. Is there a script (c or f77 program) to do this?
> *>
> *> I have "fdsconvert.pl" in one of my directories
> *> (/mnt/BigPapa/home/nichol/npt/GIFparticles) but it doesnt seem
> *> to produce a .fds file??
> *>
> *> Cheers
> *>
> *> Bob
> *>
> *>
> *> --
> *> Bob Nichol
> *> 5000 Forbes Ave.
> *> Carnegie Mellon
> *> 412-268-8068
> *> nichol at cmu.edu
> *>
> *>
> *>
> *
>
> --
> Bob Nichol
> 5000 Forbes Ave.
> Carnegie Mellon
> 412-268-8068
> nichol at cmu.edu
>
>
>




More information about the Autonlab-users mailing list