Project

Profile

Help

Bug #4444 » SP-Test1-VALID.xml

Test XML - Jordan Padams, 2020-01-28 21:21

 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1C00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
3
<?xml-model href="https://pds.nasa.gov/pds4/sp/v1/PDS4_SP_1C00_1200.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
4

    
5
<!-- 
6
    This test label exercises:
7
    
8
      o Uniformly_Sampled bins for an array spectrum
9
      o Spectral_Lookup referencing a data object within the same product
10
      o Spectral_Lookup referencing a Field within a spectral Table object
11
      o Axis_Bin_Set being used to define bins for a 3D spectral image stack
12
      o Uniformly_Sampled rows in a spectral Table object ("Telescope spectrum")
13
      o Axis_Bin_Set fields in tabulated spectra, with unknown bin widths
14
      o Unknown bin widths in a Spectral_Lookup referencing an external product
15

16
    Note that these examples are neither exhaustive nor exclusive.  Any Table-type object,
17
    for example, can hold a 1D spectrum of any spectral_bin_type; other bin-definition
18
    methods (Uniformly_Sampled, etc.) may be used to define bins for tabulated spectra.
19
-->
20

    
21
<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1"
22
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23
    xmlns:sp="http://pds.nasa.gov/pds4/sp/v1"
24
    xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1C00.xsd
25
                        http://pds.nasa.gov/pds4/sp/v1  https://pds.nasa.gov/pds4/sp/v1/PDS4_SP_1C00_1200.xsd">
26
    <Identification_Area>
27
        <logical_identifier>urn:nasa:pds:bundle:collection:product</logical_identifier>
28
        <version_id>1.0</version_id>
29
        <title>Test Label 1 for Spectral Dictionary - Valid Label</title>
30
        <information_model_version>1.12.0.0</information_model_version>
31
        <product_class>Product_Observational</product_class>
32
    </Identification_Area>
33
    
34
    <Observation_Area>
35
        <Time_Coordinates>
36
            <start_date_time xsi:nil="true" nilReason="inapplicable"/>
37
            <stop_date_time xsi:nil="true" nilReason="inapplicable"/>
38
        </Time_Coordinates>
39
        
40
        <Investigation_Area>
41
            <name>None</name>
42
            <type>Individual Investigation</type>
43
            <Internal_Reference>
44
                <lid_reference>urn:nasa:pds:context:investigation:individual.none</lid_reference>
45
                <reference_type>data_to_investigation</reference_type>
46
            </Internal_Reference>
47
        </Investigation_Area>
48
        <Observing_System>
49
            <Observing_System_Component>
50
                <name>None</name>
51
                <type>Telescope</type>
52
            </Observing_System_Component>
53
        </Observing_System>
54
        <Target_Identification>
55
            <name>None</name>
56
            <type>Comet</type>
57
        </Target_Identification>
58
        
59
        <Discipline_Area>
60
            
61
            <!-- Uniformly Sampled Array Axis  -->
62
            
63
            <sp:Spectral_Characteristics>
64
                <Local_Internal_Reference>
65
                    <local_identifier_reference>Spectrum2D</local_identifier_reference>
66
                    <local_reference_type>spectral_characteristics_to_array_object</local_reference_type>
67
                </Local_Internal_Reference>
68
                <sp:spectrum_format>2D</sp:spectrum_format>
69
                <sp:spectral_bin_type>wavelength</sp:spectral_bin_type>
70
                
71
                <sp:Observation_Parameters>
72
                    <sp:number_of_exposures>1</sp:number_of_exposures>
73
                    <sp:net_integration_time unit="s">100</sp:net_integration_time>
74
                </sp:Observation_Parameters>
75
                
76
                <sp:Field_of_View>
77
                    <sp:description>
78
                        This FOV in this case is a simple slit.  
79
                    </sp:description>
80
                    <sp:Rectangular_FOV>
81
                        <sp:width_angle unit="deg">0.01</sp:width_angle>
82
                        <sp:length_angle unit="deg">0.1</sp:length_angle>
83
                        <sp:celestial_north_position_angle unit="deg">47.6</sp:celestial_north_position_angle>
84
                        <sp:body_positive_pole_position_angle unit="deg">90</sp:body_positive_pole_position_angle>
85
                    </sp:Rectangular_FOV>
86
                </sp:Field_of_View>
87
                
88
                <sp:Bin_Description>
89
                    <sp:bin_profile_description>
90
                        Bin widths are FWHM as described in the instrument documentation.
91
                    </sp:bin_profile_description>
92
                    <sp:Uniformly_Sampled_Wavelength>
93
                        <sp:axis_name>Sample</sp:axis_name>
94
                        <sp:sampling_interval_wavelength unit="nm">100</sp:sampling_interval_wavelength>
95
                        <sp:sampling_scale>Linear</sp:sampling_scale>
96
                        <sp:bin_width_wavelength unit="nm">100</sp:bin_width_wavelength>
97
                        <sp:first_center_wavelength unit="nm">3550</sp:first_center_wavelength>
98
                        <sp:last_center_wavelength unit="nm">3600</sp:last_center_wavelength>
99
                    </sp:Uniformly_Sampled_Wavelength>
100
                </sp:Bin_Description>
101
                
102
            </sp:Spectral_Characteristics>
103
            
104
            <!-- Spectral Lookup for 3D spectra, internal -->
105
            
106
            <sp:Spectral_Characteristics>
107
                <Local_Internal_Reference>
108
                    <local_identifier_reference>Cube</local_identifier_reference>
109
                    <local_reference_type>spectral_characteristics_to_array_object</local_reference_type>
110
                </Local_Internal_Reference>
111
                <sp:spectrum_format>3D</sp:spectrum_format>
112
                <sp:spectral_bin_type>frequency</sp:spectral_bin_type>
113
                
114
                <sp:Observation_Parameters>
115
                    <sp:number_of_exposures>2</sp:number_of_exposures>
116
                    <sp:net_integration_time unit="s">10</sp:net_integration_time>
117
                    <sp:resolution_limit_frequency unit="Hz">1</sp:resolution_limit_frequency>
118
                </sp:Observation_Parameters>
119
                
120
                <sp:Field_of_View>
121
                    <sp:description>
122
                        This FOV is circular.
123
                    </sp:description>
124
                    <sp:Circular_FOV>
125
                        <sp:diameter_angle unit="deg">0.05</sp:diameter_angle>
126
                    </sp:Circular_FOV>
127
                </sp:Field_of_View>
128
                
129
                <sp:Bin_Description>
130
                    <sp:bin_profile_description>
131
                        Bin centers and widths are specified as part of the mission documentation,
132
                        specifically in the detector specifications [usually there would be some 
133
                        sort of reference here].
134
                    </sp:bin_profile_description>
135
                    <sp:Spectral_Lookup>
136
                        <sp:Bin_Center_Lookup>
137
                            <Local_Internal_Reference>
138
                                <local_identifier_reference>BinCenterMap</local_identifier_reference>
139
                                <local_reference_type>spectral_characteristics_to_bin_center_values</local_reference_type>
140
                            </Local_Internal_Reference>
141
                        </sp:Bin_Center_Lookup>
142
                        <sp:Bin_Width_Lookup>
143
                            <Local_Internal_Reference>
144
                                <local_identifier_reference>BinWidthMap</local_identifier_reference>
145
                                <local_reference_type>spectral_characteristics_to_bin_width_values</local_reference_type>
146
                            </Local_Internal_Reference>
147
                        </sp:Bin_Width_Lookup>
148
                    </sp:Spectral_Lookup>
149
                </sp:Bin_Description>
150
            </sp:Spectral_Characteristics>
151
            
152
            <!-- Spectral Lookup for 1D spectrum (table), in Table fields -->
153
            
154
            <sp:Spectral_Characteristics>
155
                <Local_Internal_Reference>
156
                    <comment>
