Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Knut Klingbeil
getm
Commits
7bb8574b
Commit
7bb8574b
authored
May 25, 2016
by
Knut
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into output
parents
8086f337
6f873cc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
20 deletions
+11
-20
src/ncdf/ncdf_meteo.F90
src/ncdf/ncdf_meteo.F90
+11
-20
No files found.
src/ncdf/ncdf_meteo.F90
View file @
7bb8574b
...
...
@@ -133,26 +133,6 @@
call
open_meteo_file
(
meteo_file
)
if
(
iextr
.eq.
1
.and.
jextr
.eq.
1
)
then
point_source
=
.true.
LEVEL3
'Assuming Point Source meteo forcing'
! if (on_grid .eq. .false. ) then
LEVEL3
'Setting on_grid to true'
on_grid
=
.true.
! end if
end
if
if
(
met_lat
(
1
)
.gt.
met_lat
(
2
))
then
LEVEL3
'Reverting lat-axis and setting grid_scan to 0'
grid_scan
=
0
x
=
met_lat
(
1
)
do
j
=
1
,
jextr
/
2
met_lat
(
j
)
=
met_lat
(
jextr
-
j
+1
)
met_lat
(
jextr
-
j
+1
)
=
x
x
=
met_lat
(
j
+1
)
end
do
end
if
allocate
(
wrk
(
iextr
,
jextr
),
stat
=
err
)
if
(
err
/
=
0
)
stop
'ncdf_meteo: Error allocating memory (wrk)'
wrk
=
0.
...
...
@@ -179,6 +159,17 @@
call
to_rotated_lat_lon
(
southpole
,
olon
,
olat
,
rlon
,
rlat
,
x
)
beta
=
x
end
if
else
if
(
met_lat
(
1
)
.gt.
met_lat
(
2
))
then
LEVEL3
'Reverting lat-axis and setting grid_scan to 0'
grid_scan
=
0
x
=
met_lat
(
1
)
do
j
=
1
,
jextr
/
2
met_lat
(
j
)
=
met_lat
(
jextr
-
j
+1
)
met_lat
(
jextr
-
j
+1
)
=
x
x
=
met_lat
(
j
+1
)
end
do
end
if
end
if
if
(
.not.
on_grid
)
then
...
...
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