Thread: Data conversion

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    5
    Rep Power
    0

    Data conversion


    hey,
    I would like to know how to convert data which is in HDF5 format to a .dat format using C language programming. Please provide us with a code if possible....
    thanku in advance...
    ashwini123

    Comments on this post

    • ptr2void disagrees : Another useless, Indian 'gimme teh codez'
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,379
    Rep Power
    1871
    First step is to type into google "hdf5 format"

    Pretty soon, you come across say this link

    Second, .dat is a meaningless statement, since all sorts of file formats call themselves .dat, because the original author couldn't come up with a better name for it.
    Another reason is that with only 3 letters to play with, it's hard to come up with something both descriptive and unique.

    Comments on this post

    • clifford agrees : Ah... the myth of three character extensions - a hang over from MS-DOS that seems hard to shift. You can of course use more; very few do - especially in Windows.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    5
    Rep Power
    0

    dc


    hey,
    thanku for ur fast reply..we want to convert the data from HDF5 format(eeg data) to bci2000 .dat format . and are looking for a code to do so. Please help.
    ashwini123
  6. #4
  7. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,379
    Rep Power
    1871
    Here's an idea - post URLs of the file format specifications so we're not your google interface.

    Also tell us what searches you've already done, and which results you've rejected.
    You should have already known that searching in the obvious (to you) places hasn't turned up the thing you're interested in. This should tell you that
    a) it doesn't exist, so you need to figure out how to write it
    b) if it does exist, you're using the wrong search terms (so you need to tell us those searches so we don't repeat your mistakes).

    > and are looking for a code to do so. Please help
    Is this your job?
    I mean, are you employed to write software on a professional basis?

    Converting from one large (and specialised) format to another large (and specialised) format is not something we normally see as a typical undergraduate student level assignment. If done properly from scratch, it's not something that can be likely achieved within a short time frame.
    It might be a final year project for a group of undergrads, or a postgrad research project.

    The point is, you're not going to get far by rolling into a forum with a 1-sentence program specification and "gimme teh codez". We've all got better things to do than be someone else's search bitch.

    Here, read this for a while, until you can ask a proper question
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo