Search code examples
scalagribnetcdf-java

How to read grib file by netcdfAll


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?


Solution

  • 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)