Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Feel free to join the next
Helmholtz Hacky Hour #26
on Wednesday, April 21, 2021 from 2PM to 3PM!
Open sidebar
CHS
progs
edk_nc
Commits
058aa0d2
Commit
058aa0d2
authored
Apr 01, 2020
by
Friedrich Boeing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resorted loop for array writing (when dem is asc file)
parent
e3909c45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/EDK_driver.f90
src/EDK_driver.f90
+2
-5
No files found.
src/EDK_driver.f90
View file @
058aa0d2
...
...
@@ -236,6 +236,7 @@ program ED_Kriging
k
=
0
do
i
=
1
,
gridMeteo
%
ncols
! do j = 1, gridMeteo%nrows
! k = k + 1
! tmp_array(i, gridMeteo%nrows - j + 1, :) = cell(k)%z
...
...
@@ -243,20 +244,16 @@ program ED_Kriging
! end do
if
(
invert_y
)
then
do
j
=
gridMeteo
%
nrows
,
1
,
-1
do
i
=
1
,
gridMeteo
%
ncols
k
=
k
+
1
tmp_array
(
i
,
gridMeteo
%
nrows
-
j
+
1
,
:)
=
cell
(
k
)
%
z
end
do
end
do
else
do
j
=
1
,
gridMeteo
%
nrows
do
i
=
1
,
gridMeteo
%
ncols
k
=
k
+
1
tmp_array
(
i
,
gridMeteo
%
nrows
-
j
+
1
,
:)
=
cell
(
k
)
%
z
end
do
end
do
end
if
!
end do
end
do
!t = 0
!do i = 1, jEnd - jStart + 1
! tmp_time(i) = t
...
...
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