Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes how the CDF files are generated by the ROC pipelines, and what are the tools required

...

Table of content

Table of Contents

ROC CDF file-related convention

...

The following table indicates where CDF file name fields come from in the case of the RODP. This convention must comply the SOL-SGS-TN-0009 doc. specification.

FIELDORIGIN
SourceName"Source_name" global attribute prefix value in the corresponding Master CDF in lower case. (i.e. "solo")
Level

"Level" global attributes prefix value in the corresponding Master CDF (e.g. "L1")

Descriptor"Descriptor" global attribute value in the corresponding Master CDF
dateTimeSee SOL-SGS-TN-0009
Free_fieldNot used for RPW
VXXVersion XX of the current CDF data file, transmitted by the Software and/or from information inside the Master CDFs.

In the case of the ROC-SGSE

...

The maser4py package can be installed using pip tool for Python 3:

pip install maser4py

See https://pypi.python.org/pypi/maser4py for more details.

Note
titleIMPORTANT
  • The maser4py package only works with Python 3.
  • An instance of the maser4py is installed on the roc-dev.obspm.fr server. To run it, you need to activate the CAWA_TEST virtual environment (the same used to test the RCS interface with the validation tool). To do it, execute the "source /opt/roc/bin/load_cawa" from your account in roc-dev. Then enter "load_cawa". If the environament is activated, you should see a (CAWA_TEST) prefix in the prompt.

Conversion of a CDF skeleton table to the master CDF binary file

The main way to convert a CDF skeleton table to a master CDF binary file is to use the "skeletoncdf" tool of the NASA CDF standard library (https://cdf.gsfc.nasa.gov/).

The maser4py package can be also used to generate both the ASCII skeleton and master CDF binary files.
Be sure that the NASA GSFC CDF software distribution V3.6 is installed on your system, and that the "skeletoncdf" program can be called from terminal.
(Visit visit [RD2] to download the GSFC CDF soft.)
Note that if the output CDF master filename is not provided, then skeletoncdf program will named it using the "CDF_NAME" parameter defined in the skeleton header.

A copy of the GSFC CDF Soft. dist. as well as the maser4py module are . V3.6.1 is ready to be used on the roc-dev.obspm.fr.
To load these libraries at login, just enter:

...

For any issue or feedback, please contact the roc team.

Info
titleINFO

The master CDF binary file can also be generated from the skeleton table using the maser4py package.

Some rules to keep in mind when editing a CDF skeleton file

...