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
ae58a965
Commit
ae58a965
authored
2 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Read `grid_lon_lat` from `main_nml`
As `grid_lon_lat` may be false, we define `e%extr%coord_proj`.
parent
06ce5715
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Inst_eddies/Tests/test_get_1_outerm.f90
+6
-2
6 additions, 2 deletions
Inst_eddies/Tests/test_get_1_outerm.f90
with
6 additions
and
2 deletions
Inst_eddies/Tests/test_get_1_outerm.f90
+
6
−
2
View file @
ae58a965
...
...
@@ -51,7 +51,10 @@ program test_get_1_outerm
! latitude, in rad, of all the significant extrema, except the
! target extremum
namelist
/
main_nml
/
ind_targ_extr
,
innermost_level
,
cyclone
,
date
logical
::
grid_lon_lat
=
.true.
namelist
/
main_nml
/
ind_targ_extr
,
innermost_level
,
cyclone
,
date
,
&
grid_lon_lat
!----------------------------------------------------------------
...
...
@@ -64,6 +67,7 @@ program test_get_1_outerm
call
input_ssh
(
corner
,
step
,
nlon
,
nlat
,
periodic
,
ssh
,
u
,
v
)
call
csvread
(
"outside_points.csv"
,
outside_points
,
first_r
=
3
)
outside_points
=
transpose
(
outside_points
)
*
deg_to_rad
e
%
extr
%
coord_proj
=
ind_targ_extr
e
%
extr
%
coord
=
corner
+
(
ind_targ_extr
-
1
)
*
step
e
%
out_cont
=
get_1_outerm
(
cyclone
,
e
%
extr
%
coord
,
innermost_level
,
&
outside_points
,
ssh
,
corner
,
step
)
...
...
@@ -76,7 +80,7 @@ program test_get_1_outerm
e
%
radius4
=
-
1
e
%
valid
=
.true.
call
shpc_create
(
hshp
,
shpc_dir
=
"SHPC"
,
cyclone
=
cyclone
,
slice
=
0
,
&
grid_lon_lat
=
.true.
)
grid_lon_lat
=
grid_lon_lat
)
call
write_eddy
(
e
,
hshp
,
date
,
i
=
1
)
write
(
hshp
%
unit
,
fmt
=
*
)
0
CALL
shpc_close
(
hshp
)
...
...
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