mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#4867 Rename python examples to avoid mixed case
This commit is contained in:
1 parent
d21afc5a41
commit
bc8134009b
25 files changed
+20
-26
No files matched your search
@@ -0,0 +1,19 @@
|
||||
######################################################################################
|
||||
# This example prints information about the grids of all cases in the current project
|
||||
######################################################################################
|
||||
|
||||
import rips
|
||||
|
||||
resinsight = rips.Instance.find()
|
||||
|
||||
cases = resinsight.project.cases()
|
||||
print("Number of cases found: ", len(cases))
|
||||
for case in cases:
|
||||
print(case.name)
|
||||
grids = case.grids()
|
||||
print("Number of grids: ", len(grids))
|
||||
for grid in grids:
|
||||
print("Grid dimensions: ", grid.dimensions())
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user