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
c6f280e3
Commit
c6f280e3
authored
8 months ago
by
GUEZ Lionel
Browse files
Options
Downloads
Patches
Plain Diff
Rename variable `hshp_cont_list` to hshp
parent
6da28e6a
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
-6
6 additions, 6 deletions
Inst_eddies/Tests/test_get_1_outerm.f90
with
6 additions
and
6 deletions
Inst_eddies/Tests/test_get_1_outerm.f90
+
6
−
6
View file @
c6f280e3
...
@@ -68,7 +68,7 @@ program test_get_1_outerm
...
@@ -68,7 +68,7 @@ program test_get_1_outerm
! specified.
! specified.
integer
n_cont
! number of good contours found and stored in cont_list
integer
n_cont
! number of good contours found and stored in cont_list
TYPE
(
shpfileobject
)
hshp
_cont_list
TYPE
(
shpfileobject
)
hshp
namelist
/
main_nml
/
ind_targ_extr
,
innermost_level
,
cyclone
,
date
,
&
namelist
/
main_nml
/
ind_targ_extr
,
innermost_level
,
cyclone
,
date
,
&
grid_lon_lat
grid_lon_lat
logical
exist
logical
exist
...
@@ -110,18 +110,18 @@ program test_get_1_outerm
...
@@ -110,18 +110,18 @@ program test_get_1_outerm
! cont_list shapefile:
! cont_list shapefile:
call
shp_create_03
(
"cont_list"
,
shpt_polygon
,
hshp
_cont_list
)
call
shp_create_03
(
"cont_list"
,
shpt_polygon
,
hshp
)
call
dbf_add_field_03
(
ifield
,
hshp
_cont_list
,
'ssh'
,
ftdouble
,
&
call
dbf_add_field_03
(
ifield
,
hshp
,
'ssh'
,
ftdouble
,
&
nwidth
=
13
,
ndecimals
=
6
)
nwidth
=
13
,
ndecimals
=
6
)
do
i
=
1
,
n_cont
do
i
=
1
,
n_cont
call
shp_append_object_03
(
ishape
,
hshp
_cont_list
,
shpt_polygon
,
&
call
shp_append_object_03
(
ishape
,
hshp
,
shpt_polygon
,
&
cont_list
(
i
)
%
points
*
rad_to_deg
)
cont_list
(
i
)
%
points
*
rad_to_deg
)
call
dbf_write_attribute_03
(
hshp
_cont_list
,
ishape
,
ifield
,
&
call
dbf_write_attribute_03
(
hshp
,
ishape
,
ifield
,
&
cont_list_proj
(
i
)
%
ssh
)
cont_list_proj
(
i
)
%
ssh
)
end
do
end
do
CALL
shpclose
(
hshp
_cont_list
)
CALL
shpclose
(
hshp
)
print
*
,
'test_get_1_outerm: Created shapefile "cont_list".'
print
*
,
'test_get_1_outerm: Created shapefile "cont_list".'
else
else
print
*
,
"test_get_1_outerm: Could not find an outermost contour."
print
*
,
"test_get_1_outerm: Could not find an outermost contour."
...
...
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