nsprfhead
NAME
nsprfhead - show the header in the NRO newstar binary profiles
SYNOPSIS
nsprfhead -input_file filename
-endian [big,little] -max_ch integer
DESCRIPTION
The command directly read NRO newstar binary and shows
the header information of the profile data.
The output is stdout.
FILTER TYPE
[NRO_newstar_binary |] command
OPTIONS
- -input_file filename
- Input filename in NRO newstar binary format.
Both relative and absolute path names are acceptable.
In NRO newstar system the file has a 14-character name started by SS.
Be careful whether the filename has ";".
In this case you should escape ";" with "\" to hold a function of
your command shell. Please check your command shell instruction
in detail.
- Without -input_file option the last parameter attached in your command
line is used as the input filename.
- The filename "-" means standard input.
In the case you must explicitly assign -max_ch value.
- -endian [big,little]
- Data endian of the NRO newstar binary.
Endian of the NRO newstar binary depends on the system
which the data was created.
- -max_ch [integer,auto]
- Maxmum channel number to storable in the NRO newstar binary.
The filesize changes by this parameter.
In the case of "auto" the command automatically read the associated file
with CB name.
DEFAULTS
- -max_ch auto -endian little
- -prm nsprf2scn.prm
SEE ALSO
nsindex,nsfits2scn,nsprfhead
Informal memo of the newstar-binary files
BUGS
- The endian may be inverted depending on your system type.
- If you assign "-max_ch auto", the command automatically read
the associated file, which is the same name beside the first 2 characters;
SS is substituted by CB. The associated file must be in the same
directory which stores the SS file.
- Be careful whether the filename has ";".
In this case you should escape ";" with "\" to hold a function of
your command shell. Please check your command shell instruction
in detail.
- The correct endian cannot be resolved by the system.
You should try to read the file with the nsprfhead command
and check the header value with your own eye.
- Some header information in NRO newstar binary are lost by this conversion.
- The command cannot correct improper value in the header of NRO newstar
binary. Please use the command headcorr after the conversion,
if you need.
HISTORY
- ver.3.11
- 2004/12/1 T.Handa
MANUAL VERSION
- 2004/12/1 T.Handa