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
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
14c97a9c
Commit
14c97a9c
authored
1 year ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Write `outside_points` to CSV file
Instead of standard output.
parent
4842fcdb
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/examine_eddy.f90
+9
-5
9 additions, 5 deletions
Inst_eddies/Tests/examine_eddy.f90
with
9 additions
and
5 deletions
Inst_eddies/Tests/examine_eddy.f90
+
9
−
5
View file @
14c97a9c
...
...
@@ -3,7 +3,7 @@ program examine_eddy
! Libraries:
use
contour_531
,
only
:
convert_to_ind
use
jumble
,
only
:
get_command_arg_dyn
,
read_column
,
deg_to_rad
,
pi
,
&
rad_to_deg
,
twopi
rad_to_deg
,
twopi
,
new_unit
use
shapelib
,
only
:
shpfileobject
,
shpclose
use
shapelib_03
,
only
:
dbf_read_attribute_03
,
dbf_get_field_index_03
,
&
shp_read_point
,
shp_open_03
...
...
@@ -22,7 +22,7 @@ program examine_eddy
implicit
none
integer
::
date
=
huge
(
0
),
eddy_i_target
=
huge
(
0
)
integer
ishape_first
,
d0
,
ishape
,
i
,
l
,
n1
,
n2
,
number_extr
integer
ishape_first
,
d0
,
ishape
,
i
,
l
,
n1
,
n2
,
number_extr
,
unit
logical
::
cyclone
=
.true.
! orientation of target eddy
namelist
/
main_nml
/
cyclone
,
date
,
eddy_i_target
TYPE
(
shpfileobject
)
hshp
...
...
@@ -179,14 +179,18 @@ program examine_eddy
print
*
,
"corner_window (in degrees):"
,
corner_window
*
rad_to_deg
print
*
,
"n1 = "
,
n1
print
*
,
"n2 = "
,
n2
print
*
,
"outside_points (in degrees): "
call
new_unit
(
unit
)
open
(
unit
,
file
=
"outside_points.csv"
,
status
=
"replace"
,
action
=
"write"
)
do
i
=
1
,
n1
+
n2
p
ri
n
t
*
,
outside_points
(:,
i
)
*
rad_to_deg
w
rit
e
(
unit
,
fmt
=
*
)
outside_points
(:,
i
)
*
rad_to_deg
end
do
close
(
unit
)
print
*
,
"e%innermost_level = "
,
e
%
innermost_level
print
*
,
"e%extr%coord_proj = "
,
e
%
extr
%
coord_proj
print
*
,
"Created shapefile cont_list and shapefile collection SHPC."
print
*
,
"Created outside_points.csv, shapefile cont_list and shapefile "
,
&
"collection SHPC."
end
program
examine_eddy
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