AuroraScienceHub.Integrations.NoaaClient 1.4.0

Prefix Reserved
dotnet add package AuroraScienceHub.Integrations.NoaaClient --version 1.4.0
                    
NuGet\Install-Package AuroraScienceHub.Integrations.NoaaClient -Version 1.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AuroraScienceHub.Integrations.NoaaClient" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AuroraScienceHub.Integrations.NoaaClient" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="AuroraScienceHub.Integrations.NoaaClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AuroraScienceHub.Integrations.NoaaClient --version 1.4.0
                    
#r "nuget: AuroraScienceHub.Integrations.NoaaClient, 1.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AuroraScienceHub.Integrations.NoaaClient@1.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AuroraScienceHub.Integrations.NoaaClient&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=AuroraScienceHub.Integrations.NoaaClient&version=1.4.0
                    
Install as a Cake Tool

AuroraScienceHub.Integrations.NoaaClient

NOAA space weather data integration for RTSW and KP-index feeds.

Overview

Provides HTTP clients for NOAA Space Weather Prediction Center data: real-time solar wind (RTSW) magnetometer and plasma measurements, plus geomagnetic Kp-index nowcast and forecasts.

Installation

dotnet add package AuroraScienceHub.Integrations.NoaaClient

Configuration

{
  "Noaa": {
    "ServerUrl": "https://services.swpc.noaa.gov",
    "UseProxy": false
  },
  "Proxy": {
    "Address": "http://proxy.example.com:8080",
    "UserName": "",
    "Password": ""
  }
}
  • Noaa:ServerUrl — NOAA SWPC base URL (required).
  • Noaa:UseProxy — when true, client requests are routed through the proxy configured in the Proxy section. Default: false.
  • Proxy:Address — proxy server URI (required when UseProxy is enabled; startup fails with InvalidOperationException if missing).
  • Proxy:UserName / Proxy:Password — optional proxy credentials. When omitted, default credentials are used.

Register clients in DI:

builder.Services.AddNoaaClients(builder.Configuration);

RTSW Client

Primary client for 1-minute magnetometer and solar wind plasma data:

var magnetometerData = await rtswClient.GetMagnetometerDataAsync(cancellationToken);
var solarWindData = await rtswClient.GetSolarWindPlasmaDataAsync(cancellationToken);

Response models map the NOAA rtsw_mag_1m.json and rtsw_wind_1m.json schema, including Active, Source, GSE/GSM field components, and quality flags.

Filter by Active == true for the NOAA-selected primary feed, or by Source when a specific instrument row is required.

KP-Index Client

var nowcast = await kpIndexClient.GetKpIndexNowcastAsync(cancellationToken);
var forecast3Day = await kpIndexClient.GetKpIndex3DayForecastAsync(cancellationToken);
var forecast27Day = await kpIndexClient.GetKpIndex27DayForecastAsync(cancellationToken);

WSA-ENLIL Client

Generates MP4 (H.264) animations from WSA-ENLIL solar wind forecast model frames provided by NOAA SWPC.

Prerequisites: FFmpeg must be installed on the system. See FFmpeg Installation for platform-specific instructions.

// Download and encode WSA-ENLIL animation frames as MP4 video
await using var stream = await wsaEnlilClient.GetEnlilAnimationAsync(
    maxWidth: 480,
    cancellationToken: cancellationToken);

// Save to file
await using var fileStream = File.Create("enlil_animation.mp4");
await stream.CopyToAsync(fileStream);
  • maxWidth — maximum output width in pixels; frames are scaled proportionally (default: 480)
  • Return valueMemoryStream containing the complete MP4 video; caller is responsible for disposal
  • Frame rate: 20 fps (50 ms per frame)
  • Encoder: H.264 (libx264), CRF 23, pixel format yuv420p

Deprecated API

IAceClient is obsolete and scheduled for removal (#3). Use IRtswClient for magnetometer and solar wind plasma data.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 82 8/19/2026
1.3.0 92 8/15/2026
1.2.2 94 8/11/2026
1.2.0 86 8/7/2026
1.1.1 124 7/7/2026
1.1.0 115 7/7/2026
1.0.0 138 2/5/2026