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
20f19aaa
Commit
20f19aaa
authored
5 months ago
by
GUEZ Lionel
Browse files
Options
Downloads
Patches
Plain Diff
Rename procedure to `get_ori_slice_dir`
Rename procedure `get_slice_dir` to `get_ori_slice_dir`.
parent
7c2c3980
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
Common/get_ori_slice_dir.f90
+8
-7
8 additions, 7 deletions
Common/get_ori_slice_dir.f90
Common/ori_slice_open.f90
+2
-2
2 additions, 2 deletions
Common/ori_slice_open.f90
Inst_eddies/shpc_create.f90
+2
-2
2 additions, 2 deletions
Inst_eddies/shpc_create.f90
with
12 additions
and
11 deletions
Common/get_ori_slice_dir.f90
+
8
−
7
View file @
20f19aaa
module
get_slice_dir_m
module
get_
ori_
slice_dir_m
implicit
none
contains
pure
function
get_slice_dir
(
shpc_dir
,
cyclone
,
slice
)
pure
function
get_
ori_
slice_dir
(
shpc_dir
,
cyclone
,
slice
)
character
(
len
=
:),
allocatable
::
get_slice_dir
character
(
len
=
:),
allocatable
::
get_
ori_
slice_dir
character
(
len
=
*
),
intent
(
in
)::
shpc_dir
logical
,
intent
(
in
)::
cyclone
integer
,
intent
(
in
)::
slice
...
...
@@ -19,11 +19,12 @@ contains
write
(
unit
=
slice_part
,
fmt
=
"(a, i0)"
)
"Slice_"
,
slice
if
(
cyclone
)
then
get_slice_dir
=
shpc_dir
//
"/"
//
trim
(
slice_part
)
//
"/Cyclones"
get_
ori_
slice_dir
=
shpc_dir
//
"/"
//
trim
(
slice_part
)
//
"/Cyclones"
else
get_slice_dir
=
shpc_dir
//
"/"
//
trim
(
slice_part
)
//
"/Anticyclones"
get_ori_slice_dir
=
shpc_dir
//
"/"
//
trim
(
slice_part
)
&
//
"/Anticyclones"
end
if
end
function
get_slice_dir
end
function
get_
ori_
slice_dir
end
module
get_slice_dir_m
end
module
get_
ori_
slice_dir_m
This diff is collapsed.
Click to expand it.
Common/ori_slice_open.f90
+
2
−
2
View file @
20f19aaa
...
...
@@ -16,7 +16,7 @@ contains
use
shapelib_03
,
only
:
shp_open_03
use
derived_types
,
only
:
ori_slice_handler
use
get_slice_dir_m
,
only
:
get_slice_dir
use
get_
ori_
slice_dir_m
,
only
:
get_
ori_
slice_dir
use
read_field_indices_m
,
only
:
read_field_indices
TYPE
(
ori_slice_handler
),
intent
(
out
)::
hshp
...
...
@@ -32,7 +32,7 @@ contains
!--------------------------------------------------------------------
hshp
%
dir
=
get_slice_dir
(
shpc_dir
,
cyclone
,
slice
)
hshp
%
dir
=
get_
ori_
slice_dir
(
shpc_dir
,
cyclone
,
slice
)
call
shp_open_03
(
hshp
%
extremum
,
hshp
%
dir
//
"/extremum"
,
pszaccess
,
&
iostat_local
)
if
(
present
(
iostat
))
iostat
=
iostat_local
...
...
This diff is collapsed.
Click to expand it.
Inst_eddies/shpc_create.f90
+
2
−
2
View file @
20f19aaa
...
...
@@ -14,7 +14,7 @@ contains
use
shapelib_03
,
only
:
shp_create_03
,
dbf_add_field_03
use
derived_types
,
only
:
ori_slice_handler
use
get_slice_dir_m
,
only
:
get_slice_dir
use
get_
ori_
slice_dir_m
,
only
:
get_
ori_
slice_dir
TYPE
(
ori_slice_handler
),
intent
(
out
)::
hshp
character
(
len
=
*
),
intent
(
in
)::
shpc_dir
...
...
@@ -28,7 +28,7 @@ contains
!---------------------------------------------------------------------
hshp
%
dir
=
get_slice_dir
(
shpc_dir
,
cyclone
,
slice
)
hshp
%
dir
=
get_
ori_
slice_dir
(
shpc_dir
,
cyclone
,
slice
)
! extremum shapefile:
call
shp_create_03
(
hshp
%
dir
//
"/extremum"
,
shpt_point
,
&
...
...
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