cdasws Example Jupyter Notebook

Prerequisites

  1. Install CDF.
  2. pip install spacepy
  3. pip install cdasws

Get Data Example

The following code demonstrates how to access magnetic field measurements from the ACE mission dataset using the cdasws package in a Jupyter notebook.

Display Metadata

To display metadata for the Magnitude variable, do

Plot Values

To plot the Magnitude values using the label values from the metadata, do

Binning Example

To have uniformly spaced (with respect to time) values computed (with optional spike removal), add the binData keyword paramter like this

DOI Example

To get data from a dataset with a digital object identifier do the following:

Additional Documentation

View the cdasws API for additional functions.