Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flexinvertplus
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flexpart
flexinvertplus
Commits
8a522e05
Commit
8a522e05
authored
9 months ago
by
Sabine
Browse files
Options
Downloads
Patches
Plain Diff
added specias bca - black carbon aerosol - concentration instead of mr calculated
parent
65dfe7e2
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/simulate.f90
+15
-3
15 additions, 3 deletions
source/simulate.f90
with
15 additions
and
3 deletions
source/simulate.f90
+
15
−
3
View file @
8a522e05
...
...
@@ -151,7 +151,7 @@ subroutine simulate(iter, files, config, fluxes, obs, states, grad_o, cost_o)
else
lsatellite
=
.false.
endif
print
*
,
'simulate: lsatellite = '
,
lsatellite
!
print*, 'simulate: lsatellite = ',lsatellite
! read correction factor for dry dir (ratio rho_wet/rho_dry)
if
(
month
.ne.
prevmonth
)
then
...
...
@@ -238,7 +238,13 @@ subroutine simulate(iter, files, config, fluxes, obs, states, grad_o, cost_o)
! convert s.m3/kg to s.m2/kg
grid
=
grid
/
outheight
(
1
)
! convert from equivalent ppt to observation units (e.g. ppmv)
grid
=
grid
*
config
%
coeff
*
mmair
/
config
%
molarmass
! sec not do it for bca
if
(
config
%
spec
.eq.
'bca'
)
then
grid
=
grid
*
config
%
coeff
else
grid
=
grid
*
config
%
coeff
*
mmair
/
config
%
molarmass
endif
! apply numerical scaling
grid
=
grid
/
numscale
! if ( lsatellite ) then
...
...
@@ -306,7 +312,13 @@ subroutine simulate(iter, files, config, fluxes, obs, states, grad_o, cost_o)
! convert s.m3/kg to s.m2/kg
gridnest
=
gridnest
/
outheight
(
1
)
! convert from equivalent ppt to observation units (e.g. ppmv)
gridnest
=
gridnest
*
config
%
coeff
*
mmair
/
config
%
molarmass
! sec not do it for bca
if
(
config
%
spec
.eq.
'bca'
)
then
gridnest
=
gridnest
*
config
%
coeff
else
gridnest
=
gridnest
*
config
%
coeff
*
mmair
/
config
%
molarmass
endif
! apply numerical scaling
gridnest
=
gridnest
/
numscale
! if ( lsatellite ) then
...
...
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