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
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
113d9fe9
"NPAnalysis/MUGAST/Analysis.h" did not exist on "c57deb54863cfa9575b615f0ba081b180170999b"
Commit
113d9fe9
authored
3 months ago
by
GUEZ Lionel
Browse files
Options
Downloads
Patches
Plain Diff
Polish
parent
b413048f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Inst_eddies/inst_eddies.py.in
+8
-3
8 additions, 3 deletions
Inst_eddies/inst_eddies.py.in
Inst_eddies/inst_eddies_Aviso.py
+3
-0
3 additions, 0 deletions
Inst_eddies/inst_eddies_Aviso.py
README.md
+2
-2
2 additions, 2 deletions
README.md
with
13 additions
and
5 deletions
Inst_eddies/inst_eddies.py.in
+
8
−
3
View file @
113d9fe9
...
...
@@ -11,8 +11,11 @@ command line.
The script assumes that each input NetCDF file contains ssh, u and v
and reads ssh, u and v at the first date only of each input NetCDF
file. The script reads the file inst_eddies_nml.txt. The slice number,
in particular, is taken from this file.
file. Each file is unpacked with ncpdq and a hyperslab is optionally
selected with ncks.
The script reads the file inst_eddies_nml.txt. The
slice number, in particular, is taken from this file.
"""
...
...
@@ -182,7 +185,9 @@ if __name__ == "__main__":
argparser
=
argparse
.
ArgumentParser
()
argparser
.
add_argument
(
"
SHPC_dir
"
)
argparser
.
add_argument
(
"
init_date
"
,
type
=
int
)
argparser
.
add_argument
(
"
init_date
"
,
type
=
int
,
help
=
"
date index for the first file, integer
"
)
argparser
.
add_argument
(
"
file
"
,
nargs
=
"
+
"
,
...
...
This diff is collapsed.
Click to expand it.
Inst_eddies/inst_eddies_Aviso.py
+
3
−
0
View file @
113d9fe9
...
...
@@ -12,6 +12,9 @@ Compared to inst_eddies.py, this script takes as arguments a
template, a first date and a last date, instead of a list of files. So
it is adequate when there is a date pattern in file names.
Each file is unpacked with ncpdq and a hyperslab is optionally
selected with ncks.
The script reads the file inst_eddies_nml.txt. The slice number, in
particular, is taken from this file.
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
113d9fe9
...
...
@@ -62,7 +62,7 @@ guidance. Before running the script, create a file named
namelists
`main_nml`
,
`config_nml`
,
`input_ssh_nml`
, in this
order. The default values are:
```
&main_nml slice = 0, leave_trace =
.true.
/
&main_nml slice = 0, leave_trace =
t
/
&config_nml min_amp = 0.001, max_radius = 20, 20, min_radius = 25./
&input_ssh_nml periodic = f, uniform_lon_lat = t, nc_time = 1,
stag_u = 0, 0, stag_v = 0, 0/
...
...
@@ -94,7 +94,7 @@ script `inst_eddies_INALT.py` created in the build directory (not the
script
`inst_eddies_INALT.py.in`
in the source directory). Before
running the script, create a file named
`inst_eddies_nml.txt`
in the
current directory, containing the namelists
`main_nml`
,
`config_nml`
,
`input_ssh_nml`
, in this order. See above. You should probably set
:
`input_ssh_nml`
, in this order. See above. You should probably set:
```
uniform_lon_lat=f
...
...
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