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
e5c4f6b0
Commit
e5c4f6b0
authored
2 years ago
by
Emmanuel Oceguera Conchas
Browse files
Options
Downloads
Patches
Plain Diff
non change
parent
df55d819
No related branches found
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
+15
-1
15 additions, 1 deletion
netCDF_visualizer_funtionality.py
with
15 additions
and
1 deletion
netCDF_visualizer_funtionality.py
+
15
−
1
View file @
e5c4f6b0
...
@@ -165,7 +165,7 @@ class maskAndFuntionality (BASE, WIDGET):
...
@@ -165,7 +165,7 @@ class maskAndFuntionality (BASE, WIDGET):
longNameVariables2
=
ncFile
.
groups
[
ncFileGroupsName
[
i
]].
groups
[
ncFileGroupsName2
[
j
]].
variables
[
ncFileVariablesName2
[
k
]].
long_name
longNameVariables2
=
ncFile
.
groups
[
ncFileGroupsName
[
i
]].
groups
[
ncFileGroupsName2
[
j
]].
variables
[
ncFileVariablesName2
[
k
]].
long_name
child3
=
QTreeWidgetItem
([
ncFileVariablesName2
[
k
],
longNameVariables2
])
child3
=
QTreeWidgetItem
([
ncFileVariablesName2
[
k
],
longNameVariables2
])
child2
.
addChild
(
child3
)
child2
.
addChild
(
child3
)
#we get the variables of the groups
#we get the variables of the groups
ncFileGroupsVariablesName
=
list
(
ncFile
.
groups
[
ncFileGroupsName
[
i
]].
variables
.
keys
())
ncFileGroupsVariablesName
=
list
(
ncFile
.
groups
[
ncFileGroupsName
[
i
]].
variables
.
keys
())
...
@@ -177,6 +177,11 @@ class maskAndFuntionality (BASE, WIDGET):
...
@@ -177,6 +177,11 @@ class maskAndFuntionality (BASE, WIDGET):
child4
=
QTreeWidgetItem
([
ncFileGroupsVariablesName
[
j
],
longNameVariables
])
child4
=
QTreeWidgetItem
([
ncFileGroupsVariablesName
[
j
],
longNameVariables
])
child
.
addChild
(
child4
)
child
.
addChild
(
child4
)
#expand all the data
#expand all the data
self
.
tree_data
.
expandAll
()
self
.
tree_data
.
expandAll
()
...
@@ -184,10 +189,19 @@ class maskAndFuntionality (BASE, WIDGET):
...
@@ -184,10 +189,19 @@ class maskAndFuntionality (BASE, WIDGET):
"""
here we are gonna show all information into the GUI
"""
"""
here we are gonna show all information into the GUI
"""
#set all information about the file into the text browser
#set all information about the file into the text browser
self
.
text_info
.
setText
(
"
File name:
"
+
ncFileName
)
self
.
text_info
.
setText
(
"
File name:
"
+
ncFileName
)
#we close the netCDF file
#we close the netCDF file
ncFile
.
close
()
ncFile
.
close
()
...
...
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