You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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<float[]>("lat");
// Console.WriteLine($"latitude: len={lat.Length}, min={lat.Min()}, max={lat.Max()}");
}
Error Log
Unhandled Exception: Microsoft.Research.Science.Data.DataSetCreateException: Failed to create DataSet instance from uri msds:nc?file=C:/Users/Min Thein Win/Downloads/myfile.nc&openMode=readOnly: Unable to load DLL 'netcdf': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'netcdf': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at NetCDFInterop.NetCDFNative.nc_set_chunk_cache(IntPtr size, IntPtr nelems, Single preemption)
at NetCDFInterop.NetCDF.nc_open_chunked(String path, CreateMode mode, Int32& ncidp, IntPtr size, IntPtr nelems, Single preemption)
at Microsoft.Research.Science.Data.NetCDF4.NetCDFDataSet.InitializeFromFile(String fileName, ResourceOpenMode openMode)
at Microsoft.Research.Science.Data.NetCDF4.NetCDFDataSet..ctor(String uri)
--- End of inner exception stack trace ---
at Microsoft.Research.Science.Data.Factory.DataSetFactoryEntry.CreateDataSet(String uri)
at Microsoft.Research.Science.Data.Factory.DataSetFactory.Create(DataSetUri uri)
at Microsoft.Research.Science.Data.Factory.DataSetFactory.Create(String uri)
at Microsoft.Research.Science.Data.DataSet.Open(String uri)
at ControlConsoleApp.Program.Main(String[] args) in D:\WindowFormTest_workspace\sampleFormApp\ControlConsoleApp\ControlConsoleApp\Program.cs:line 49
The text was updated successfully, but these errors were encountered:
I'm using sdslite library for C# window application.
Error Log
Unhandled Exception: Microsoft.Research.Science.Data.DataSetCreateException: Failed to create DataSet instance from uri msds:nc?file=C:/Users/Min Thein Win/Downloads/myfile.nc&openMode=readOnly: Unable to load DLL 'netcdf': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'netcdf': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at NetCDFInterop.NetCDFNative.nc_set_chunk_cache(IntPtr size, IntPtr nelems, Single preemption)
at NetCDFInterop.NetCDF.nc_open_chunked(String path, CreateMode mode, Int32& ncidp, IntPtr size, IntPtr nelems, Single preemption)
at Microsoft.Research.Science.Data.NetCDF4.NetCDFDataSet.InitializeFromFile(String fileName, ResourceOpenMode openMode)
at Microsoft.Research.Science.Data.NetCDF4.NetCDFDataSet..ctor(String uri)
--- End of inner exception stack trace ---
at Microsoft.Research.Science.Data.Factory.DataSetFactoryEntry.CreateDataSet(String uri)
at Microsoft.Research.Science.Data.Factory.DataSetFactory.Create(DataSetUri uri)
at Microsoft.Research.Science.Data.Factory.DataSetFactory.Create(String uri)
at Microsoft.Research.Science.Data.DataSet.Open(String uri)
at ControlConsoleApp.Program.Main(String[] args) in D:\WindowFormTest_workspace\sampleFormApp\ControlConsoleApp\ControlConsoleApp\Program.cs:line 49
The text was updated successfully, but these errors were encountered: