1
Vote

Error opening .nc file- The variable has already been added to the coordinate system as an axis

description

Hi

I have used the sds library in a previous project to access netcdf files in C#- it worked without any trouble. I am now using it for a new project (new .nc files), but now I get an error when opening the file:

This line of code:

var ds = DataSet.Open("GLBa0.nc");

gives me this error:

"Failed to create DataSet instance from uri GLBa0.nc: The variable has already been added to the coordinate system as an axis"

I have checked that the input file is valid- I can view it in Panoply without any trouble.

Any suggestions on how I might be able to get around this while still using sds?

Thanks
Giles

comments