stefc.mosmix 0.4.4-g5561f97f99

This is a prerelease version of stefc.mosmix.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package stefc.mosmix --version 0.4.4-g5561f97f99                
NuGet\Install-Package stefc.mosmix -Version 0.4.4-g5561f97f99                
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="stefc.mosmix" Version="0.4.4-g5561f97f99" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add stefc.mosmix --version 0.4.4-g5561f97f99                
#r "nuget: stefc.mosmix, 0.4.4-g5561f97f99"                
#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.
// Install stefc.mosmix as a Cake Addin
#addin nuget:?package=stefc.mosmix&version=0.4.4-g5561f97f99&prerelease

// Install stefc.mosmix as a Cake Tool
#tool nuget:?package=stefc.mosmix&version=0.4.4-g5561f97f99&prerelease                

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)

Mosmix

To see a list of the five thousand weather stations worldwide see:

List of Mosmix stations

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 98 9/7/2024
0.4.4-g5561f97f99 156 12/22/2022
0.4.3-g5bf7cba75f 171 12/22/2022
0.4.1-g7fa76cb63d 155 12/22/2022
0.3.1 311 12/22/2022
0.2.9 321 12/21/2022