Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EBVCubeVisualizerPlugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
no67wuwu
EBVCubeVisualizerPlugin
Commits
2f68c24d
Commit
2f68c24d
authored
2 years ago
by
Emmanuel Oceguera Conchas
Browse files
Options
Downloads
Patches
Plain Diff
updated
parent
99d6469d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
netCDF_visualizer_funtionality.py
+7
-1
7 additions, 1 deletion
netCDF_visualizer_funtionality.py
with
7 additions
and
1 deletion
netCDF_visualizer_funtionality.py
+
7
−
1
View file @
2f68c24d
...
...
@@ -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
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment