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
6b52deeb
Commit
6b52deeb
authored
6 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Change default values of min_amp and min_radius in program extraction_eddies.
parent
509660fb
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
Tests/long_tests.json
+3
-3
3 additions, 3 deletions
Tests/long_tests.json
Tests/short_tests.json
+6
-6
6 additions, 6 deletions
Tests/short_tests.json
extraction_eddies.f
+2
-2
2 additions, 2 deletions
extraction_eddies.f
with
11 additions
and
11 deletions
Tests/long_tests.json
+
3
−
3
View file @
6b52deeb
...
...
@@ -10,7 +10,7 @@
"title"
:
"Extraction_eddies_region_3"
,
"required"
:
[[
"$input_dir/h_region_3.nc"
,
"h.nc"
],
[
"$input_dir/uv_region_3.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml /
\n
"
,
"input"
:
"&main_nml
min_amp = 0., min_radius = 20.
/
\n
"
,
"description"
:
"Larger region, 120 x 120. Includes degenerate extrema."
},
{
...
...
@@ -18,7 +18,7 @@
"title"
:
"Extraction_eddies_region_3_min"
,
"required"
:
[[
"$input_dir/h_region_3.nc"
,
"h.nc"
],
[
"$input_dir/uv_region_3.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml min_
amp = 1e-3
/
\n
"
,
"input"
:
"&main_nml min_
radius = 20.
/
\n
"
,
"description"
:
"Same as Extraction_eddies_region_3 except with 1 mm minimum amplitude."
},
{
...
...
@@ -26,7 +26,7 @@
"title"
:
"Extraction_eddies_region_5"
,
"required"
:
[[
"$input_dir/h_region_5.nc"
,
"h.nc"
],
[
"$input_dir/uv_region_5.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml min_
amp = 1e-3
/
\n
"
,
"input"
:
"&main_nml min_
radius = 20.
/
\n
"
,
"description"
:
"Same as Extraction_eddies_region_4 with larger domain."
}
]
This diff is collapsed.
Click to expand it.
Tests/short_tests.json
+
6
−
6
View file @
6b52deeb
...
...
@@ -141,14 +141,14 @@
"title"
:
"Extraction_eddies_region_1"
,
"required"
:
[[
"$input_dir/h_region_1.nc"
,
"h.nc"
],
[
"$input_dir/uv_region_1.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml /
\n
"
"input"
:
"&main_nml
min_amp = 0., min_radius = 20.
/
\n
"
},
{
"args"
:
"$compil_prod_dir/extraction_eddies"
,
"title"
:
"Extraction_eddies_region_1_noise"
,
"required"
:
[[
"$input_dir/h_region_1.nc"
,
"h.nc"
],
[
"$input_dir/uv_region_1.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml min_
amp = 1e-3
/
\n
"
,
"input"
:
"&main_nml min_
radius = 20.
/
\n
"
,
"description"
:
"Same as Extraction_eddies_region_1 but with non-zero minimal amplitude."
},
{
...
...
@@ -156,14 +156,14 @@
"title"
:
"Extraction_eddies_region_2"
,
"required"
:
[[
"$input_dir/h_region_2.nc"
,
"h.nc"
],
[
"$input_dir/uv_region_2.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml /
\n
"
"input"
:
"&main_nml
min_amp = 0., min_radius = 20.
/
\n
"
},
{
"args"
:
"$compil_prod_dir/extraction_eddies"
,
"title"
:
"Extraction_eddies_region_2_noise"
,
"required"
:
[[
"$input_dir/h_region_2.nc"
,
"h.nc"
],
[
"$input_dir/uv_region_2.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml min_
amp = 1e-3
/
\n
"
"input"
:
"&main_nml min_
radius = 20.
/
\n
"
},
{
"args"
:
[
"$compil_prod_dir/test_inside_4"
,
...
...
@@ -181,7 +181,7 @@
"args"
:
"$compil_prod_dir/extraction_eddies"
,
"title"
:
"Extraction_eddies_region_4"
,
"required"
:
[
"$input_dir/Region_4/h.nc"
,
"$input_dir/Region_4/uv.nc"
],
"input"
:
"&main_nml min_
amp = 1e-3
/
\n
"
,
"input"
:
"&main_nml min_
radius = 20.
/
\n
"
,
"description"
:
"Part of the domain has missing values."
},
{
"args"
:
"$compil_prod_dir/test_weight"
,
"title"
:
"Weight"
},
...
...
@@ -349,7 +349,7 @@
"title"
:
"Extraction_eddies_periodic"
,
"required"
:
[[
"$input_dir/h_2006_01_01_coarse.nc"
,
"h.nc"
],
[
"$input_dir/uv_2006_01_01_coarse.nc"
,
"uv.nc"
]],
"input"
:
"&main_nml MAX_RADIUS = 4, 4/
\n
"
,
"input"
:
"&main_nml
min_amp = 0., min_radius = 20.,
MAX_RADIUS = 4, 4/
\n
"
,
"description"
:
"Periodic domain."
}
]
This diff is collapsed.
Click to expand it.
extraction_eddies.f
+
2
−
2
View file @
6b52deeb
...
...
@@ -28,11 +28,11 @@ program extraction_eddies
TYPE
(
shpfileobject
)
hshp_max_speed
! shapefile max_speed_contour_$m
integer
i
,
k
real
::
min_amp
=
0.
real
::
min_amp
=
0.
001
! minimum amplitude of ssh, between extremum and outermost contour,
! in m
real
::
min_radius
=
2
0
.
real
::
min_radius
=
2
5
.
! minimum radius of the equal-area disk for an outermost contour, in km
integer
ncid
,
dimid
,
varid
,
nlon
,
nlat
,
copy
...
...
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