# ELFIN CubeSats: Energetic Particle Detector Electron Fluxes and State Data, ELFIN-A and ELFIN-B (CDAWeb on HelioCloud)

## Facts

- Provider: NASA SPDF CDAWeb (HelioCloud mirror) / ELFIN team (V. Angelopoulos, UCLA)
- License: CC0-1.0 (https://heliophysicsdata.gsfc.nasa.gov/WS/hdp/1/Spase?ResourceID=spase://NASA/NumericalData/ELFIN/A/EPD/L1/electron/PT0.2S)
- Stored at: Amazon S3, s3://gov-nasa-hdrl-data1/spdf/cdaweb/data/elfin (us-east-1)
- Access: public, readable without an account
- Category: Astronomy & Space
- Source: https://cdaweb.gsfc.nasa.gov/pub/data/elfin/
- Page: https://scigantic.com/archive/b3b7ebe1-49a5-596d-8d3c-90edfd59deed
- Keywords: Astronomy & Space, heliophysics, AWS Open Data

## About

Data from ELFIN (Electron Losses and Fields INvestigation), a pair of UCLA CubeSats (ELFIN-A and ELFIN-B) in low Earth orbit that measured precipitating and trapped energetic electrons to study radiation belt electron loss. The HelioCloud catalog lists 8 CDAWeb datasets, 4 per spacecraft, including Level 1 Energetic Particle Detector (EPD) electron energy flux at about 0.2-second resolution and predicted and definitive state (position and attitude) files. Used with conjugate Van Allen Probes, THEMIS and ground observations to resolve electron precipitation by pitch angle. Files are CDF. Files mirror the NASA SPDF CDAWeb tree (instrument, data level, product, year) in the HelioCloud bucket and are listed in the HelioCloud catalog.json; read them with cdflib, SpacePy or pySPEDAS. License: CC0 1.0, per the dataset's SPASE record and the NASA Heliophysics Science Data Management Policy. Cite the instrument teams and the dataset DOIs given on each CDAWeb dataset page, and acknowledge SPDF/CDAWeb.

## Load the data

```python
import boto3
from botocore import UNSIGNED
from botocore.client import Config
s3 = boto3.client('s3', region_name='us-east-1', config=Config(signature_version=UNSIGNED))
s3.list_objects_v2(Bucket='gov-nasa-hdrl-data1', Prefix='spdf/cdaweb/data/elfin/', Delimiter='/')
```

Lists the files with anonymous access. Runs on any machine, with no cloud account.

## Data structure

Example file: `spdf/cdaweb/data/elfin/elfina/ephemeris/2018/ela_l1_state_20180917_v01.cdf`

Path pattern: `{id}/{seg1}/{seg2}/{seg3}/{seg4}/{seg5}/{YYYY}/{filename}`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/b3b7ebe1-49a5-596d-8d3c-90edfd59deed
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/b3b7ebe1-49a5-596d-8d3c-90edfd59deed
- Over MCP: `get_schema_card` with id `b3b7ebe1-49a5-596d-8d3c-90edfd59deed` at https://api.scigantic.com/mcp

## Related topics

- [Astronomy & Space datasets](https://scigantic.com/topics/astronomy-and-space)
- [Heliophysics datasets](https://scigantic.com/topics/heliophysics)
