Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Daniel Scheffler
geoarray
Commits
93cd35d6
Commit
93cd35d6
authored
Aug 06, 2018
by
Daniel Scheffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added GDAL cache flushing.
parent
e9ad1b56
Pipeline
#3065
failed with stages
in 1 minute and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
geoarray/baseclasses.py
geoarray/baseclasses.py
+3
-0
No files found.
geoarray/baseclasses.py
View file @
93cd35d6
...
...
@@ -918,6 +918,7 @@ class GeoArray(object):
del
meta2write
[
'band_name'
]
band
.
SetMetadata
(
meta2write
)
band
.
FlushCache
()
del
band
# set global domain metadata
...
...
@@ -930,6 +931,8 @@ class GeoArray(object):
# ds.SetMetadata(envi_meta_domain, 'ENVI')
# ds_orig = None
ds
.
FlushCache
()
driver
.
CreateCopy
(
out_path
,
ds
,
options
=
creationOptions
if
creationOptions
else
[])
# rows, columns, bands => bands, rows, columns
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment