Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multi-area-model
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IAS-6
multi-area-model
Commits
d9679529
Commit
d9679529
authored
6 years ago
by
Maximilian Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Remove data_wrapper
parent
29b3c034
No related branches found
No related tags found
1 merge request
!1
Add all necessary files for the multi-area model
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
figures/SchueckerSchmidt2017/utils.py
+2
-2
2 additions, 2 deletions
figures/SchueckerSchmidt2017/utils.py
with
2 additions
and
2 deletions
figures/SchueckerSchmidt2017/utils.py
+
2
−
2
View file @
d9679529
import
copy
import
data_wrapper.data_wrapper
as
dw
import
multiprocessing
as
mp
import
numpy
as
np
import
os
...
...
@@ -90,7 +89,8 @@ def save_iteration(step, data):
os
.
mkdir
(
data_dir
)
except
FileExistsError
:
pass
dw
.
save
(
'
iteration_{}
'
.
format
(
step
),
data
)
for
key
in
[
'
parameters
'
,
'
K_prime
'
,
'
results
'
]:
np
.
save
(
'
iteration_{}/{}.npy
'
.
format
(
step
,
key
),
data
[
key
])
def
load_iteration
(
step
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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