Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flex Extract
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Flexpart
Flex Extract
Commits
f0dedeb2
Commit
f0dedeb2
authored
3 years ago
by
Anne Tipka
Browse files
Options
Downloads
Patches
Plain Diff
solved bug from Ticket #297
parent
697b8d00
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
Source/Python/Classes/MarsRetrieval.py
+5
-1
5 additions, 1 deletion
Source/Python/Classes/MarsRetrieval.py
with
5 additions
and
1 deletion
Source/Python/Classes/MarsRetrieval.py
+
5
−
1
View file @
f0dedeb2
...
@@ -510,7 +510,11 @@ class MarsRetrieval(object):
...
@@ -510,7 +510,11 @@ class MarsRetrieval(object):
newattrs
[
'
area
'
]
=
attrs
[
'
area
'
].
split
(
'
/
'
)
newattrs
[
'
area
'
]
=
attrs
[
'
area
'
].
split
(
'
/
'
)
newattrs
[
'
grid
'
]
=
list
(
map
(
float
,
attrs
[
'
grid
'
].
split
(
'
/
'
)))
newattrs
[
'
grid
'
]
=
list
(
map
(
float
,
attrs
[
'
grid
'
].
split
(
'
/
'
)))
newattrs
[
'
param
'
]
=
attrs
[
'
param
'
].
split
(
'
/
'
)
newattrs
[
'
param
'
]
=
attrs
[
'
param
'
].
split
(
'
/
'
)
newattrs
[
'
time
'
]
=
list
(
map
(
str
,
range
(
0
,
24
,
3
)))
if
'
/
'
in
attrs
[
'
step
'
]:
sstep
=
int
(
attrs
[
'
step
'
].
split
(
'
/
'
)[
4
])
newattrs
[
'
time
'
]
=
list
(
map
(
str
,
range
(
0
,
24
,
sstep
)))
elif
'
160.128
'
in
attrs
[
'
param
'
]:
newattrs
[
'
time
'
]
=
attrs
[
'
time
'
]
newattrs
[
'
format
'
]
=
'
grib
'
newattrs
[
'
format
'
]
=
'
grib
'
return
newattrs
return
newattrs
...
...
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