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.
I'm not familiar with WINRAR, but many tools do support bzip2. When
you uncompress "filename.bz2" you get "filename". Many of the NASA
hdf files do not provide the hdf extension, and will still load in hdfview, but
many people prefer to add the extension so the (*.hdf) filter can be used.
Unfortunately, this sometimes leads users to rename "filename.bz2" to
"filename.hdf", which won't work.
On linux or Mac OS X the "file" command can be used to verify that you
have an hdf file:
$ ls -l A2006167181000.L2*
140096 -rw-r--r-- 1 gwhite bod 143454404 2010-11-28 11:18 A2006167181000.L2
29340 -rw-r--r-- 1 gwhite bod 30040522 2010-11-28 11:18 A2006167181000.L2.bz2
$ file A2006167181000.L2
A2006167181000.L2: Hierarchical Data Format (version 4) data
$ file A2006167181000.L2.bz2
A2006167181000.L2.bz2: bzip2 compressed data, block size = 900k
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?
Many matrix languages (python, matlab, octave, R, gnudatalanguage) can
read hdf4 or hdf5 with the appropriate add-ons. Hdf5 is more widely
supported and the h4toh5 tool works for the files I have encountered
(after a bit of experimenation with the options), so in practice I
generally convert hdf4 to hdf5.
I find hdfview helpful when trying to understand the structure of hdf
files, especially when converting to hdf5, so it is worth making an
effort to get hdfview to work.
In my lab, we have many supposedly identical Windows XP systems, all
initially configured with the same "standard" image. I find hdview
fails to work on some of
these -- presumably due to conflicts with user-installed software or
perhaps different
options chosen by the IT tech who configured the systems initially.
It isn't a big deal
for us, as we do most of the heavy lifting with Mac OS X or linux.
Thanks and Regards
Mahesh
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.
Hi George,
Do you mean to say that I have to save these files as .hdf while
downloading?
No -- you have to decompress the .bz2 version, which results in an HDF
file that may not have the hdf extension. If you want to use *.hdf filter, then
you have to rename the HDF format file to give it the appropriate extension.
···
On Sun, Nov 28, 2010 at 7:50 AM, mahesh shiramgond <maheshshiramgond@gmail.com> wrote:
On Sun, Nov 28, 2010 at 2:13 PM, Roger Martin <roger@quantumbioinc.com> > wrote:
On 11/28/2010 12:52 AM, mahesh shiramgond wrote:
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 <gnwiii@gmail.com> >> wrote:
On Fri, Nov 26, 2010 at 5:10 AM, Steve Bissell >>> <stephen.bissell@airbus.com> 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.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
--
Mahesh Shiramagond
Kuwait
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
--
Mahesh Shiramagond
Kuwait
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia