HDFTOR8(1) General Commands Manual HDFTOR8(1)NAME
hdftor8 - extract 8-Bit raster images and palettes from HDF file
SYNOPSIS
hdftor8 hdf-file [-i] [-v] [-r raster-image-file] [-p pallette-file]
DESCRIPTION
hdftor8 extracts the raster images and/or palettes from an HDF file and stores them in one file that contains the raster image data and an-
other that contains the palette data.
The names given for the raster image and palette files are interpreted by hdftor8 as follows: For each raster image file, the file name is
given the extension ".#.@.%", where "#" represents the raster image number from the HDF file, "@" represents the x-dimension of the raster
image, and "%" represents the y-dimension of the raster image. For each palette file, the file name is given the extensions ".#", where "#"
represents the palette number from the HDF format file.
If no name is given for the raster image file, the default name "img.#.@.%" is assigned, where "#", "@", and "%" are as defined in the pre-
ceding paragraph. The default name for a palette file is "pal.#".
OPTIONS -i Execute the program in interactive mode.
-v Execute in verbose mode. Display diagnostic messages during the session.
-r raster-image-file
Specify the name of the raster image file.
-p pallette-file
Specify the name of the palette file.
EXAMPLES
A file named "denm.hdf" contains three 512 x 256 raster images and three palettes. To store these images and palettes in separate raster
image and palette files, use the following hdftor8 command:
hdftor8 denm.hdf
Six files are created, named "img1.512.256", "img2.512.256", "img3.512.256", "pal.1", "pal.2", and "pal.3".
SEE ALSO r8tohdf(1), hdf(5)
November 6, 1999 HDFTOR8(1)
Dear friends,
I have a dataset like this
2.18 66.86 27.9
2.18 66.86 27.9
2.18 66.86 27.9
2.15 66.88 27.9
2.15 66.88 27.9
Now i have another dataset containing date coloum like this
22-12-2005
22-12-2005
22-12-2005
22-12-2005
22-12-2005
Now i want to... (3 Replies)
Hi,
I would like to list files: ls *.hdf
But I would like a copy of the output directed to the screen, but also APPENDED to a text file: test.txt
I have tried:
ls *.hdf | tee test.txt
However, that will just write over everything already existing in test.txt. How can I append the... (1 Reply)
Hi,
I am using a PPC Mac running OS 10.4
I have a directory containing a bunch of files. When viewed with the Finder one file is called 2007009-2007016.s0481pfrt-sst.hdf (normal). However, when I type 'ls' in a terminal, the file is called 200700~2.HDF (odd).
What is even odder is that I... (2 Replies)
I found a script from HDF-EOS for converting HDF to TIF, i did all steps but when i run there is some errors.
Link of instructions: http://newsroom.gsfc.nasa.gov/sdptoolkit/HEG/HEG_Batch_job_Help.txt
What I do rong about script?
#! /bin/sh
# in this script it is assumed that HEG... (6 Replies)