Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
FORESEE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Gutsch
FORESEE
Commits
5a608ad3
"jrqa.m" did not exist on "db947d2a2d093e6ce89b81efe136ea3c2fe26303"
Commit
5a608ad3
authored
6 years ago
by
Petra Lasch-Born
Browse files
Options
Downloads
Patches
Plain Diff
Deleted source_code/version2.2_windows/win_prepini.f
parent
a1d649fc
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
source_code/version2.2_windows/win_prepini.f
+0
-107
0 additions, 107 deletions
source_code/version2.2_windows/win_prepini.f
with
0 additions
and
107 deletions
source_code/version2.2_windows/win_prepini.f
deleted
100644 → 0
+
0
−
107
View file @
a1d649fc
SUBROUTINE
win_prepini
!*
!* Implementation and Revisions:
!* -----------------------------
!*
! 15.08.11 Su Zwischendruck bei treeini raus
! 24.02.11 Su stand_id als Character
! 01.02.05 ag win_prepini: help_ip set to actual run number
! 28.01.05 Su
! check stand_id from multi-stand-intialisaton file (...tree.ini)
! lmulti = 0 ==> single initialisation file
USE
data_simul
USE
data_site
USE
data_stand
USE
data_species
use
flag_field
IMPLICIT
NONE
CHARACTER
::
a
CHARACTER
(
30
)
::
filename
,
text
CHARACTER
(
50
)
::
test_stand_id
INTEGER
::
ios
,
treeunit
LOGICAL
::
exs
,
lstin
INTEGER
::
help_ip
,
test_vf
,
i
REAL
::
test_patchsize
,
xx
IF
(
site_nr
==
1
)
THEN
help_ip
=
site_nr
ELSE
help_ip
=
act_run
END
IF
! when initialization stand flag == 1
IF
(
flag_stand
>
0
)
then
exs
=
.false.
stand_id
=
standid
(
help_ip
)
! reading stand information from treefile
inquire
(
File
=
treefile
(
help_ip
),
exist
=
exs
)
IF
(
exs
.eqv.
.false.
)
write
(
*
,
*
)
' Stand initialization file not exists!'
! read values from treefile
IF
(
exs
.eqv.
.true.
)
then
treeunit
=
getunit
()
OPEN
(
treeunit
,
file
=
treefile
(
help_ip
),
action
=
'read'
,
pad
=
'YES'
)
READ
(
treeunit
,
'(I1,F12.0)'
,
iostat
=
ios
)
test_vf
,
test_patchsize
IF
(
test_patchsize
.GT.
0.
)
THEN
lmulti
=
.FALSE.
IF
(
test_patchsize
.NE.
kpatchsize
)
THEN
CALL
error_mess
(
time
,
"patch size in sim-file and the one used for initialisation do not match"
,
kpatchsize
)
CALL
error_mess
(
time
,
"value in ini-file"
,
test_patchsize
)
CALL
error_mess
(
time
,
"value in sim-file"
,
kpatchsize
)
kpatchsize
=
test_patchsize
ENDIF
ELSE
lmulti
=
.TRUE.
! count number of stand_id
anz_standid
=
0
do
READ
(
treeunit
,
'(A)'
,
iostat
=
ios
)
a
IF
(
a
.ne.
'!'
)
exit
end
do
do
read
(
treeunit
,
*
,
iostat
=
ios
)
xx
IF
(
ios
.lt.
0
)
exit
anz_standid
=
anz_standid
+
1
do
while
(
xx
.gt.
-90.0
)
read
(
treeunit
,
*
)
xx
! print *,xx
enddo
! xx
enddo
if
(
allocated
(
standid_list
))
deallocate
(
standid_list
)
allocate
(
standid_list
(
anz_standid
))
rewind
treeunit
! read stand_id
read
(
treeunit
,
*
)
xx
do
READ
(
treeunit
,
'(A)'
,
iostat
=
ios
)
a
IF
(
a
.ne.
'!'
)
exit
end
do
backspace
treeunit
lstandid
=
.FALSE.
do
i
=
1
,
anz_standid
read
(
treeunit
,
*
)
test_stand_id
,
test_patchsize
,
text
standid_list
(
i
)
=
test_stand_id
if
(
test_stand_id
.eq.
stand_id
)
lstandid
=
.TRUE.
read
(
treeunit
,
*
)
xx
do
while
(
xx
.gt.
-90.0
)
read
(
treeunit
,
*
)
xx
enddo
! xx
enddo
END
IF
! test_patchsize -- lmulti
CLOSE
(
treeunit
)
END
IF
! exs
END
IF
END
SUBROUTINE
win_prepini
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