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
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
6e74f389
Commit
6e74f389
authored
1 year ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Polish
parent
391e551c
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
Overlap/Analysis/extract_component_nx.py
+8
-5
8 additions, 5 deletions
Overlap/Analysis/extract_component_nx.py
Overlap/Analysis/report_graph.py
+5
-5
5 additions, 5 deletions
Overlap/Analysis/report_graph.py
with
13 additions
and
10 deletions
Overlap/Analysis/extract_component_nx.py
+
8
−
5
View file @
6e74f389
#!/usr/bin/env python3
#!/usr/bin/env python3
"""
This script reads an edgelist and extracts a component using
"""
This script reads an edgelist and extracts a component using
networkx. Note that, even with option --node, the script loads the
networkx. The component is written to a new edgelist file.
whole graph into memory, with networkx. For the global graph on 30
years, this requires about 13 GiB of main memory. The file
Note that the script loads the whole graph into memory. For
e_overestim.txt has to be in the same directory as the edgelist file
the global graph on 30 years, this requires about 13 GiB of main
given as argument of the script.
memory.
The file e_overestim.txt has to be in the same directory as the
edgelist file given as argument of the script.
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Overlap/Analysis/report_graph.py
+
5
−
5
View file @
6e74f389
#!/usr/bin/env python3
#!/usr/bin/env python3
"""
This script reads an edgelist. Note that
, even with option --node,
"""
This script reads an edgelist. Note that
the script loads the whole
the script loads the whole
graph into memory, with networkx. For the
graph into memory, with networkx. For the
global graph on 30 years,
global graph on 30 years,
this requires about 13 GiB of main
this requires about 13 GiB of main
memory. The file e_overestim.txt
memory. The file e_overestim.txt
has to be in the same directory as
has to be in the same directory as
the edgelist file given as argument
the edgelist file given as argument
of the script.
of the script.
"""
"""
...
...
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