SDSlite
SDSlite copied to clipboard
Scientific DataSet library to work with NetCDF-like data sets from .NET.
Using the newest version netCDF4.9.0-NC4-64.exe, the unit test Empty_AddVariable_string() failes with follwing exception: System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.Reflection.TargetInvocationException : Exception has...
SDSlite currently multiplexes the `ubyte` type for `char` and `ubyte` when reading and writing variable data. However, it's currently not possible to _create_ a variable of type `char` using `AddVariable()`....
Implicitly created NetCDF `Dimensions` from `DataSet.AddVariable(...)` always have length `UNLIMITED`. This PR adds a new NetCDF specific method `CreateDimension(name, len)` which creates a `Dimension` with a fixed length, unless length...
Prevent (local) file existence checks for `NetCDF` uri:s which start with `http`. Instead pass directly to `nc_open_chunked()`, to enable read-only DAP/THREDSS support.
dotnet add package System.Security.Permissions
First of all great library! Thanks for supporting it. Recently I had to deploy my application on a Linux platform. I followed the instructions to install the libnetcdf-dev package with:...
NetCDF4 dataset now can use groups. _**groupName**_ property of Uri is using for specifying a group. Nested groups can be used, if subgroups don't exist they will be created recoursively....
Hi, my following code is reflecting error. Try { // open the file and print some info string filePath = "D:\\AccessNetCDF\\sresa1b_ncar_ccsm3-example.nc"; using (DataSet ds = DataSet.Open("msds:nc" + filePath + "&openMode=readOnly"))...
I'm using sdslite library for C# window application. using (Microsoft.Research.Science.Data.DataSet ds = Microsoft.Research.Science.Data.DataSet.Open("msds:nc?file=C:/Users/Min Thein Win/Downloads/myfile.nc&openMode=readOnly")) { Console.WriteLine(ds); // Console.WriteLine(ds.Metadata["comment"]); // var lat = ds.GetData("lat"); // Console.WriteLine($"latitude: len={lat.Length}, min={lat.Min()}, max={lat.Max()}"); }...
First of all thanks for this library. We have been using it for some time to read NetCDF files but have just started writing them. I'm trying to set the...