Skip to content
Snippets Groups Projects
Commit 2f68c24d authored by Emmanuel Oceguera Conchas's avatar Emmanuel Oceguera Conchas
Browse files

updated

parent 99d6469d
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,8 @@ from PyQt5 import uic ...@@ -35,6 +35,8 @@ from PyQt5 import uic
import os import os
#to import general tools from QGIS we need the qgis.core module #to import general tools from QGIS we need the qgis.core module
from qgis.core import * from qgis.core import *
from qgis.utils import iface
#for loading the netCDF files we need the netCDF4 module #for loading the netCDF files we need the netCDF4 module
try: try:
from pip import main as pipmain from pip import main as pipmain
...@@ -51,6 +53,8 @@ except ImportError: ...@@ -51,6 +53,8 @@ except ImportError:
#we need the matplotlib module to plot the data #we need the matplotlib module to plot the data
import matplotlib.pyplot as plt 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 #we create the path to the ui file
...@@ -270,7 +274,9 @@ class maskAndFuntionality (BASE, WIDGET): ...@@ -270,7 +274,9 @@ class maskAndFuntionality (BASE, WIDGET):
#we close the netCDF file #we close the netCDF file
ncFile.close() ncFile.close()
def loadRasterData(self):
"""This function loads the raster data set into the QGIS layer from each time set and entity"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment