Skip to content

Commit 3a6c2f9

Browse files
committed
finish pds data and icy moons chapter
1 parent 7638f6a commit 3a6c2f9

File tree

2 files changed

+255
-40
lines changed

2 files changed

+255
-40
lines changed

02_pds_data_structure.md

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@ authors:
55
(sec:pds-data-structure)=
66
# PDS Data Structure
77

8-
```{admonition} Conversion status: Close to finished
9-
Basic layouting done, figures added. Please report issues.
10-
```
11-
128
During the Cassini spacecraft’s tour of the solar system, the Ultraviolet Imaging Spectrograph (UVIS) has observed Venus, Earth, the Jovian and Saturn systems.
139
The UVIS science team has delivered data to the Planetary Data System (PDS) for storage in an historical archive.
1410
PDS clients are able to search, retrieve and analyze this data.
1511
This chapter supports those users by providing a description of UVIS data and its organization within the PDS.
1612

1713
In PDS, an “observation” is the fundamental organizational unit of UVIS data.
1814
It is a set of integers representing detector counts obtained while the instrument had a particular configuration and was obtained for a particular purpose.
19-
A document entitled `UVISREF.CAT` is located in all UVIS data volumes at the PDS and describes the instrument in detail.
15+
A document entitled `UVISREF.CAT` is located in all UVIS data volumes at the PDS and describes the instrument in detail.
16+
:::{aside}
17+
Note by Michael Aye: `UVISREF.CAT` is rather a summary of references, and is not a complete description of the instrument. This User's Guide is a more complete description, in my opinion.
18+
:::
2019

2120
In summary, it describes the four subsystems of the UVIS instrument:
2221
* the Far Ultraviolet channel (FUV),
@@ -26,14 +25,10 @@ In summary, it describes the four subsystems of the UVIS instrument:
2625

2726
and how they acquire data.
2827

29-
The four subsystems produce two PDS data types:
30-
31-
1. cubes, and
32-
2. time series.
33-
28+
The four subsystems produce two PDS data types, namely _cubes_, and _time series_.
3429
The EUV and FUV channels use detectors with a 1024x64 array of pixels, which integrate over time to generate a three dimensional matrix.
35-
The axes of this matrix, using PDS terminology, are _line_, _band_, and _sample_.
36-
The _line_ dimension is the detector’s 64 pixel spatial dimension, the _band_ is the 1024 pixel spectral dimension, and the _sample_ dimension corresponds to time where each integration of the detector is arrayed in this dimension.
30+
The axes of this matrix, using PDS terminology, are _`line`_, _`band`_, and _`sample`_.
31+
The _`line`_ dimension is the detector’s 64 pixel spatial dimension, the _`band`_ is the 1024 pixel spectral dimension, and the _`sample`_ dimension corresponds to time where each integration of the detector is arrayed in this dimension.
3732
A three dimensional matrix with these axes is referred to as a **PDS cube**.
3833
The HSP and HDAC are photometers which produce a time ordered sequence of photon counts, corresponding to a **PDS time series**.
3934

@@ -79,7 +74,7 @@ The following surface plot in {numref}`fig:example-jupiter-image` is the first s
7974
:alt: series of spectra
8075
The first sample of a UVIS EUV spatial-spectral image cube observation of Jupiter.
8176
The elevated line at y=~20 is Jupiter.
82-
The elevated regions at Y=~15 and Y=~25 are emissions from the Io torus.
77+
The elevated regions at y=~15 and y=~25 are emissions from the Io torus.
8378
There are 32 lines and 512 bands of data because the binning in this observation is 2 spatially and 2 spectrally.
8479
:::
8580

@@ -93,7 +88,7 @@ For example this [(0, 24), (1023, 39)] window could be binned by two in the band
9388
We take as an example two additional windows defined by window1 = ([0, 10],[1023, 14], SpecBin=1, SpaBin=5) and window3 = ([0, 50],[1023, 54], SpecBin=1, SpaBin=5).
9489
When windowing or binning is defined on the detector, counts are arranged within the matrix in sub-matrices corresponding to the windows of the detector.
9590

96-
{numref}`fig:example-windows` illustrates this windowing and binning:
91+
{ref}`fig:example-windows` illustrates this windowing and binning:
9792

9893
:::{figure} figures/fig_2.5.*
9994
:label: "fig:example-windows"
@@ -118,7 +113,7 @@ The solar-stellar brightness series are represented as PDS Time Series objects t
118113
To this point we have seen several configurable aspects of the UVIS instrument, namely, integration time and the detector windowing and binning.
119114
Windows are defined by the upper left and lower right corners of the window and an associated spatial bin and spectral bin.
120115
These values are specified in the PDS using name/value pairs.
121-
In PDS format, the previous example had INTEGRATION_DURATION = 1 <SECOND>, and three windows defined using their
116+
In PDS format, the previous example had INTEGRATION_DURATION = 1 s, and three windows defined using their
122117
upper left corner, lower right corner and binning:
123118