157
                        The spectral bin centers are included in the table in the named field.  In
158
                        this case, FWHM values are also included in the table as a separate field.
159
                        Table field classes must have 'name' attributes (although these are not
160
                        currently required to be unique).  
161
                    </comment>
162
                    <local_identifier_reference>TableChar1D</local_identifier_reference>
163
                    <local_reference_type>spectral_characteristics_to_table_object</local_reference_type>
164
                </Local_Internal_Reference>
165
                <sp:spectrum_format>1D</sp:spectrum_format>
166
                <sp:value_field_name>Intensity</sp:value_field_name>
167
                <sp:spectral_bin_type>wavelength</sp:spectral_bin_type>
168
                
169
                <sp:Observation_Parameters>
170
                    <sp:number_of_exposures>1</sp:number_of_exposures>
171
                    <sp:net_integration_time unit="s">20</sp:net_integration_time>
172
                    <sp:resolution_limit_wavelength unit="nm">5</sp:resolution_limit_wavelength>
173
                </sp:Observation_Parameters>
174
                
175
                <sp:Field_of_View>
176
                    <sp:description>
177
                        This field of view is not a regular shape.  Typically this should be 
178
                        described in some detail in a document that is referenced within this
179
                        class (we'll assume one exists in this case as a demonstration).  For
180
                        example, the Alice spectrometer on New Horizons has a "lollipop" shaped
181
                        slit.  I don't know the actual dimensions of that slit, so the 
182
                        description below is fake.  This description would specify that the
183
                        'width' indicated here is for the widest part of the slit, for example.
184
                    </sp:description>
185
                    <sp:Complex_FOV>
186
                        <sp:width_angle unit="arcsec">10</sp:width_angle>
187
                        <sp:length_angle unit="arcsec">100</sp:length_angle>
188
                        <sp:celestial_north_position_angle unit="deg">70</sp:celestial_north_position_angle>
189
                    </sp:Complex_FOV>
190
                    <Internal_Reference>
191
                        <lid_reference>urn:nasa:pds:nh_docs:slit_specs</lid_reference>
192
                        <reference_type>spectral_characteristics_to_document</reference_type>
193
                        <comment>
194
                            This document provides both a diagram and specific physical 
195
                            measurements of the lollipop-shaped slit.
196
                        </comment>
197
                    </Internal_Reference>
198
                </sp:Field_of_View>
199
                
200
                <sp:Bin_Description>
201
                    <sp:bin_profile_description>
202
                        Bin widths indicated in the table are those listed in the manufacturer's 
203
                        specifications.
204
                    </sp:bin_profile_description>
205
                    <sp:Spectral_Lookup>
206
                        <sp:Bin_Center_Lookup>
207
                            <sp:bin_center_field_name>Center Wavelength</sp:bin_center_field_name>
208
                        </sp:Bin_Center_Lookup>
209
                        <sp:Bin_Width_Lookup>
210
                            <sp:bin_width_field_name>FWHM</sp:bin_width_field_name>
211
                        </sp:Bin_Width_Lookup>
212
                    </sp:Spectral_Lookup>
213
                </sp:Bin_Description>
214
            </sp:Spectral_Characteristics>
215
            
216
            <!-- Bin Definitions using Axis_Bin_Set -->
217
            
218
            <sp:Spectral_Characteristics>
219
                <Local_Internal_Reference>
220
                    <local_identifier_reference>RGBSpec</local_identifier_reference>
221
                    <local_reference_type>spectral_characteristics_to_array_object</local_reference_type>
222
                </Local_Internal_Reference>
223
                <sp:description>
224
                    The spectrum in this case is a shallow cube - only three bands corresponding 
225
                    to Red, Green, and Blue.
226
                </sp:description>
227
                <sp:spectrum_format>3D</sp:spectrum_format>
228
                <sp:spectral_bin_type>wavenumber</sp:spectral_bin_type>
229
                
230
                <sp:Observation_Parameters>
231
                    <sp:number_of_exposures>1</sp:number_of_exposures>
232
                    <sp:net_integration_time unit="s">1</sp:net_integration_time>
233
                    <sp:resolution_limit_wavenumber unit="1/nm">100</sp:resolution_limit_wavenumber>
234
                </sp:Observation_Parameters>
235
                
236
                <sp:Field_of_View>
237
                    <sp:description>
238
                        This FOV is square aligned with the image.
239
                    </sp:description>
240
                    <sp:Rectangular_FOV>
241
                        <sp:width_angle unit="arcsec">20</sp:width_angle>
242
                        <sp:length_angle unit="arcsec">20</sp:length_angle>
243
                        <sp:body_positive_pole_position_angle unit="deg">0</sp:body_positive_pole_position_angle>
244
                    </sp:Rectangular_FOV>
245
                </sp:Field_of_View>
246
                
247
                <sp:Bin_Description>
248
                    <sp:bin_profile_description>
249
                        Bin profiles were determined during ground-testing with known sources.
250
                    </sp:bin_profile_description>
251
                    <sp:Axis_Bin_Set_Wavenumber>
252
                        <sp:axis_name>Band</sp:axis_name>
253
                        <sp:Bin_Wavenumber>
254
                            <sp:bin_sequence_number>1</sp:bin_sequence_number>
255
                            <sp:center_wavenumber unit="1/cm">0.1</sp:center_wavenumber>
256
                            <sp:bin_width_wavenumber unit="1/cm">0.035</sp:bin_width_wavenumber>
257
                        </sp:Bin_Wavenumber>
258
                        <sp:Bin_Wavenumber>
259
                            <sp:bin_sequence_number>2</sp:bin_sequence_number>
260
                            <sp:center_wavenumber unit="1/cm">0.15</sp:center_wavenumber>
261
                            <sp:bin_width_wavenumber unit="1/cm">0.2</sp:bin_width_wavenumber>
262
                        </sp:Bin_Wavenumber>
263
                        <sp:Bin_Wavenumber>
264
                            <sp:bin_sequence_number>3</sp:bin_sequence_number>
265
                            <sp:center_wavenumber unit="1/cm">0.35</sp:center_wavenumber>
266
                            <sp:bin_width_wavenumber unit="1/cm">0.3</sp:bin_width_wavenumber>
267
                        </sp:Bin_Wavenumber>
268
                    </sp:Axis_Bin_Set_Wavenumber>
269
                </sp:Bin_Description>
270
            </sp:Spectral_Characteristics>
271
            
272
            <!-- Telescope Spectrum, uniformly sampled bins -->
273
            
274
            <sp:Spectral_Characteristics>
275
                <Local_Internal_Reference>
276
                    <local_identifier_reference>TableChar1D</local_identifier_reference>
277
                    <local_reference_type>spectral_characteristics_to_table_object</local_reference_type>
278
                </Local_Internal_Reference>
279
                <sp:description>
280
                    This is a linear spectrum - presented as a table where each point in the spectrum
281
                    (usually along with associated information) is contained in a single row of the table.
282
                    In this case it is necessary to specify the name of the field that contains the actual
283
                    measured datum.
284
                </sp:description>
285
                <sp:spectrum_format>1D</sp:spectrum_format>
286
                <sp:value_field_name>Intensity</sp:value_field_name>
287
                <sp:spectral_bin_type>wavelength</sp:spectral_bin_type>
288
                                
289
                <sp:Observation_Parameters>
290
                    <sp:number_of_exposures>1</sp:number_of_exposures>
291
                    <sp:net_integration_time unit="s">10</sp:net_integration_time>
292
                    <sp:resolution_limit_wavelength unit="micrometer">10</sp:resolution_limit_wavelength>
293
                    <sp:solar_analog_star_name>Billy</sp:solar_analog_star_name>
294
                </sp:Observation_Parameters>
295
                
296
                <sp:Field_of_View>
297
                    <sp:description>
298
                        Tbe FOV is a simple slit.
299
                    </sp:description>
300
                    <sp:Rectangular_FOV>
301
                        <sp:width_angle unit="deg">0.01</sp:width_angle>
302
                        <sp:length_angle unit="deg">0.06</sp:length_angle>
303
                        <sp:celestial_north_position_angle unit="deg">23</sp:celestial_north_position_angle>
304
                    </sp:Rectangular_FOV>
305
                </sp:Field_of_View>
306
                
307
                <sp:Bin_Description>
308
                    <sp:bin_profile_description>
309
                        Bin centers and bandpasses included in the table were copied from the
310
                        instrument manual.
311
                    </sp:bin_profile_description>
312
                    <sp:Uniformly_Sampled_Wavelength>
313
                        <sp:axis_name>Row</sp:axis_name>
314
                        <sp:sampling_interval_wavelength unit="nm">100</sp:sampling_interval_wavelength>
315
                        <sp:sampling_scale>Linear</sp:sampling_scale>
316
                        <sp:bin_width_wavelength unit="nm">10</sp:bin_width_wavelength>
317
                        <sp:first_center_wavelength unit="nm">350</sp:first_center_wavelength>
318
                        <sp:last_center_wavelength unit="nm">480</sp:last_center_wavelength>
319
                    </sp:Uniformly_Sampled_Wavelength>
320
                </sp:Bin_Description>
321
            </sp:Spectral_Characteristics>
322

    
323
            <!-- Axis_Bin_Set for fields in tabulated spectra, with unknown bin widths -->
324
            
325
            <sp:Spectral_Characteristics>
326
                <Local_Internal_Reference>
327
                    <local_identifier_reference>TabFlat</local_identifier_reference>
328
                    <local_reference_type>spectral_characteristics_to_table_object</local_reference_type>
329
                </Local_Internal_Reference>
330
                <sp:spectrum_format>Tabulated-Flat</sp:spectrum_format>
331
                <sp:value_field_number_list>(2,3,4,5)</sp:value_field_number_list>
332
                <sp:spectral_bin_type>wavenumber</sp:spectral_bin_type>
333
                <sp:Field_of_View>
334
                    <sp:description>Simple circular aperture</sp:description>
335
                    <sp:Circular_FOV>
336
                        <sp:diameter_angle unit="arcsec">10</sp:diameter_angle>
337
                    </sp:Circular_FOV>
338
                </sp:Field_of_View>
339
                <sp:Bin_Description>
340
                    <sp:bin_profile_description>
341
                        Bin centers are taken from the label on the filter holders; bin widths are not known.
342
                    </sp:bin_profile_description>
343
                    <sp:Axis_Bin_Set_Wavenumber>
344
                        <sp:axis_name>Field</sp:axis_name>
345
                        <sp:Bin_Wavenumber>
346
                            <sp:bin_sequence_number>1</sp:bin_sequence_number>
347
                            <sp:center_wavenumber unit="1/nm">0.00333</sp:center_wavenumber>
348
                            <sp:bin_width_wavenumber unit="1/nm" xsi:nil="true" nilReason="unknown"/>
349
                        </sp:Bin_Wavenumber>
350
                        <sp:Bin_Wavenumber>
351
                            <sp:bin_sequence_number>2</sp:bin_sequence_number>
352
                            <sp:center_wavenumber unit="1/nm">0.00400</sp:center_wavenumber>
353
                            <sp:bin_width_wavenumber unit="1/nm" xsi:nil="true" nilReason="unknown"/>
354
                        </sp:Bin_Wavenumber>
355
                        <sp:Bin_Wavenumber>
356
                            <sp:bin_sequence_number>3</sp:bin_sequence_number>
357
                            <sp:center_wavenumber unit="1/nm">0.00500</sp:center_wavenumber>
358
                            <sp:bin_width_wavenumber unit="1/nm" xsi:nil="true" nilReason="unknown"/>
359
                        </sp:Bin_Wavenumber>
360
                        <sp:Bin_Wavenumber>
361
                            <sp:bin_sequence_number>4</sp:bin_sequence_number>
362
                            <sp:center_wavenumber unit="1/nm">0.00667</sp:center_wavenumber>
363
                            <sp:bin_width_wavenumber unit="1/nm" xsi:nil="true" nilReason="unknown"/>
364
                        </sp:Bin_Wavenumber>
365
                    </sp:Axis_Bin_Set_Wavenumber>
366
                </sp:Bin_Description>
367
            </sp:Spectral_Characteristics>
368
            
369
            <!-- Unknown bin widths in a Spectral_Lookup referencing an external product-->
370
            
371
            <sp:Spectral_Characteristics>
372
                <Local_Internal_Reference>
373
                    <local_identifier_reference>TabFlat</local_identifier_reference>
374
                    <local_reference_type>spectral_characteristics_to_table_object</local_reference_type>
375
                </Local_Internal_Reference>
376
                <sp:spectrum_format>Tabulated-Flat</sp:spectrum_format>
377
                <sp:value_field_number_list>(2,3,4,5)</sp:value_field_number_list>
378
                <sp:spectral_bin_type>frequency</sp:spectral_bin_type>
379
                <sp:Field_of_View>
380
                    <sp:description>Simple square field of view</sp:description>
381
                    <sp:Rectangular_FOV>
382
                        <sp:width_angle unit="arcsec">5</sp:width_angle>
383
                        <sp:length_angle unit="arcsec">5</sp:length_angle>
384
                    </sp:Rectangular_FOV>
385
                </sp:Field_of_View>
386
                <sp:Bin_Description>
387
                    <sp:bin_profile_description>
388
                        Bin centers were determined during initial calibration and reported
389
                        in the referenced document.
390
                        
391
                        Bin widths are as yet unknown, but are expected to be provided as part
392
                        final calibration.
393
                    </sp:bin_profile_description>
394
                    <sp:Spectral_Lookup>
395
                        <sp:Bin_Center_Lookup>
396
                            <Internal_Reference>
397
                                <lidvid_reference>urn:nasa:pds:bundle:collection:bincenters::1.0</lidvid_reference>
398
                                <reference_type>spectral_characteristics_to_bin_center_values</reference_type>
399
                            </Internal_Reference>
400
                        </sp:Bin_Center_Lookup>
401
                        <sp:Bin_Width_Constant>
402
                            <sp:bin_width_frequency unit="Hz" xsi:nil="true" nilReason="unknown"/>
403
                        </sp:Bin_Width_Constant>
404
                    </sp:Spectral_Lookup>
405
                </sp:Bin_Description>
406
            </sp:Spectral_Characteristics>
407
            
408
        </Discipline_Area>
409
    </Observation_Area>
410
    
411
    <File_Area_Observational>
412
        <File>
413
            <file_name>No.Data</file_name>
414
        </File>
415
        
416
        <!-- 2D Spectrum -->
417
        
418
        <Array_2D_Spectrum>
419
            <local_identifier>Spectrum2D</local_identifier>
420
            <offset unit="byte">0</offset>
421
            <axes>2</axes>
422
            <axis_index_order>Last Index Fastest</axis_index_order>
423
            <Element_Array>
424
                <data_type>SignedMSB4</data_type>
425
            </Element_Array>
426
            <Axis_Array>
427
                <axis_name>Line</axis_name>
428
                <elements>255</elements>
429
                <sequence_number>1</sequence_number>
430
            </Axis_Array>
431
            <Axis_Array>
432
                <axis_name>Sample</axis_name>
433
                <elements>24</elements>
434
                <sequence_number>2</sequence_number>
435
            </Axis_Array>
436
        </Array_2D_Spectrum>
437
        
438
        <!-- Spectral Cube -->
439
        
440
        <Array_3D_Spectrum>
441
            <local_identifier>Cube</local_identifier>
442
            <offset unit="byte">1000</offset>
443
            <axes>3</axes>
444
            <axis_index_order>Last Index Fastest</axis_index_order>
445
            <Element_Array>
446
                <data_type>SignedLSB2</data_type>
447
            </Element_Array>
448
            <Axis_Array>
449
                <axis_name>Spatial</axis_name>
450
                <elements>100</elements>
451
                <sequence_number>1</sequence_number>
452
            </Axis_Array>
453
            <Axis_Array>
454
                <axis_name>Frequency</axis_name>
455
                <elements>200</elements>
456
                <sequence_number>2</sequence_number>
457
            </Axis_Array>
458
            <Axis_Array>
459
                <axis_name>Time</axis_name>
460
                <elements>255</elements>
461
                <sequence_number>3</sequence_number>
462
            </Axis_Array>
463
        </Array_3D_Spectrum>
464
        
465
        <!-- Bin centers Map for spectral cube -->
466
        
467
        <Array_2D_Map>
468
            <local_identifier>BinCenterMap</local_identifier>
469
            <offset unit="byte">1</offset>
470
            <axes>2</axes>
471
            <axis_index_order>Last Index Fastest</axis_index_order>
472
            <Element_Array>
473
                <data_type>IEEE754LSBSingle</data_type>
474
            </Element_Array>
475
            <Axis_Array>
476
                <axis_name>Spatial</axis_name>
477
                <elements>100</elements>
478
                <sequence_number>1</sequence_number>
479
            </Axis_Array>
480
            <Axis_Array>
481
                <axis_name>Frequency</axis_name>
482
                <elements>200</elements>
483
                <sequence_number>2</sequence_number>
484
            </Axis_Array>
485
        </Array_2D_Map>
486
        
487
        <!-- Bin width map for specral cube -->
488
        
489
        <Array_2D_Map>
490
            <local_identifier>BinWidthMap</local_identifier>
491
            <offset unit="byte">1</offset>
492
            <axes>2</axes>
493
            <axis_index_order>Last Index Fastest</axis_index_order>
494
            <Element_Array>
495
                <data_type>IEEE754LSBSingle</data_type>
496
            </Element_Array>
497
            <Axis_Array>
498
                <axis_name>Spatial</axis_name>
499
                <elements>100</elements>
500
                <sequence_number>1</sequence_number>
501
            </Axis_Array>
502
            <Axis_Array>
503
                <axis_name>Frequency</axis_name>
504
                <elements>200</elements>
505
                <sequence_number>2</sequence_number>
506
            </Axis_Array>
507
        </Array_2D_Map>
508
        
509
        <!-- Shallow spectral cube with separately defined bins ("planes") -->
510
        
511
        <Array_3D_Spectrum>
512
            <local_identifier>RGBSpec</local_identifier>
513
            <offset unit="byte">3</offset>
514
            <axes>3</axes>
515
            <axis_index_order>Last Index Fastest</axis_index_order>
516
            <Element_Array>
517
                <data_type>IEEE754LSBSingle</data_type>
518
            </Element_Array>
519
            <Axis_Array>
520
                <axis_name>Right Ascension</axis_name>
521
                <elements>1000</elements>
522
                <sequence_number>3</sequence_number>
523
            </Axis_Array>
524
            <Axis_Array>
525
                <axis_name>Declination</axis_name>
526
                <elements>1020</elements>
527
                <sequence_number>2</sequence_number>
528
            </Axis_Array>
529
            <Axis_Array>
530
                <axis_name>Band</axis_name>
531
                <elements>3</elements>
532
                <sequence_number>1</sequence_number>
533
            </Axis_Array>
534
        </Array_3D_Spectrum>
535
        
536
        <!-- 1D Spectral Table  -->
537
        
538
        <Table_Character>
539
            <local_identifier>TableChar1D</local_identifier>
540
            <offset unit="byte">4</offset>
541
            <records>100</records>
542
            <description>
543
                This is just one of many possible structures for a set of 
544
                spectra in tabulated format.
545
            </description>
546
            <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
547
            <Record_Character>
548
                <fields>4</fields>
549
                <groups>0</groups>
550
                <record_length unit="byte">50</record_length>
551
                
552
                <Field_Character>
553
                    <name>Intensity</name>
554
                    <field_location unit="byte">1</field_location>
555
                    <data_type>ASCII_Real</data_type>
556
                    <field_length unit="byte">5</field_length>
557
                </Field_Character>
558
                
559
                <Field_Character>
560
                    <name>Error</name>
561
                    <field_location unit="byte">6</field_location>
562
                    <data_type>ASCII_Real</data_type>
563
                    <field_length unit="byte">4</field_length>
564
                </Field_Character>
565
                
566
                <Field_Character>
567
                    <name>Center Wavelength</name>
568
                    <field_location unit="byte">12</field_location>
569
                    <data_type>ASCII_Integer</data_type>
570
                    <field_length unit="byte">4</field_length>
571
                    <unit>nanometer</unit>
572
                </Field_Character>
573
                
574
                <Field_Character>
575
                    <name>FWHM</name>
576
                    <field_location unit="byte">20</field_location>
577
                    <data_type>ASCII_Real</data_type>
578
                    <field_length unit="byte">6</field_length>
579
                    <unit>angstrom</unit>
580
                </Field_Character>
581
            </Record_Character>
582
        </Table_Character>
583
        
584
        <!-- Tabulated-Flat Spectra -->
585
        
586
        <Table_Character>
587
            <name>Flat Spectra Table</name>
588
            <local_identifier>TabFlat</local_identifier>
589
            <offset unit="byte">0</offset>
590
            <records>1000</records>
591
            <description>
592
                In this format, each row of the table contains a single spectrum, and the fields (columns) are defined without
593
                the use of "Group_Field" classes.  This spectrum has only 4 points, and the bin parameters will be specified
594
                as part of the Spectral Characteristics.
595
            </description>
596
            <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
597
            <Record_Character>
598
                <fields>5</fields>
599
                <groups>0</groups>
600
                <record_length unit="byte">82</record_length>
601
                
602
                <Field_Character>
603
                    <name>Target Name</name>
604
                    <field_number>1</field_number>
605
                    <field_location unit="byte">1</field_location>
606
                    <data_type>ASCII_String</data_type>
607
                    <field_length unit="byte">19</field_length>
608
                    <field_format>%-19s</field_format>
609
                </Field_Character>
610
                
611
                <Field_Character>
612
                    <name>Point 1 Value</name>
613
                    <field_number>2</field_number>
614
                    <field_location unit="byte">20</field_location>
615
                    <data_type>ASCII_Integer</data_type>
616
                    <field_length unit="byte">4</field_length>
617
                    <field_format>%4d</field_format>
618
                    <unit>DN</unit>
619
                </Field_Character>
620
                
621
                <Field_Character>
622
                    <name>Point 2 Value</name>
623
                    <field_number>3</field_number>
624
                    <field_location unit="byte">35</field_location>
625
                    <data_type>ASCII_Integer</data_type>
626
                    <field_length unit="byte">4</field_length>
627
                    <field_format>%4d</field_format>
628
                    <unit>DN</unit>
629
                </Field_Character>
630
                
631
                <Field_Character>
632
                    <name>Point 3 Value</name>
633
                    <field_number>4</field_number>
634
                    <field_location unit="byte">50</field_location>
635
                    <data_type>ASCII_Integer</data_type>
636
                    <field_length unit="byte">4</field_length>
637
                    <field_format>%4d</field_format>
638
                    <unit>DN</unit>
639
                </Field_Character>
640
                
641
                <Field_Character>
642
                    <name>Point 4 Value</name>
643
                    <field_number>5</field_number>
644
                    <field_location unit="byte">65</field_location>
645
                    <data_type>ASCII_Integer</data_type>
646
                    <field_length unit="byte">4</field_length>
647
                    <field_format>%4d</field_format>
648
                    <unit>DN</unit>
649
                </Field_Character>
650
            </Record_Character>
651
        </Table_Character>
652
        
653
    </File_Area_Observational>
654
</Product_Observational>
(2-2/2)