SpaceDataModel.jl
SpaceDataModel.jl is a lightweight Julia package providing a flexible data model for handling space/heliospheric science data. It offers abstractions for organizing space data into hierarchical structures including projects, instruments, datasets, and data variables.
It is used in SPEDAS.jl, Speasy.jl, and HAPIClient.jl.
Installation
using Pkg
Pkg.add("SpaceDataModel")
Usage
using SpaceDataModel
# Create a project
project = Project(; name="Project Name")
instrument = Instrument(; name="Instrument Name")
dataset = DataSet(name="Dataset Name")
push!(project, instrument, dataset)
push!(instrument, dataset)
See Data Model and Project Module - SPEDAS.jl for more details.
Features
- Hierarchical organization of data (projects, instruments, datasets)
- Pretty printing for data inspection
Reference
- SPASE Model
- HAPI Data Access Specification
- CommonDataModel.jl contains abstracts type definition for loading and manipulating GRIB, NetCDF, geoTiff and Zarr files.
- NetCDF Data Model