124119
```
@@ -191,7 +186,7 @@ PDS data objects have two components, a data component and a label component.
191186
The label contains a set of name/value pairs, including those listed above.
192187
The data file contains data values formatted into a PDS object.
193188
These components are stored as files whose names contain the extensions DAT and LBL respectively.
194-
UVIS data object file names have the form <channel><start_time>.LBL or <channel><start_time>.DAT.
189+
UVIS data object file names have the form `<channel><start_time>.LBL` or `<channel><start_time>.DAT`.
195190
The LBL files contain instrument configuration, spacecraft geometry, and taxonomic information describing UVIS data within the PDS.
196191
Using the information within a LBL, a reader can understand the organization of data within the DAT file and extract that data into an analysis tool.
197192
For example, in the IDL programming language, the read_binary function can read a data Cube such as the one defined above:
@@ -228,16 +223,16 @@ where
228223
* the start time is a text string corresponding to the spacecraft clock start time,
229224
* the stop time is a derived value produced by multiplying the INTEGRATION_DURATION by the number of samples,
230225
* the target name is a value defined during operations planning,
231-
* the OBSERVATION_ID is a unique numerical value associated with the observation,
232-
* the INTEGRATION_DURATION is the time period used to generate each sample,
233-
* the COMPRESSION_TYPE is the algorithm used by the UVIS flight software to encode data on-board and during transmission to earth,
226+
* the `OBSERVATION_ID` is a unique numerical value associated with the observation,
227+
* the `INTEGRATION_DURATION` is the time period used to generate each sample,
228+
* the `COMPRESSION_TYPE` is the algorithm used by the UVIS flight software to encode data on-board and during transmission to earth,
234229
* the `HI_VOLTAGE_POWER_SUPPLY_STATE` is the voltage level applied to the detector,
235230
* the `OCCULTATION_PORT_STATE` is a flag indicating whether the occultation port is open or closed (i.e. whether the light source is being observed through the port),
236-
* the SLIT_STATE describes the width of the spectrometer entrance,
237-
* the TEST_PULSE_STATE indicates whether the data is internally-generated, and
238-
* the ODC_ID is a numeric value identifying the configuration commands generated by the operations team for this observation.
231+
* the `SLIT_STATE` describes the width of the spectrometer entrance,
232+
* the `TEST_PULSE_STATE` indicates whether the data is internally-generated, and
233+
* the `ODC_ID` is a numeric value identifying the configuration commands generated by the operations team for this observation.
239234

240-
There are two DESCRIPTION fields in a label.
235+
There are two `DESCRIPTION` fields in a label.
241236
The first contains a reference to additional material for understanding the instrument state.
242237
The second contains a one line description of the purpose of the observation which has the form “The purpose of this observation is to...”.
243238
The fields relevant to understanding data are spacecraft clock, target, integration, slit state and description.
@@ -251,7 +246,7 @@ The other fields are less important and are included in the label because they a
251246
data quality, and
252247
* observation ID is useful only as a reference point.
253248

254-
The HDAC replaces INTEGRATION_DURATION with DWELL_TIME and the H_LEVEL and D_LEVEL parameters.
249+
The HDAC replaces `INTEGRATION_DURATION` with `DWELL_TIME` and the `H_LEVEL` and `D_LEVEL` parameters.
255250
The time series generated by the HDAC channel may have additional complexity.
256251
If all the filament voltage levels are 0 then the HDAC is in photometer mode and its output is a time series of detector counts.
257252
If there is a non-zero filament voltage level the detector is in modulation mode and the time series can be mapped into a table of 32 columns, each column corresponding to an HDAC filament voltage level in the order:
@@ -278,20 +273,20 @@ PLANET_CENTER_VELOCITY_VECTOR
278273
Their values are in units of degrees for angles, kilometers for distances, and kilometers/second for velocities and are given in the J2000 reference frame.
279274
Geometry values are generated using the NAIF SPICE toolkit.
280275
When a geometry value cannot be computed due to a dispersed target --- such as observation of the interplanetary medium --- or insufficient ephemeris data --- such as when the target is off-center --- a value of UNK is recorded as the parameter value.
281-
Since the number of interplanetary hydrogen survey observations with a target of SOLAR_WIND is relatively high, the number of UNK values is also high.
276+
Since the number of interplanetary hydrogen survey observations with a target of `SOLAR_WIND` is relatively high, the number of UNK values is also high.
282277
Data objects are stored in files within a data volume.
283278
A data volume is a directory tree whose content and structure is defined by PDS.
284279
The UVIS data volume has a name of the form COUVIS_nnnn where CO is an acronym for Cassini Orbiter, UVIS is the instrument name, and `nnnn` is a number in a sequence of indices.
285-
During the Cassini mission, UVIS produced data volumes from COUVIS_0001 through COUVIS_0060.
280+
During the Cassini mission, UVIS produced data volumes from `COUVIS_0001` through `COUVIS_0060`.
286281
The top level directory contains several directories and files:
287282

288-
- DATA contains data objects
289-
- CALIB contains calibration objects
290-
- DOCUMENT contains documentation
291-
- CATALOG contains catalogs of data products on the volume
292-
- SOFTWARE contains software (used for documentation only)
293-
- AAREADME.TXT describes the data volume
294-
- ERRATA.TXT describes know errors.
283+
- `DATA` contains data objects
284+
- `CALIB` contains calibration objects
285+
- `DOCUMENT` contains documentation
286+
- `CATALOG` contains catalogs of data products on the volume
287+
- `SOFTWARE` contains software (used for documentation only)
288+
- `AAREADME.TXT` describes the data volume
289+
- `ERRATA.TXT` describes know errors.
295290

296291
The UVIS data object files are organized by date under the DATA directory.
297292
The CALIB directory contains files that correspond, by name, to FUV and EUV data object files.
@@ -300,9 +295,9 @@ The calibration LBL files contain a description of the calibration process.
300295
The SOFTWARE directory contains algorithms used to generate these coefficients and are included for reference.
301296
The INDEX directory contains a relational database table whose columns are the fields of the LBL files and which contain the label values as records in the table.
302297
The purpose of the INDEX.TAB file is to provide a database search capability.
303-
Underneath the DATA directory is a sequence of directories of the form D<yyyy>_<ddd> where yyyy is a year and ddd is a day of year.
298+
Underneath the DATA directory is a sequence of directories of the form `D<yyyy>_<ddd>` where `yyyy` is a year and `ddd` is a day of year.
304299
The contents of these directories are the observations that began on the specified day, for example,
305-
COUVIS_0002/DATA/D2001_001/FUV2001_001_01_12.LBL.
300+
`COUVIS_0002/DATA/D2001_001/FUV2001_001_01_12.LBL`.
306301
Underneath the CALIB directory is a subdirectory of the form VERSION_n and under that is the same directory tree as is under DATA, for example:
307302

308303
COUVIS_0002/CALIB/VERSION_2/D2001_001/FUV2001_001_01_12_CAL_2.LBL.
@@ -313,14 +308,14 @@ A description of the calibration version is located in the SOFTWARE/CALIB direct
313308
Underneath the INDEX directory are two files, INDEX.LBL and INDEX.TAB.
314309
The INDEX.LBL file contains a schema definition for a relational database table.
315310
The TAB file contains a set of records corresponding to observations, one record per observation.
316-
One column contains the data file name and the rest correspond to the keywords in the observation label, e.g. START_TIME, TARGET_NAME, INTEGRATION_TIME, etc.
311+
One column contains the data file name and the rest correspond to the keywords in the observation label, e.g. `START_TIME`, `TARGET_NAME`, `INTEGRATION_TIME`, etc.
317312
The index table is used to search for observations matching some user-specified criteria.
318-
Underneath the DOCUMENT directory is the UVIS.TXT file that is a more substantial version of this chapter.
319-
The CATALOG directory contains the files UVISINST.CAT and UVISREF.CAT that describe the instrument in detail.
313+
Underneath the DOCUMENT directory is the `UVIS.TXT` file that is a more substantial version of this chapter.
314+
The CATALOG directory contains the files `UVISINST.CAT` and `UVISREF.CAT` that describe the instrument in detail.
320315
Also included there are a description of the mission, the spacecraft and the four UVIS data products.
321316
The SOFTWARE directory contains algorithms encoded in the IDL programming language that are used to generate calibration coefficients and geometry.
322317
They are included primarily for reference.
323-
An IDL data reader, UVIS_PDS_READ_DATA and associated documentation are also provided.
318+
An IDL data reader, `UVIS_PDS_READ_DATA` and associated documentation are also provided.
324319
UVIS data are available from the Atmospheres and Rings nodes of the PDS.
325320
From PDS, users obtain observations formatted as PDS data objects.
326321
By reading the object’s label a user can ascertain the structure of the data and load it into an analysis tool. The label contains all UVIS state information necessary to interpret the data.

0 commit comments

Comments
 (0)