# TWINS Two Wide-angle Imaging Neutral-atom Spectrometers: ENA Images, Ion Temperature Maps and Lyman-alpha Data (CDAWeb on HelioCloud)

## Facts

- Provider: NASA SPDF CDAWeb (HelioCloud mirror) / TWINS team (D. McComas, Southwest Research Institute)
- License: CC0-1.0 (https://heliophysicsdata.gsfc.nasa.gov/WS/hdp/1/Spase?ResourceID=spase://NASA/NumericalData/TWINS/ENA/MagnetosphericIonTemperatures/ModifiedData/PT10M)
- Stored at: Amazon S3, s3://gov-nasa-hdrl-data1/spdf/cdaweb/data/twins (us-east-1)
- Access: public, readable without an account
- Category: Astronomy & Space
- Source: https://cdaweb.gsfc.nasa.gov/pub/data/twins/
- Page: https://scigantic.com/archive/1e26403f-610d-5630-9ec9-62199ac79a2c
- Keywords: Astronomy & Space, heliophysics, magnetosphere, AWS Open Data

## About

Data from NASA's TWINS mission, two neutral-atom imagers on separate Molniya-orbit spacecraft giving stereo views of Earth's ring current and plasma sheet. The HelioCloud catalog lists 13 CDAWeb datasets: TWINS1 and TWINS2 Level 1 neutral-atom spectrometer magnetospheric images and image movies at full energy resolution; Lyman Alpha Detector (LAD) Level 1 geocorona data; storm-time plasma sheet ion temperature images derived from ENA measurements, per spacecraft and combined; definitive ephemeris and attitude; and housekeeping. Used for ring current dynamics during geomagnetic storms. 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/twins/', Delimiter='/')
```

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

## Data structure

Example file: `spdf/cdaweb/data/twins/combined/ena/m2/2009/twins_m2_ena_20090409_v05.cdf`

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

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/1e26403f-610d-5630-9ec9-62199ac79a2c
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/1e26403f-610d-5630-9ec9-62199ac79a2c
- Over MCP: `get_schema_card` with id `1e26403f-610d-5630-9ec9-62199ac79a2c` 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)
- [Magnetosphere datasets](https://scigantic.com/topics/magnetosphere)
