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
and
there
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
102616e3
Commit
102616e3
authored
2 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Open with iostat instead of inquiring
parent
d3e44a88
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_write_eddy.f90
+5
-10
5 additions, 10 deletions
Inst_eddies/Tests/test_write_eddy.f90
with
5 additions
and
10 deletions
Inst_eddies/Tests/test_write_eddy.f90
+
5
−
10
View file @
102616e3
...
...
@@ -15,22 +15,17 @@ program test_write_eddy
implicit
none
TYPE
(
shpc_slice_handler
)
hshpc
integer
i
,
ishape
integer
i
,
ishape
,
iostat
integer
::
n_eddies
=
50000
logical
exist
logical
::
mixed
=
.true.
namelist
/
main_nml
/
n_eddies
,
mixed
!--------------------------------------------------------------
inquire
(
file
=
"SHPC_cyclo/extremum.shp"
,
exist
=
exist
)
if
(
exist
)
then
call
shpc_open
(
hshpc
,
shpc_dir
=
"SHPC_cyclo"
,
pszaccess
=
"rb+"
)
else
call
shpc_create
(
hshpc
,
shpc_dir
=
"SHPC_cyclo"
,
cyclone
=
.true.
)
end
if
call
shpc_open
(
hshpc
,
shpc_dir
=
"SHPC_cyclo"
,
pszaccess
=
"rb+"
,
&
iostat
=
iostat
)
if
(
iostat
/
=
0
)
call
shpc_create
(
hshpc
,
shpc_dir
=
"SHPC_cyclo"
,
&
cyclone
=
.true.
)
print
*
,
"Enter namelist main_nml."
read
(
unit
=
*
,
nml
=
main_nml
)
...
...
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