winrar says it can uncompress bz2 and tar.bz2 http://www.rarlab.com/otherfmt.htm

Without changing the bz2's file extension run winrar on it and it should produce a hdf file out of it. I haven't run winrar but it may also allow you to view the table of contents of the bz2 file so you know what is in it even before decompressing



On 11/28/2010 06:50 AM, mahesh shiramgond wrote:
Hi Roger,
I have OS Windows XP Professional running on my machine with WINRAR compression software. I tried accordingly as george advised to change the extension but same error. here I noticed that saved file with .hdf extension is appearing with HDF view icon.
I tried reinstalling HDF view but problem remains same.
Kindly advise, is there any other interface i can use to view these HDF files?
Thanks and Regards
Mahesh

On Sun, Nov 28, 2010 at 2:13 PM, Roger Martin <[email protected] <mailto:[email protected]>> wrote:

    Hi Mahesh,

    I believe George was saying don't change the extension but
    uncompress/unzip them.  Through these messages I didn't gather
    which operating system you are using and what compression software
    will work for you.  Probably the file inside the *.bz2 has the .h5
    extension which will be there after uncompression.

On linux or MacOSX boxes you can right click and "Extract here". On windows I use a small Ant script but that takes understanding
    Ant.  Someone should know of a bz2 decompressor for you in the
    window's case.



    On 11/28/2010 12:52 AM, mahesh shiramgond wrote:
    Hi George,
    Do you mean to say that I have to save these files as .hdf while
    downloading?
    If yes, do I need to put '.hdf' at the end of the file name? for
    your information this is a zipped file.
    If not, do I need to change the name of the file just adding
    '.hdf' at the end of the file name
    Please suggest and even first option is not opening file but
    showing same error.
    Regards
    mahesh

    On Fri, Nov 26, 2010 at 4:54 PM, George N. White III
    <[email protected] <mailto:[email protected]>> wrote:

        On Fri, Nov 26, 2010 at 5:10 AM, Steve Bissell
        <[email protected]
        <mailto:[email protected]>> wrote:
        >
        > Hi Mahesh. I've never used the MODIS tool, but out of
        curiosity I checked the
        > web site, it looks to me like what you download from those
        sites are either
        > JPEG, PNG, GeoTIFF or GoogleEarth format files. None of
        those are HDF file
        > formats in any way .... or maybe I'm misunderstanding the
        web site?

        If you use the "download data" button you get an hdf4 file,
        but in
        bzip2 compressed
        form.   This has been a major source of confusion for new
        users -- it
        would be nice
        very helpful if hdfview could do some checks for common
        archive and compression
        formats -- people often get data in a form that can't used
        directly
        without realizing some
        extra steps are needed -- a common mistake with NASA OBPG
        files that
        don't have .hdf
        extension is to rename .bz2 to .hdf.

        > Steve
        > --
        > View this message in context:
        
http://hdf-forum.184993.n3.nabble.com/HDF-View-file-process-tp1958827p1971771.html
        > Sent from the hdf-forum mailing list archive at Nabble.com.
        >
        > _______________________________________________
        > Hdf-forum is for HDF software users discussion.
        > [email protected] <mailto:[email protected]>
        >
        http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
        >



        --
        George N. White III <[email protected]
        <mailto:[email protected]>>
        Head of St. Margarets Bay, Nova Scotia

        _______________________________________________
        Hdf-forum is for HDF software users discussion.
        [email protected] <mailto:[email protected]>
        http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org




-- Mahesh Shiramagond
    Kuwait


    _______________________________________________
    Hdf-forum is for HDF software users discussion.
    [email protected]  <mailto:[email protected]>
    http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


    _______________________________________________
    Hdf-forum is for HDF software users discussion.
    [email protected] <mailto:[email protected]>
    http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org




--
Mahesh Shiramagond
Kuwait


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to