HDFPACK(1) General Commands Manual HDFPACK(1)NAME
hdfpack - compress an HDF file
SYNOPSIS
hdfpack [-i|-b] [-d data-descriptors-per-block] [-t linked-blocks-per-table-entry] input-hdf-file output-hdf-file
DESCRIPTION
hdfpack compresses all of the data in an HDF file and writes the compressed data to a second HDF file.
OPTIONS -b Non-coalesced Blocks. hdfpack will not coalesce linked-block elements.
-i Interactive Mode. hdfpack will prompt for each linked-block element.
-d num Write an output file with the specified number of data descriptors per block of data descriptors.
-t num Write an output file with the specified number of linked blocks per table entry.
EXAMPLES
To compress the data in the file named "aa.hdf" and store the compressed data in the file named "aa.cmp", use the following hdfpack com-
mand:
hdfpack aa.hdf aa.cmp
Suppose a file named "bb.hdf" contains data elements stored as sequences of linked blocks. The following hdfpack command compresses the
file while leaving the linked-block elements intact, and writes the compressed data to a file named "bb.blk".
hdfpack -b bb.hdf bb.blk
SEE ALSO hdfcomp(1), hdf(5)
November 6, 1999 HDFPACK(1)
Check Out this Related Man Page
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)
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)
Hi all,
I want to extract blocks of data from a file depending on the contents of that block.
The input file(table) has several blocks each starting with 'gene' in the first column. I want to extract only those blocks which do not have the expression '_T02' in the second column.
Input file ... (3 Replies)
Hi all,
I have an input file like this
Now
I have to remove duplicates only in first column and nothing has to be changed in second and third column. so that output would be
Please let me know scripting regarding this (20 Replies)
Hi all,
I have blocks of records like the following, each block ends in = in a new line, I want tabularize the entire output. The pattern is the same in every block although not all types are there in every block.
For example gine3 is absent in the second block but present first and third.
... (7 Replies)
please help, I want to group together all linked data pairs.
If I have 10 pairs, each row showing col2 and col3 are linked.
R1 1 2
R2 1 3
R3 2 4
R4 3 4
R5 5 6
R6 8 1
R7 6 7
R8 9 10
Then I am looking to make
R1 1 2 3 4 8
R5 5 6 7
R8 9 10 (2 Replies)