GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Aurora-Science-Hub/Integrations: Integrations with third-party data sources

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
benchmarks/AuroraScienceHub.Integrations.Benchmarks
benchmarks/AuroraScienceHub.Integrations.Benchmarks
 
 
docs
docs
 
 
samples
samples
 
 
src
src
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Directory.Build.props
Directory.Build.props
 
 
Directory.Build.targets
Directory.Build.targets
 
 
Directory.Packages.props
Directory.Packages.props
 
 
Integrations.slnx
Integrations.slnx
 
 
LICENSE
LICENSE
 
 
NuGet.Config
NuGet.Config
 
 
README.md
README.md
 
 
global.json
global.json
 
 

Repository files navigation


Aurora Science Hub Integrations
Aurora Science Hub Integrations

External data source integrations for space weather monitoring applications.

NuGet Version NuGet Downloads
Build & Test License: MIT GitHub Stars

Getting Started • Available Packages • Architecture • Development • Code Style • Testing • License • Contributing • Links

Getting Started

All packages are distributed via NuGet and target .NET 10.0 and .NET 11.0. Install individual packages as needed:

dotnet add package AuroraScienceHub.Integrations.NoaaClient
dotnet add package AuroraScienceHub.Integrations.DtuSpaceClient
dotnet add package AuroraScienceHub.Integrations.WdcClient
dotnet add package AuroraScienceHub.Integrations.FmiClient

Quick Example

// Register services
builder.Services.AddNoaaClients(builder.Configuration);

// Inject and use clients
public class SpaceWeatherService
{
    private readonly IRtswClient _rtswClient;

    public SpaceWeatherService(IRtswClient rtswClient)
    {
        _rtswClient = rtswClient;
    }

    public async Task<IReadOnlyList<MagnetometerRecord>> GetMagnetometerDataAsync(
        CancellationToken cancellationToken)
    {
        return await _rtswClient.GetMagnetometerDataAsync(cancellationToken);
    }
}

Each package provides HTTP clients for accessing external data sources with strongly-typed response models and full dependency injection support.

Available Packages

NOAA Space Weather Integrations

AuroraScienceHub.Integrations.NoaaClient - Comprehensive NOAA Space Weather data access

Component Description
RTSW Client NOAA real-time solar wind feeds — 1-minute magnetometer and plasma JSON data with active and source metadata
KP-Index Client Geomagnetic activity indices — nowcast and forecast data (3-day and 27-day)
WSA-ENLIL Client Solar wind forecast animation — downloads WSA-ENLIL model frames and encodes them as MP4 (H.264) via FFmpeg
ACE Client Legacy text feeds (deprecated; use RTSW instead — see Integrations #3)

See detailed documentation for usage examples and API reference.

DTU Space Integrations

AuroraScienceHub.Integrations.DtuSpaceClient - DTU Space data access

Component Description
PC-Index Client Polar Cap North (PCN) index — near-real-time 1-minute quick-look CSV data (~10 minutes lag)

See detailed documentation for usage examples and API reference.

World Data Center for Geomagnetism, Kyoto Integrations

AuroraScienceHub.Integrations.WdcClient reads the real-time hourly Dst index in nT. The client supports a UTC day or an inclusive range and maps missing values to null. See the package documentation for configuration, time semantics and data usage rules.

Finnish Meteorological Institute Integrations

AuroraScienceHub.Integrations.FmiClient reads the FMI real-time IU and IL electrojet indices in nT. One request returns both indices for the latest 24 hours together with UTC timestamps and magnetometer station counts. See the package documentation for configuration, data semantics and usage rules.

Architecture

This repository provides production-ready HTTP clients for external space weather data sources with the following characteristics:

  • Type-Safe Clients - Strongly-typed HTTP clients with dependency injection support via IHttpClientFactory
  • Response Models - Well-defined DTOs for all API responses with validation
  • Configuration - Options pattern for configuring API endpoints and behavior
  • Modern .NET - Built on .NET 10 and .NET 11 with latest C# features and performance optimizations
  • Resilience - Built-in retry policies and error handling
  • Testability - Designed for easy unit testing with interface-based design

Design Principles

  • Single Responsibility - Each client focuses on a specific data source
  • Dependency Injection - First-class DI support for ASP.NET Core and .NET applications
  • Performance - Optimized parsing and minimal allocations
  • Extensibility - Easy to extend with additional data sources

Development

Prerequisites

  • .NET 11.0 SDK or later
  • IDE: Visual Studio 2025+, Rider 2025+, or VS Code
  • FFmpeg — required for WSA-ENLIL animation encoding (see installation instructions)

Building from Source

# Clone the repository
git clone https://github.com/Aurora-Science-Hub/Integrations.git
cd Integrations

# Restore dependencies
dotnet restore

# Build the solution
dotnet build

# Run tests
dotnet test

FFmpeg Installation

The WSA-ENLIL animation feature requires FFmpeg to encode forecast frames into MP4 video. Install it for your platform:

Windows:

winget install ffmpeg

macOS:

brew install ffmpeg

Linux (Ubuntu/Debian):

sudo apt-get install ffmpeg

Linux (Fedora/RHEL):

sudo dnf install ffmpeg-free

Verify the installation:

ffmpeg -version

Code Style

The solution uses EditorConfig based on Azure SDK .NET to maintain consistent code style across all packages.

Formatting Commands

# Format code before committing
dotnet format

# Verify code style compliance
dotnet format --verify-no-changes

Code Quality Standards

  • Nullable reference types enabled
  • Warnings treated as errors
  • Latest C# language version
  • Code style enforcement in build
  • Embedded debug symbols in packages

Testing

Unit tests are located in the tests/UnitTests/ directory.

Test Framework

  • xUnit - Test execution framework
  • Moq - Mocking library for unit tests
  • Embedded Resources - Test data stored as embedded resources for reproducibility

Running Tests

# Run all tests
dotnet test

# Run tests in watch mode
dotnet watch test --project tests/UnitTests/UnitTests.csproj

Test Coverage

The project maintains comprehensive test coverage for all data parsers and client implementations, ensuring data integrity and API reliability.

License

This project is licensed under the MIT License. See LICENSE file for details.

Contributing

We welcome contributions! When contributing to this repository:

  1. Follow the established code style (enforced by EditorConfig)
  2. Run dotnet format before committing
  3. Ensure all tests pass with dotnet test
  4. Update relevant README files for your changes
  5. Keep packages focused and loosely coupled
  6. Add unit tests for new features

Reporting Issues

Please report bugs and feature requests on the GitHub Issues page.

Links

  • NuGet Package: AuroraScienceHub.Integrations.NoaaClient
  • Source Code: GitHub Repository
  • Issue Tracker: GitHub Issues
  • Changelog: CHANGELOG.md
  • Release Notes: RELEASE_NOTES.md

Acknowledgments

This project integrates data from the NOAA Space Weather Prediction Center. We thank NOAA and NASA for providing free and open access to space weather data.

About

Integrations with third-party data sources

Resources

Readme
MIT license
Activity
Custom properties

Stars

6 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.