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
98704d19
Commit
98704d19
authored
2 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Use NetCDF95 constants
parent
bd967075
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/input_ssh.f90
+3
-4
3 additions, 4 deletions
Inst_eddies/input_ssh.f90
with
3 additions
and
4 deletions
Inst_eddies/input_ssh.f90
+
3
−
4
View file @
98704d19
...
...
@@ -14,9 +14,8 @@ contains
! Libraries:
use
jumble
,
only
:
new_unit
,
assert
,
deg_to_rad
,
twopi
use
netcdf
,
only
:
nf90_nowrite
use
netcdf95
,
only
:
nf95_open
,
nf95_find_coord
,
nf95_inquire_dimension
,
&
nf95_get_var
,
nf95_close
nf95_get_var
,
nf95_close
,
nf95_nowrite
use
config_m
,
only
:
max_radius_deg
use
get_var_m
,
only
:
get_var
...
...
@@ -60,7 +59,7 @@ contains
!----------------------------------------------------------------------
inquire
(
file
=
"SHPC/grid_nml.txt"
,
exist
=
exist
)
call
nf95_open
(
"h.nc"
,
nf9
0
_nowrite
,
ncid
)
call
nf95_open
(
"h.nc"
,
nf9
5
_nowrite
,
ncid
)
call
nf95_find_coord
(
ncid
,
dimid
=
dimid
,
varid
=
varid
,
&
std_name
=
"longitude"
)
call
new_unit
(
unit
)
...
...
@@ -140,7 +139,7 @@ contains
! works with an upper limit for valid values.)
call
nf95_close
(
ncid
)
call
nf95_open
(
"uv.nc"
,
nf9
0
_nowrite
,
ncid
)
call
nf95_open
(
"uv.nc"
,
nf9
5
_nowrite
,
ncid
)
call
get_var
(
periodic
,
max_radius
(
1
),
u
,
ncid
,
nlon
,
name
=
"ugos"
,
&
new_fill_value
=
ieee_value
(
0.
,
IEEE_QUIET_NAN
))
call
get_var
(
periodic
,
max_radius
(
1
),
v
,
ncid
,
nlon
,
name
=
"vgos"
,
&
...
...
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