AuroraScienceHub.Integrations.WdcClient 1.9.0

Prefix Reserved
dotnet add package AuroraScienceHub.Integrations.WdcClient --version 1.9.0
                    
NuGet\Install-Package AuroraScienceHub.Integrations.WdcClient -Version 1.9.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.WdcClient" Version="1.9.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AuroraScienceHub.Integrations.WdcClient" Version="1.9.0" />
                    
Directory.Packages.props
<PackageReference Include="AuroraScienceHub.Integrations.WdcClient" />
                    
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.WdcClient --version 1.9.0
                    
#r "nuget: AuroraScienceHub.Integrations.WdcClient, 1.9.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.WdcClient@1.9.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.WdcClient&version=1.9.0
                    
Install as a Cake Addin
#tool nuget:?package=AuroraScienceHub.Integrations.WdcClient&version=1.9.0
                    
Install as a Cake Tool

World Data Center for Geomagnetism, Kyoto Dst client

AuroraScienceHub.Integrations.WdcClient reads the real-time hourly Dst index from World Data Center for Geomagnetism, Kyoto.

dotnet add package AuroraScienceHub.Integrations.WdcClient

Configuration

{
  "Wdc": {
    "ServerUrl": "https://wdc.kugi.kyoto-u.ac.jp/",
    "UseProxy": false
  }
}

Set UseProxy to true to use the framework's Proxy section (Address, UserName, Password).

using AuroraScienceHub.Integrations.WdcClient;
using AuroraScienceHub.Integrations.WdcClient.DstIndex;

builder.Services.AddWdcClients(builder.Configuration);

// Inject IDstIndexClient into the consumer.
var day = await client.GetDstAsync(new DateOnly(2026, 11, 1), cancellationToken);
var range = await client.GetDstAsync(
    new DateOnly(2026, 10, 31),
    new DateOnly(2026, 11, 1),
    cancellationToken);

Data semantics

The WDC format snapshot records the provider's layout as retrieved on 2026-11-04.

  • Values are preliminary real-time (quick-look) Dst in nT. They can change as WDC revises the raw data. Publication latency varies.
  • DateTime is UTC and marks the start of the hourly interval. The file's first hourly value maps to 00:00, the last to 23:00.
  • The WDC format contains a base in hundreds of nT, 24 hourly values, and a daily mean. The client adds the base to each present value and ignores the mean.
  • 9999 maps to null, including hours that WDC has not published yet. Consumers should filter future timestamps as needed.
  • Day ranges include both endpoints and may intersect at most two calendar months. Longer ranges throw ArgumentOutOfRangeException before sending requests. The client requests each intersecting month once, sequentially, and returns records ordered by time.
  • An absent month (404) or empty body returns no records. Other HTTP failures and cancellation propagate to the caller.
  • The client uses only dst_realtime/yyyyMM/dstyyMM.for.request. It does not substitute provisional or final products for an absent real-time month. See the available archive.
  • Truncated rows, malformed headers, invalid dates and malformed hourly fields are skipped. Valid hours keep their original timestamps.

Data usage

The package code is MIT-licensed. WDC data have separate usage rules. WDC permits non-commercial use of its geomagnetic indices and requires attribution to World Data Center for Geomagnetism, Kyoto and the data suppliers. Contact World Data Center for Geomagnetism, Kyoto before using quick-look data in publications or presentations. Include the data DOI when publishing results.

See WdcClientSample for an interactive console application.

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.  net11.0 is compatible. 
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.9.0 98 11/14/2026
1.8.0 99 11/6/2026
1.7.0 70 11/4/2026