Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Nemo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sam Hatfield
Nemo
Commits
5d2be734
Commit
5d2be734
authored
3 years ago
by
Tomas Lovato
Browse files
Options
Downloads
Patches
Plain Diff
fix names of x,y coordinates fields of domcfg
parent
3def55a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/DOMAINcfg/src/iom_nf90.F90
+5
-1
5 additions, 1 deletion
tools/DOMAINcfg/src/iom_nf90.F90
with
5 additions
and
1 deletion
tools/DOMAINcfg/src/iom_nf90.F90
+
5
−
1
View file @
5d2be734
...
...
@@ -556,6 +556,7 @@ CONTAINS
LOGICAL
::
lchunk
! logical switch to activate chunking and compression
! ! when appropriate (currently chunking is applied to 4d fields only)
INTEGER
::
idlv
! local variable
CHARACTER
(
LEN
=
256
)
::
ccname
! local variable
!---------------------------------------------------------------------
!
clinfo
=
' iom_nf90_rp0123d, file: '
//
TRIM
(
iom_file
(
kiomid
)
%
name
)//
', var: '
//
TRIM
(
cdvar
)
...
...
@@ -571,7 +572,10 @@ CONTAINS
! define the dimension variables if it is not already done
DO
jd
=
1
,
2
CALL
iom_nf90_check
(
NF90_INQUIRE_DIMENSION
(
if90id
,
jd
,
iom_file
(
kiomid
)
%
cn_var
(
jd
),
iom_file
(
kiomid
)
%
dimsz
(
jd
,
jd
)),
clinfo
)
CALL
iom_nf90_check
(
NF90_DEF_VAR
(
if90id
,
TRIM
(
iom_file
(
kiomid
)
%
cn_var
(
jd
)),
NF90_FLOAT
,
(/
1
,
2
/),
&
ccname
=
TRIM
(
iom_file
(
kiomid
)
%
cn_var
(
jd
))
IF
(
ccname
==
'x'
)
ccname
=
'nav_lon'
IF
(
ccname
==
'y'
)
ccname
=
'nav_lat'
CALL
iom_nf90_check
(
NF90_DEF_VAR
(
if90id
,
ccname
,
NF90_FLOAT
,
(/
1
,
2
/),
&
&
iom_file
(
kiomid
)
%
nvid
(
jd
)
),
clinfo
)
END
DO
iom_file
(
kiomid
)
%
dimsz
(
2
,
1
)
=
iom_file
(
kiomid
)
%
dimsz
(
2
,
2
)
! second dim of first variable
...
...
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