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
Méso-NH
Méso-NH code
Commits
0d05cfcd
Commit
0d05cfcd
authored
3 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 01/07/2021: budgets: add npdf dimension
parent
a8cb5e5b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/LIB/SURCOUCHE/src/modd_field.f90
+14
-13
14 additions, 13 deletions
src/LIB/SURCOUCHE/src/modd_field.f90
src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
+5
-2
5 additions, 2 deletions
src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
with
19 additions
and
15 deletions
src/LIB/SURCOUCHE/src/modd_field.f90
+
14
−
13
View file @
0d05cfcd
...
...
@@ -65,25 +65,26 @@ integer, parameter :: NMNHDIM_BUDGET_LES_TIME = 24
integer
,
parameter
::
NMNHDIM_BUDGET_LES_AVG_TIME
=
25
integer
,
parameter
::
NMNHDIM_BUDGET_LES_LEVEL
=
26
integer
,
parameter
::
NMNHDIM_BUDGET_LES_SV
=
27
integer
,
parameter
::
NMNHDIM_BUDGET_LES_PDF
=
28
integer
,
parameter
::
NMNHDIM_BUDGET_LES_MASK
=
100
! This is not a true dimension
integer
,
parameter
::
NMNHDIM_SPECTRA_2PTS_NI
=
2
8
integer
,
parameter
::
NMNHDIM_SPECTRA_2PTS_NJ
=
29
integer
,
parameter
::
NMNHDIM_SPECTRA_SPEC_NI
=
3
0
integer
,
parameter
::
NMNHDIM_SPECTRA_SPEC_NJ
=
3
1
integer
,
parameter
::
NMNHDIM_SPECTRA_LEVEL
=
3
2
integer
,
parameter
::
NMNHDIM_SPECTRA_2PTS_NI
=
2
9
integer
,
parameter
::
NMNHDIM_SPECTRA_2PTS_NJ
=
30
integer
,
parameter
::
NMNHDIM_SPECTRA_SPEC_NI
=
3
1
integer
,
parameter
::
NMNHDIM_SPECTRA_SPEC_NJ
=
3
2
integer
,
parameter
::
NMNHDIM_SPECTRA_LEVEL
=
3
3
integer
,
parameter
::
NMNHDIM_SERIES_LEVEL
=
3
3
integer
,
parameter
::
NMNHDIM_SERIES_LEVEL_W
=
3
4
integer
,
parameter
::
NMNHDIM_SERIES_TIME
=
3
5
! Time dimension for time series
integer
,
parameter
::
NMNHDIM_SERIES_LEVEL
=
3
4
integer
,
parameter
::
NMNHDIM_SERIES_LEVEL_W
=
3
5
integer
,
parameter
::
NMNHDIM_SERIES_TIME
=
3
6
! Time dimension for time series
integer
,
parameter
::
NMNHDIM_FLYER_TIME
=
3
6
! Time dimension for aircraft/balloon (dimension local to each flyer)
integer
,
parameter
::
NMNHDIM_PROFILER_TIME
=
3
7
! Time dimension for profilers
integer
,
parameter
::
NMNHDIM_STATION_TIME
=
3
8
! Time dimension for stations
integer
,
parameter
::
NMNHDIM_FLYER_TIME
=
3
7
! Time dimension for aircraft/balloon (dimension local to each flyer)
integer
,
parameter
::
NMNHDIM_PROFILER_TIME
=
3
8
! Time dimension for profilers
integer
,
parameter
::
NMNHDIM_STATION_TIME
=
3
9
! Time dimension for stations
integer
,
parameter
::
NMNHDIM_PAIR
=
39
! For values coming by pair (ie boundaries)
integer
,
parameter
::
NMNHDIM_PAIR
=
40
! For values coming by pair (ie boundaries)
integer
,
parameter
::
NMNHDIM_LASTDIM_DIACHRO
=
39
! Index of the last defined dimension for diachronic files
integer
,
parameter
::
NMNHDIM_LASTDIM_DIACHRO
=
40
! Index of the last defined dimension for diachronic files
integer
,
parameter
::
NMNHDIM_BUDGET_NGROUPS
=
101
! This is not a true dimension
integer
,
parameter
::
NMNHDIM_FLYER_PROC
=
102
! This is not a true dimension
...
...
This diff is collapsed.
Click to expand it.
src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
+
5
−
2
View file @
0d05cfcd
...
...
@@ -261,7 +261,7 @@ use modd_field, only: NMNHDIM_NI, NMNHDIM_NJ, NMNHDIM_NI_U, NMNHDIM_NJ_U
NMNHDIM_BUDGET_MASK_LEVEL
,
NMNHDIM_BUDGET_MASK_LEVEL_W
,
&
NMNHDIM_BUDGET_MASK_NBUMASK
,
NMNHDIM_BUDGET_TIME
,
&
NMNHDIM_BUDGET_LES_TIME
,
NMNHDIM_BUDGET_LES_AVG_TIME
,
NMNHDIM_BUDGET_LES_LEVEL
,
&
NMNHDIM_BUDGET_LES_SV
,
&
NMNHDIM_BUDGET_LES_SV
,
NMNHDIM_BUDGET_LES_PDF
,
&
NMNHDIM_SPECTRA_2PTS_NI
,
NMNHDIM_SPECTRA_2PTS_NJ
,
&
NMNHDIM_SPECTRA_SPEC_NI
,
NMNHDIM_SPECTRA_SPEC_NJ
,
NMNHDIM_SPECTRA_LEVEL
,
&
NMNHDIM_SERIES_LEVEL
,
NMNHDIM_SERIES_LEVEL_W
,
&
...
...
@@ -270,7 +270,7 @@ use modd_field, only: NMNHDIM_NI, NMNHDIM_NJ, NMNHDIM_NI_U, NMNHDIM_NJ_U
NMNHDIM_ARAKAWA
,
&
NMNHDIM_LASTDIM_NODIACHRO
,
NMNHDIM_LASTDIM_DIACHRO
use
modd_les
,
only
:
nles_k
,
nspectra_k
,
xles_temp_mean_start
,
xles_temp_mean_step
,
xles_temp_mean_end
use
modd_les
,
only
:
lles_pdf
,
nles_k
,
npdf
,
nspectra_k
,
xles_temp_mean_start
,
xles_temp_mean_step
,
xles_temp_mean_end
use
modd_les_n
,
only
:
nles_times
,
nspectra_ni
,
nspectra_nj
use
modd_nsv
,
only
:
nsv
USE
MODD_PARAMETERS_ll
,
ONLY
:
JPHEXT
,
JPVEXT
...
...
@@ -377,6 +377,9 @@ if ( tpfile%ctype == 'MNHDIACHRONIC' ) then
!Dimension for the number of scalar variables
if
(
nsv
>
0
)
call
IO_Add_dim_nc4
(
tpfile
,
NMNHDIM_BUDGET_LES_SV
,
'nsv'
,
nsv
)
!Dimension for the number of PDF
if
(
lles_pdf
)
call
IO_Add_dim_nc4
(
tpfile
,
NMNHDIM_BUDGET_LES_PDF
,
'npdf'
,
npdf
)
!Dimensions for the number of horizontal wavelengths for non-local LES budgets (2 points correlations)
if
(
nspectra_ni
>
0
)
call
IO_Add_dim_nc4
(
tpfile
,
NMNHDIM_SPECTRA_2PTS_NI
,
'nspectra_2pts_ni'
,
nspectra_ni
)
if
(
nspectra_nj
>
0
.and.
.not.
l2d
)
&
...
...
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