1RASSPLIT(1NCARG)                   NCAR VIEW                  RASSPLIT(1NCARG)
2
3
4

NAME

6       rassplit  -  split  a  multi-frame rasterfile into single-frame raster‐
7       files.
8

SYNOPSIS

10       rassplit [-f f1 f2 f3 ...]  [-ofmt output-format] [-verbose] [-Version]
11       rasterfile
12

DESCRIPTION

14       The  program  rassplit will open rasterfile and copy each frame to it's
15       own separate output file. By default, all frames are extracted but  the
16       user  can  optionally  request  a  specific  set of frames using the -f
17       option. The output format defaults to be the same as the input  format,
18       but  the  user can also optionally select a new output format using the
19       -ofmt option.
20
21       The names of the output rasterfiles are derived from the  name  of  the
22       source  rasterfile, the output format, and the frame numbers. The exam‐
23       ples given below will demonstrate this.
24

OPTIONS

26       -f f1 f2 f3 ...
27              This option allows the user to specify a list of  frames  to  be
28              extracted from the input rasterfile.
29
30       -ofmt output-format
31              The user can specify output-format to be the desired format e.g.
32              hdf, rgb, etc.
33
34       -help  Print help information.
35
36       -verbose
37              Print a message each time an output rasterfile is written.
38
39       -Version
40              Print the version number.
41
42

EXAMPLES

44       Assume you have a file called 'temp.nrif' that  has  three  frames  and
45       that  you'd  like  to split it into three separate frames, also in NRIF
46       format.
47
48                 rassplit temp.nrif
49
50       This  will  result  in  three  output   files   named   temp.0001.nrif,
51       temp.0002.nrif, and temp.003.nrif.
52
53       Assume  you  only want frames two and three, and you want them produced
54       in HDF format instead of NRIF.
55
56                 rassplit -fmt hdf -f 2 3 temp.nrif
57
58       This  will  result  in  two  output  files  named   temp.0001.hdf   and
59       temp.0002.hdf.
60
61

CAVEATS

63       If  you're splitting an HDF file, ask for a non-HDF output format. Oth‐
64       erwise you'll just get the first frame over and over again.
65
66

SEE ALSO

68       rasview(1NCARG),rascat(1NCARG),rasls(1NCARG),                   rasget‐
69       pal(1NCARG),ras_formats(5NCARG),ras_palette(5NCARG)
70
71       Hardcopy: NCAR Graphics Fundamentals, UNIX Version
72
74       Copyright (C) 1987-2009
75       University Corporation for Atmospheric Research
76
77       The use of this Software is governed by a License Agreement.
78
79
80
81NCARG                            January 1993                 RASSPLIT(1NCARG)
Impressum