Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IPSL
P
Projets
dynamico
DYNAMICO
Commits
8a73a328
Commit
8a73a328
authored
Jan 18, 2022
by
ymeur
Browse files
Make vertical remap working for 4D field
YM
parent
71b9bed8
Pipeline
#157225
failed with stages
in 1 minute and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
src/vertical/vertical_remap.f90
src/vertical/vertical_remap.f90
+8
-5
No files found.
src/vertical/vertical_remap.f90
View file @
8a73a328
...
...
@@ -20,7 +20,7 @@ CONTAINS
REAL
(
rstd
),
POINTER
::
out
(:,:)
REAL
(
rstd
),
POINTER
::
p
(:,:)
INTEGER
::
ind
INTEGER
::
ind
,
iq
CALL
allocate_field
(
f_p
,
field_t
,
type_real
,
llm
+1
)
CALL
pression
(
f_ps
,
f_p
)
...
...
@@ -30,11 +30,14 @@ CONTAINS
CALL
swap_dimensions
(
ind
)
CALL
swap_geometry
(
ind
)
p
=
f_p
(
ind
)
in
=
field_in
(
ind
)
out
=
field_out
(
ind
)
CALL
compute_vertical_remap
(
pressure_level
,
in
,
p
,
out
)
DO
iq
=
1
,
field_out
(
ind
)
%
dim4
in
=>
field_in
(
ind
)
%
rval4d
(:,:,
iq
)
out
=>
field_out
(
ind
)
%
rval4d
(:,:,
iq
)
CALL
compute_vertical_remap
(
pressure_level
,
in
,
p
,
out
)
ENDDO
ENDDO
CALL
deallocate_field
(
f_p
)
END
SUBROUTINE
vertical_remap
SUBROUTINE
compute_vertical_remap
(
pressure_level
,
in
,
p
,
out
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment