Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LAKE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrey Klenin
LAKE
Commits
80dc3f48
Commit
80dc3f48
authored
2 years ago
by
Victor Stepanenko
Browse files
Options
Downloads
Patches
Plain Diff
Important bug fixed in snowtemp
parent
0e0ff908
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/model/snowtemp.f90
+2
-6
2 additions, 6 deletions
source/model/snowtemp.f90
with
2 additions
and
6 deletions
source/model/snowtemp.f90
+
2
−
6
View file @
80dc3f48
...
...
@@ -39,6 +39,8 @@ real(kind=ireals) , intent(in) :: hour
real
(
kind
=
ireals
)
,
intent
(
in
)
::
phi
!real(kind=ireals) , intent(in) :: extice
real
(
kind
=
ireals
)
,
intent
(
in
)
::
fetch
real
(
kind
=
ireals
),
intent
(
inout
)
::
a
(
1
:
nveclen
),
b
(
1
:
nveclen
),
&
&
c
(
1
:
nveclen
),
d
(
1
:
nveclen
),
Temp
(
1
:
nveclen
)
real
(
kind
=
ireals
)
::
xx
...
...
@@ -52,7 +54,6 @@ real(kind=ireals) :: snowmass_init
real
(
kind
=
ireals
)
::
CCT
(
ML
)
real
(
kind
=
ireals
)
::
dt
real
(
kind
=
ireals
),
allocatable
::
a
(:),
b
(:),
c
(:),
d
(:),
Temp
(:)
integer
(
kind
=
iintegers
)
::
i
integer
(
kind
=
iintegers
)
::
iyear
...
...
@@ -61,9 +62,6 @@ integer(kind=iintegers) :: iday
SAVE
allocate
(
a
(
1
:
nveclen
),
b
(
1
:
nveclen
),
c
(
1
:
nveclen
),
&
&
d
(
1
:
nveclen
),
Temp
(
1
:
nveclen
))
do
i
=
itop
,
ms
T
(
i
)
=
Tsn
(
i
)
enddo
...
...
@@ -91,8 +89,6 @@ totalmelts = totalmelts + snmelt*dt
!if (hs1 == 0) hs1=0.00001
deallocate
(
a
,
b
,
c
,
d
,
Temp
)
END
SUBROUTINE
SNOWTEMP
...
...
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