Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
RODIER Quentin
Méso-NH code
Commits
af420067
Commit
af420067
authored
6 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 28/05/2018: bug correction: check if argument SV is present
parent
c25c6d67
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
src/SURFEX/writesurf_sbln.F90
+4
-3
4 additions, 3 deletions
src/SURFEX/writesurf_sbln.F90
with
4 additions
and
3 deletions
src/SURFEX/writesurf_sbln.F90
+
4
−
3
View file @
af420067
!SFX_LIC Copyright 1994-201
4
CNRS, Meteo-France and Universite Paul Sabatier
!SFX_LIC Copyright 1994-201
8
CNRS, Meteo-France and Universite Paul Sabatier
!SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
!SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!SFX_LIC for details. version 1.
! #########
SUBROUTINE
WRITESURF_SBL_n
(
HSELECT
,
OSBL
,
SB
,
HPROGRAM
,
HWRITE
,
HSURF
,
SV
)
...
...
@@ -33,6 +33,7 @@
!! -------------
!! Original 01/2003
!! E. Martin 01/2012 avoid write of XUNDEF fields
!! P. Wautelet 28/05/2018: check if SV is present before using it
!-------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
...
...
@@ -206,7 +207,7 @@ IF (HWRITE/='PRE') THEN
CALL
WRITE_SURF
(
HSELECT
,
HPROGRAM
,
YRECFM
,
SB
%
XP
(:,
JL
),
IRESP
,
HCOMMENT
=
YCOMMENT
)
END
DO
!
IF
(
HSURF
==
"NATURE"
)
THEN
IF
(
HSURF
==
"NATURE"
.AND.
PRESENT
(
SV
)
)
THEN
IF
(
SV
%
NSNWEQ
>
0
)
THEN
DO
JN
=
1
,
SV
%
NSNWEQ
!DO JN=1,2
...
...
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