Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
UVic-updates-opem
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Markus Pahlow
UVic-updates-opem
Commits
3abbae33
Commit
3abbae33
authored
Jun 23, 2020
by
Markus Pahlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
limit daytime irradiance
parent
4d88e29c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
source/mom/tracer.F
source/mom/tracer.F
+2
-2
No files found.
source/mom/tracer.F
View file @
3abbae33
...
...
@@ -390,7 +390,7 @@
&
*
1.2
# endif
dayfrac
=
min
(
1.
,
-
tan
(
tlat
(
i
,
jrow
)/
radian
)
*
tan
(
declin
))
dayfrac
=
max
(
1e-12
,
acos
(
max
(
-1.
,
dayfrac
))/
pi
)
dayfrac
=
max
(
1
.
e-12
,
acos
(
max
(
-1.
,
dayfrac
))/
pi
)
# if defined O_embm
! swr is in W/m2 = kg/s3, dnswr is in g/s3 = mW/m2
! from Andreas: swr is 24h-avg.
...
...
@@ -399,7 +399,7 @@
swr
=
200.
# endif
# if defined O_opem
&
/
dayfrac
! with cmo, swr is mean DAYTIME irradiance
&
/
MAX
(
dayfrac
,
1.e-3
)
! with cmo, swr is mean DAYTIME irradiance
glb
=
swr
expo_c
=
0.0
expo_p
=
0.0
...
...
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