Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Detection eddies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
and
there
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
0220c96e
Commit
0220c96e
authored
3 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Polish
parent
59785ff2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Convert_Matlab/inst_eddies_v6.py
+3
-2
3 additions, 2 deletions
Convert_Matlab/inst_eddies_v6.py
Overlap/report_graph.py
+1
-1
1 addition, 1 deletion
Overlap/report_graph.py
with
4 additions
and
3 deletions
Convert_Matlab/inst_eddies_v6.py
+
3
−
2
View file @
0220c96e
...
...
@@ -5,7 +5,8 @@ SHPC_anti and SHPC_cyclo. The mat files are assumed to be in v7.3
(HDF5) format and will be converted to v6 format before being read in
Python. The data in each input file is the set of detected
instantaneous eddies at a given date. The second, optional argument,
is the final date processed.
is the final date processed. The script inst_eddies.m must be in the
current directory at run-time.
"""
...
...
@@ -226,4 +227,4 @@ for factory in factories:
else
:
f
.
write
(
"
anticyclones
\n
"
)
for
k
,
v
in
factory
[
"
writers
"
].
items
():
v
.
close
()
for
k
ey
,
v
in
factory
[
"
writers
"
].
items
():
v
.
close
()
This diff is collapsed.
Click to expand it.
Overlap/report_graph.py
+
1
−
1
View file @
0220c96e
...
...
@@ -27,7 +27,7 @@ def date_eddy_to_node(d, eddy_index, e_overestim, d_init):
identification in graph.
"""
return
(
d
-
d_init
)
*
e_overestim
+
eddy_index
return
(
d
-
d_init
)
*
e_overestim
+
eddy_index
def
read_eddy_graph
(
edgelist
,
shpc_dir
=
None
):
if
os
.
access
(
edgelist
,
os
.
R_OK
):
...
...
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