From 3327e2104ac1dc240d8eddc5d746afd2bdba8838 Mon Sep 17 00:00:00 2001 From: Oceguera Conchas <no67wuwu@idiv.de> Date: Fri, 14 Oct 2022 10:24:08 +0200 Subject: [PATCH] dataset has benn updated to Dataser --- netCDF_visualizer_funtionality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netCDF_visualizer_funtionality.py b/netCDF_visualizer_funtionality.py index 895b6de..1d340f3 100644 --- a/netCDF_visualizer_funtionality.py +++ b/netCDF_visualizer_funtionality.py @@ -107,7 +107,7 @@ class maskAndFuntionality (BASE, WIDGET): else: #if the text space is not empty path = self.text_set.text() #we get the path from the text space #we load the netCDF file - ncFile = nc.dataset(path, 'r', format='NETCDF4') + ncFile = nc.Datasetataset(path, 'r', format='NETCDF4') #we get the variables from the netCDF file ncVar = ncFile.variables #we get the names of the variables -- GitLab