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
d0a1d14e
Commit
d0a1d14e
authored
3 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Polish
parent
32ad120a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Inst_eddies/inst_eddies_in.py
+5
-0
5 additions, 0 deletions
Inst_eddies/inst_eddies_in.py
with
5 additions
and
0 deletions
Inst_eddies/inst_eddies_in.py
+
5
−
0
View file @
d0a1d14e
#!/usr/bin/env python3
"""
This script replaces the directories SHPC_cyclo and SHPC_anti and
the file perf_report.csv.
"""
import
argparse
import
datetime
...
...
@@ -46,6 +50,7 @@ writer.writerow(["date", "elapsed NCO", "elapsed Fortran"])
for
nc_file
in
args
.
file
:
print
(
"
inst_eddies.py: Date:
"
,
d
)
print
(
"
Input file:
"
,
nc_file
)
if
os
.
access
(
nc_file
,
os
.
F_OK
):
my_pc
=
time
.
perf_counter
()
...
...
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