stefc.mosmix
0.2.9
See the version list below for details.
dotnet add package stefc.mosmix --version 0.2.9
NuGet\Install-Package stefc.mosmix -Version 0.2.9
<PackageReference Include="stefc.mosmix" Version="0.2.9" />
paket add stefc.mosmix --version 0.2.9
#r "nuget: stefc.mosmix, 0.2.9"
// Install stefc.mosmix as a Cake Addin #addin nuget:?package=stefc.mosmix&version=0.2.9 // Install stefc.mosmix as a Cake Tool #tool nuget:?package=stefc.mosmix&version=0.2.9
Mosmix Reading Library
With this nuget package you can easy read MOSMIX data came from weather stations around the world. So if your service depends on weather data so why not read it out directly from your available weather stations
Have a look in the sample
folder to see how to use it.
Add a package reference to your csproj
like the following
<ItemGroup>
<PackageReference Include="stefc.mosmix" Version="0.2.0" />
</ItemGroup>
After this you can create an IMosmixReader
for kml
or kmz
files and read the
complete weather station document out of it.
using (var stream = File.Open(Path.Combine(path, "MOSMIX_A762.kmz"), FileMode.Open))
{
var reader = MosmixReaderFactory.CreateForKmz(stream);
var document = reader.Read(stream);
System.Console.WriteLine($"Issuer:{document.Definition.Issuer}");
System.Console.WriteLine($"Name:{document.PlaceMark.Name}");
System.Console.WriteLine($"Description:{document.PlaceMark.Description}");
}
For easy use the lib gives you also a class ForecastAdapter
that gives you typed access to the raw
timeseries values. The following figures at the moment available [^1] :
Name | Elementname | Description | Unit |
---|---|---|---|
SurfacePressure | PPPP |
Surface pressure | Pa |
Temperature | TTT |
Temperature 2m above surface | Celcius Degree |
MaxTemperature | TX |
Maximum temperature - within the last 12 hours | Celcius Degree |
MinTemperature | TN |
Minimum temperature - within the last 12 hours | Celcius Degree |
DewPoint | Td |
Dewpoint 2m above surface | Celcius Degree |
WindDirection | DD |
Wind Direction | 0..360° |
WindSpeed | FF |
Wind Speed | m/sec |
WindSpeed1h | FX1 |
Maximum wind gust within the last hour | m/sec |
WindSpeed3h | FX3 |
Maximum wind gust within the last 3 hours | m/sec |
WindSpeed12h | FXh |
Maximum wind gust within the last 12 hours | m/sec |
[^1]: If you need more figures please entry an issuee or even better create a pull request.
To see for a format description habe a look on (German)
To see a list of the five thousand weather stations worldwide see:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
This package has no dependencies.
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 |
---|---|---|
0.5.3-gd0d0ccfb0b | 95 | 9/7/2024 |
0.4.4-g5561f97f99 | 153 | 12/22/2022 |
0.4.3-g5bf7cba75f | 166 | 12/22/2022 |
0.4.1-g7fa76cb63d | 152 | 12/22/2022 |
0.3.1 | 306 | 12/22/2022 |
0.2.9 | 316 | 12/21/2022 |