Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VERIFY
CIF
Commits
b468cde4
Commit
b468cde4
authored
Dec 22, 2021
by
Antoine Berchet
Browse files
Merge branch 'devel' into 'LSCE'
Fix reading obsvect with new datastore See merge request satinv/cif!164
parents
de7994c4
1762bd0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycif/plugins/obsvects/standard/utils/read.py
View file @
b468cde4
...
...
@@ -36,10 +36,10 @@ def read(obsvect, dir_dump):
tracer
.
datastore
=
ds
obsvect
.
ysim
[
tracer
.
ypointer
:
tracer
.
ypointer
+
tracer
.
dim
]
=
\
ds
[
"sim"
]
ds
[
"
maindata"
][
"
sim"
]
obsvect
.
dy
[
tracer
.
ypointer
:
tracer
.
ypointer
+
tracer
.
dim
]
=
\
ds
[
"sim_tl"
]
ds
[
"
maindata"
][
"
sim_tl"
]
obsvect
.
yobs
[
tracer
.
ypointer
:
tracer
.
ypointer
+
tracer
.
dim
]
=
\
ds
[
"obs"
]
ds
[
"
maindata"
][
"
obs"
]
obsvect
.
yobs_err
[
tracer
.
ypointer
:
tracer
.
ypointer
+
tracer
.
dim
]
=
\
ds
[
"obserror"
]
ds
[
"
maindata"
][
"
obserror"
]
Write
Preview
Supports
Markdown
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