# MESSENGER Magnetometer (MAG) Cruise-Phase Interplanetary Magnetic Field in RTN Coordinates, 2004-2015 (CDAWeb on HelioCloud)

## Facts

- Provider: Sean C. Solomon, Carnegie Institution of Washington (MESSENGER) (CDAWeb on HelioCloud)
- License: CC0-1.0 (https://heliophysicsdata.gsfc.nasa.gov/WS/hdp/1/Spase?ResourceID=spase://NASA/NumericalData/MESSENGER/MAG/PT0.05S)
- Format: CSV, JSON (in sampled files)
- Stored at: Amazon S3, s3://gov-nasa-hdrl-data1/spdf/cdaweb/data/messenger (us-east-1)
- Access: public, readable without an account
- Category: Astronomy & Space
- Source: https://cdaweb.gsfc.nasa.gov/pub/data/messenger/
- Page: https://scigantic.com/archive/7dee91ad-5d25-5db5-b00f-9c3715a13fe3
- Keywords: Astronomy & Space, heliophysics, solar wind, magnetometer, CSV, JSON, AWS Open Data

## About

Magnetic field data from the magnetometer on NASA's MErcury Surface, Space ENvironment, GEochemistry, and Ranging (MESSENGER) spacecraft, launched in 2004, which studied Mercury from orbit. The CDAWeb dataset MESSENGER_MAG_RTN (mag/rtn_cdf, August 2004 to April 2015) gives interplanetary magnetic field vectors in Radial-Tangential-Normal (RTN) coordinates, typically at 0.5 s or 1 s and sometimes as fine as 0.05 s, as good-quality-only and all-quality components (Br, Bt, Bn), with spacecraft radial distance from the Sun and ecliptic latitude and azimuth. A mag/500ms_cdf folder holds 0.5-second magnetometer files, and helio1hr holds the SPDF HelioWeb hourly heliocentric trajectory. Useful for inner-heliosphere solar wind studies between 0.3 and 1 AU, including radial alignments with Earth-orbiting monitors. Files are daily CDF. Files mirror the NASA SPDF CDAWeb tree in the HelioCloud bucket and are listed in the HelioCloud catalog.json; read CDF files with cdflib, SpacePy or pySPEDAS. License: CC0 1.0, stated in the MESSENGER MAG SPASE record's access rights. Cite Sean C. Solomon (Carnegie Institution of Washington, mission PI) and the MAG team, and acknowledge NASA SPDF.

## 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/messenger/', Delimiter='/')
```

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

## Data structure

File types in sampled files: CSV, JSON

Example file: `spdf/cdaweb/data/messenger/helio1day/MESSENGER_HELIO1DAY_POSITION_2004.csv`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/7dee91ad-5d25-5db5-b00f-9c3715a13fe3
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/7dee91ad-5d25-5db5-b00f-9c3715a13fe3
- Over MCP: `get_schema_card` with id `7dee91ad-5d25-5db5-b00f-9c3715a13fe3` at https://api.scigantic.com/mcp

## Related topics

- [JSON datasets](https://scigantic.com/topics/json)
- [CSV datasets](https://scigantic.com/topics/csv)
- [Astronomy & Space datasets](https://scigantic.com/topics/astronomy-and-space)
- [Heliophysics datasets](https://scigantic.com/topics/heliophysics)
- [Magnetometer datasets](https://scigantic.com/topics/magnetometer)
- [Solar wind datasets](https://scigantic.com/topics/solar-wind)
