AuroraScienceHub.Integrations.WdcClient
1.8.0
Prefix Reserved
See the version list below for details.
dotnet add package AuroraScienceHub.Integrations.WdcClient --version 1.8.0
NuGet\Install-Package AuroraScienceHub.Integrations.WdcClient -Version 1.8.0
<PackageReference Include="AuroraScienceHub.Integrations.WdcClient" Version="1.8.0" />
<PackageVersion Include="AuroraScienceHub.Integrations.WdcClient" Version="1.8.0" />
<PackageReference Include="AuroraScienceHub.Integrations.WdcClient" />
paket add AuroraScienceHub.Integrations.WdcClient --version 1.8.0
#r "nuget: AuroraScienceHub.Integrations.WdcClient, 1.8.0"
#:package AuroraScienceHub.Integrations.WdcClient@1.8.0
#addin nuget:?package=AuroraScienceHub.Integrations.WdcClient&version=1.8.0
#tool nuget:?package=AuroraScienceHub.Integrations.WdcClient&version=1.8.0
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.
DateTimeis UTC and marks the start of the hourly interval. The file's first hourly value maps to00:00, the last to23: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.
9999maps tonull, 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
ArgumentOutOfRangeExceptionbefore 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 | Versions 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. |
-
net10.0
- AuroraScienceHub.Framework.Http (>= 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 11.0.0-rc.2.26504.105)
- Microsoft.Extensions.Http (>= 11.0.0-rc.2.26504.105)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0-rc.2.26504.105)
-
net11.0
- AuroraScienceHub.Framework.Http (>= 11.0.0)
- Microsoft.Extensions.Http (>= 11.0.0-rc.2.26504.105)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.