From 2f68c24d3ec26df38a6a03190897e5c9b26b6782 Mon Sep 17 00:00:00 2001
From: Oceguera Conchas <no67wuwu@idiv.de>
Date: Fri, 4 Nov 2022 09:15:05 +0100
Subject: [PATCH] updated

---
 netCDF_visualizer_funtionality.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/netCDF_visualizer_funtionality.py b/netCDF_visualizer_funtionality.py
index cb99961..343ca21 100644
--- a/netCDF_visualizer_funtionality.py
+++ b/netCDF_visualizer_funtionality.py
@@ -35,6 +35,8 @@ from PyQt5 import uic
 import os
 #to import general tools from QGIS we need the qgis.core module
 from qgis.core import *
+from qgis.utils import iface
+
 #for loading the netCDF files we need the netCDF4 module
 try:
    from pip import main as pipmain
@@ -51,6 +53,8 @@ except ImportError:
 
 #we need the matplotlib module to plot the data
 import matplotlib.pyplot as plt
+#we need gdal to work with the raster data 
+from osgeo import osr, gdal, ogr
 
 
 #we create the path to the ui file
@@ -270,7 +274,9 @@ class maskAndFuntionality (BASE, WIDGET):
         #we close the netCDF file
         ncFile.close()
 
-           
+
+    def loadRasterData(self):
+        """This function loads the raster data set into the QGIS layer from each time set and entity"""
        
         
        
-- 
GitLab