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
4db11a91
Commit
4db11a91
authored
1 year ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Rename variable i to `eddy_index`
We are going to need i for something else.
parent
83a7a4c7
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_set_max_speed.f90
+3
-3
3 additions, 3 deletions
Inst_eddies/Tests/test_set_max_speed.f90
with
3 additions
and
3 deletions
Inst_eddies/Tests/test_set_max_speed.f90
+
3
−
3
View file @
4db11a91
...
...
@@ -18,7 +18,7 @@ program test_set_max_speed
logical
cyclone
logical
periodic
! grid is periodic in longitude
integer
nlon
,
nlat
,
d
,
i
,
n_cont
integer
nlon
,
nlat
,
d
,
eddy_index
,
n_cont
real
,
allocatable
::
ssh
(:,
:)
! (nlon, nlat) sea-surface height, in m
real
,
allocatable
::
u
(:,
:),
v
(:,
:)
! (nlon, nlat) wind, in m s-1
type
(
eddy
)
e
...
...
@@ -49,7 +49,7 @@ program test_set_max_speed
print
*
,
"test_set_max_speed: Reading from shapefiles..."
call
get_command_arg_dyn
(
3
,
shpc_dir
,
"Required 3rd argument: SHPC-directory"
)
call
shpc_open
(
hshpc
,
shpc_dir
,
cyclone
,
slice
=
0
,
pszaccess
=
"rb"
)
call
read_eddy
(
e
,
d
,
i
,
hshpc
,
ishape
=
0
)
call
read_eddy
(
e
,
d
,
eddy_index
,
hshpc
,
ishape
=
0
)
CALL
shpc_close
(
hshpc
)
if
(
.not.
periodic
)
nlon
=
size
(
ssh
,
1
)
nlat
=
size
(
ssh
,
2
)
...
...
@@ -76,7 +76,7 @@ program test_set_max_speed
v
(
llc
(
1
):
urc
(
1
),
llc
(
2
):
urc
(
2
)),
corner_window
,
step
)
call
shpc_create
(
hshpc
,
shpc_dir
=
"SHPC"
,
cyclone
=
cyclone
,
slice
=
0
,
&
grid_lon_lat
=
.true.
)
call
write_eddy
(
e
,
hshpc
,
d
,
i
)
call
write_eddy
(
e
,
hshpc
,
d
,
eddy_index
)
write
(
hshpc
%
unit
,
fmt
=
*
)
0
CALL
shpc_close
(
hshpc
)
print
*
,
'test_set_max_speed: Created "SHPC".'
...
...
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