Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
4f272a7b
Commit
4f272a7b
authored
Mar 04, 2019
by
Delaigue Olivier
Browse files
v1.2.7.7 CLEAN: add names to elementq of lists of layers in DataAltiExtrapolation_Valery
parent
d82ec976
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
4f272a7b
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.2.7.
6
Version: 1.2.7.
7
Date: 2019-03-04
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
4f272a7b
...
...
@@ -13,7 +13,7 @@ output:
### 1.2.7.
6
Release Notes (2019-03-04)
### 1.2.7.
7
Release Notes (2019-03-04)
...
...
R/DataAltiExtrapolation_Valery.R
View file @
4f272a7b
...
...
@@ -460,8 +460,7 @@ DataAltiExtrapolation_Valery <- function(DatesR,
##Temperature_extrapolation____________________________________________________________________
##Initialisation
LayerTempMean
<-
list
()
LayerTempMean
<-
list
()
LayerTempMin
<-
list
()
LayerTempMax
<-
list
()
...
...
@@ -499,15 +498,17 @@ DataAltiExtrapolation_Valery <- function(DatesR,
##Thresold_of_inputs_median_elevation
Zthreshold
<-
1500
##Option
Option
<-
"USACE"
if
(
!
is.na
(
ZInputs
))
{
if
(
ZInputs
<
Zthreshold
&
!
is.null
(
TempMin
)
&
!
is.null
(
TempMax
))
{
Option
<-
"Hydrotel"
}
}
##On_each_elevation_layer...
for
(
iLayer
in
1
:
NLayers
)
{
Option
<-
"USACE"
if
(
!
is.na
(
ZInputs
))
{
if
(
ZInputs
<
Zthreshold
&
!
is.null
(
TempMin
)
&
!
is.null
(
TempMax
))
{
Option
<-
"Hydrotel"
}
}
##Turcotte_formula_from_Hydrotel
if
(
Option
==
"Hydrotel"
)
{
TempMin
<-
LayerTempMin
[[
iLayer
]]
...
...
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