How to read grib file by netcdfAll

364 Views Asked by At

I am moving from

"edu.ucar" % "netcdfAll" % "5.0.0-beta2"

to

"edu.ucar" % "netcdfAll" % "5.4.1"

and I see that function, which I use to open .grib2 files

NetcdfDataset.openDataset(path)

is marked as deprecated. What is new way to open it?

1

There are 1 best solutions below

0
On BEST ANSWER

Ok after digging I found it.. according to https://github.com/Unidata/netcdf-java/wiki/Common-Client-Changes it was moved to NetcdfDatasets.openDataset(path)