netcdf-java icon indicating copy to clipboard operation
netcdf-java copied to clipboard

Explore making Variable generic, eg Variable<Integer>

Open JohnLCaron opened this issue 3 years ago • 0 comments

Its sad we cant do

 int i1 = v.readArray().getScalar();  

or more generally

 Array<Integer> data = v.readArray();

where T comes from Variable<T>.

Looks like a pretty extensive change, not sure of the implications.

JohnLCaron avatar May 10 '21 18:05 JohnLCaron