AuroraScienceHub.Integrations.DtuSpaceClient
1.8.0
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AuroraScienceHub.Integrations.DtuSpaceClient --version 1.8.0
NuGet\Install-Package AuroraScienceHub.Integrations.DtuSpaceClient -Version 1.8.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.DtuSpaceClient" Version="1.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AuroraScienceHub.Integrations.DtuSpaceClient" Version="1.8.0" />
<PackageReference Include="AuroraScienceHub.Integrations.DtuSpaceClient" />
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.DtuSpaceClient --version 1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AuroraScienceHub.Integrations.DtuSpaceClient, 1.8.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.DtuSpaceClient@1.8.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.DtuSpaceClient&version=1.8.0
#tool nuget:?package=AuroraScienceHub.Integrations.DtuSpaceClient&version=1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AuroraScienceHub.Integrations.DtuSpaceClient
DTU Space data integration for the Polar Cap North (PCN) index.
Overview
Provides HTTP clients for DTU Space (National Space Institute, Technical University of Denmark) data published at the World Data Center server ftp.space.dtu.dk/WDC/. No authorization is required.
Installation
dotnet add package AuroraScienceHub.Integrations.DtuSpaceClient
Configuration
{
"DtuSpace": {
"ServerUrl": "https://ftp.space.dtu.dk",
"UseProxy": false
},
"Proxy": {
"Address": "http://proxy.example.com:8080",
"UserName": "",
"Password": ""
}
}
- DtuSpace:ServerUrl — DTU Space server base URL (required).
- DtuSpace:UseProxy — when
true, client requests are routed through the proxy configured in theProxysection. Default:false. - Proxy:Address — proxy server URI (required when
UseProxyis enabled; startup fails withInvalidOperationExceptionif missing). - Proxy:UserName / Proxy:Password — optional proxy credentials. When omitted, default credentials are used.
Register clients in DI:
builder.Services.AddDtuSpaceClients(builder.Configuration);
PC-Index Client
1-minute Polar Cap North (PCN) index (Thule station, unit mV/m) for a UTC day:
var today = DateOnly.FromDateTime(timeProvider.GetUtcNow().UtcDateTime);
var records = await pcIndexClient.GetPcnAsync(today, cancellationToken);
// Range of UTC days, both ends inclusive (e.g. the last hours across midnight UTC)
var lastDays = await pcIndexClient.GetPcnAsync(today.AddDays(-1), today, cancellationToken);
- Data is the near-real-time quick-look PCN: preliminary values, published with a lag of about 10 minutes. The current day file is appended during the day.
- Quick-look files are retained by DTU Space for roughly the last 31 days.
- Missing values are returned as
null. - An empty list is returned when the day file is not published (shortly after 00:00 UTC, for future dates, or for dates outside the quick-look archive).
- The range overload requests day files sequentially (one request per day), skips unpublished days and returns records in time order. The range is limited to 31 days (the quick-look archive depth);
fromlater thantoor a longer range throwsArgumentOutOfRangeException. - An empty list for a past day inside the archive, or for the current day after about 00:15 UTC, usually means a configuration or server problem (e.g. a wrong
ServerUrl); treat it as missing data and fall back to another source if you have one.
Data license: CC BY 4.0.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
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.