Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.1.0/doc/dsstruct.ps.gz
Дата изменения: Tue Nov 23 00:23:36 2004
Дата индексирования: Tue Oct 2 04:45:36 2012
Кодировка:

Поисковые слова: annular solar eclipse
XMM-Newton Science Analysis System Page: 1
dsstruct
November 22, 2004
Abstract
Get the structure of a list of datasets This task is part of the daltools package
1 Instruments/Modes
Instrument Mode
2 Use
3 Description
Get the structure of a list of datasets
This task outputs a high level (syntax orientated) description of the given dataset. The syntax of the
output is essentially the same as that expected by dsvalidate and dsverify.
The output has the form:
dataset < >
where,
is a list of one or more of

where has the form
block < >
is a list of one or more of
xmmsas 20041122 1834-6.1.0

XMM-Newton Science Analysis System Page: 2

where has the form
array < >
where array is a list of one or more or

For example, if a dataset is created with the following code
#include
int
main()
{
DataSet* set = dataSetServer -> open( "test.dat", Dal::Create );
Attribute* att = set -> addAttribute( "att1", "an attribute", "mm" );
*att = 123;
Table* tab = set -> addTable( "table1", 10, "a table" );
Column* col = tab -> addColumn( "col1", Column::Int32, "a column" );
att = col -> addAttribute( "TLMAX", "std attribute", "Nm" );
*att = 1000;
dataSetServer -> close( set );
}
i.e. creates a dataset with name "test.dat" containing a dataset attribute called att1, ...
then the command dsstruct {set=test.dat produces the following output:
dataset
<
name "test.dat"
attribute
<
name "ATT1"
type Int
value "123"
>
table
<
name "table1"
rows 10
column
<
name "col1"
type Int32
xmmsas\_20041122\_1834-6.1.0

XMM-Newton Science Analysis System Page: 3
attribute
<
name "TLMAX"
type Int
value "1000"
>
>
>
>
If the output is redirected to the le check.ds (easily achieved e.g. use the command dsstruct {set=test.dat
> check.ds )
then the command dsverify { le=check.ds or dsvalidate {sets=test.dat {template=check.sc
can be used to check the validity of the dataset test.dat.
4 Parameters
This section documents the parameters recognized by this task (if any).
Parameter Mand Type Default Constraints
sets yes StringList
List of sets on which to run dsstruct
5 Errors
This section documents warnings and errors generated by this task (if any). Note that warnings and
errors can also be generated in the SAS infrastructure libraries, in which case they would not be docu-
mented here. Refer to the index of all errors and warnings available in the HTML version of the SAS
documentation.
6 Input Files
1.
7 Output Files
1.
xmmsas\_20041122\_1834-6.1.0

XMM-Newton Science Analysis System Page: 4
8 Algorithm
9 Comments

10 Future developments
References
xmmsas 20041122 1834-6.1.0