GEOT-4857 Backport to 11.x

GEOT-4857: Backporting to 11.x (NetCDF.acquireDataset instead of NetCDF.openDataset)