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
7e979512
Commit
7e979512
authored
4 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 14/09/2020: add ndimlist field to tfield_metadata_base
parent
6d406b74
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/LIB/SURCOUCHE/src/modd_field.f90
+32
-0
32 additions, 0 deletions
src/LIB/SURCOUCHE/src/modd_field.f90
with
32 additions
and
0 deletions
src/LIB/SURCOUCHE/src/modd_field.f90
+
32
−
0
View file @
7e979512
...
...
@@ -10,6 +10,7 @@
! P. Wautelet 12/07/2019: add pointers for T1D structure in TFIELDDATA
! P. Wautelet 23/01/2020: split in modd_field.f90 and mode_field.f90
! P. Wautelet 27/01/2020: create the tfield_metadata_base abstract datatype
! P. Wautelet 14/09/2020: add ndimlist field to tfield_metadata_base
!-----------------------------------------------------------------
module
modd_field
...
...
@@ -21,9 +22,38 @@ use NETCDF, only: NF90_FILL_INT, NF90_FILL_REAL
implicit
none
integer
,
parameter
::
NMNHMAXDIMS
=
6
INTEGER
,
PARAMETER
::
MAXFIELDS
=
250
INTEGER
,
PARAMETER
::
TYPEUNDEF
=
-1
,
TYPEINT
=
1
,
TYPELOG
=
2
,
TYPEREAL
=
3
,
TYPECHAR
=
4
,
TYPEDATE
=
5
!
integer
,
parameter
::
NMNHDIM_UNKNOWN
=
-2
integer
,
parameter
::
NMNHDIM_ONE
=
10
integer
,
parameter
::
NMNHDIM_COMPLEX
=
11
integer
,
parameter
::
NMNHDIM_BUDGET_CART_NI
=
20
integer
,
parameter
::
NMNHDIM_BUDGET_CART_NJ
=
21
integer
,
parameter
::
NMNHDIM_BUDGET_CART_NI_U
=
22
integer
,
parameter
::
NMNHDIM_BUDGET_CART_NJ_U
=
23
integer
,
parameter
::
NMNHDIM_BUDGET_CART_NI_V
=
24
integer
,
parameter
::
NMNHDIM_BUDGET_CART_NJ_V
=
25
integer
,
parameter
::
NMNHDIM_BUDGET_CART_LEVEL
=
26
integer
,
parameter
::
NMNHDIM_BUDGET_CART_LEVEL_W
=
27
integer
,
parameter
::
NMNHDIM_BUDGET_MASK_LEVEL
=
30
integer
,
parameter
::
NMNHDIM_BUDGET_MASK_LEVEL_W
=
31
integer
,
parameter
::
NMNHDIM_BUDGET_MASK_TIME
=
32
integer
,
parameter
::
NMNHDIM_BUDGET_MASK_NBUMASK
=
33
integer
,
parameter
::
NMNHDIM_BUDGET_LES_TIME
=
40
integer
,
parameter
::
NMNHDIM_BUDGET_LES_AVG_TIME
=
41
integer
,
parameter
::
NMNHDIM_BUDGET_LES_LEVEL
=
42
integer
,
parameter
::
NMNHDIM_BUDGET_LES_SV
=
43
integer
,
parameter
::
NMNHDIM_BUDGET_LES_MASK
=
44
integer
,
parameter
::
NMNHDIM_SPECTRA_2PTS_NI
=
50
integer
,
parameter
::
NMNHDIM_SPECTRA_2PTS_NJ
=
51
integer
,
parameter
::
NMNHDIM_SPECTRA_SPEC_NI
=
52
integer
,
parameter
::
NMNHDIM_SPECTRA_SPEC_NJ
=
53
integer
,
parameter
::
NMNHDIM_SPECTRA_LEVEL
=
54
integer
,
parameter
::
NMNHDIM_BUDGET_NGROUPS
=
100
! This is not a true dimension
integer
,
parameter
::
NMNHDIM_UNUSED
=
200
!
TYPE
TFIELDPTR_C0D
CHARACTER
(
LEN
=
:),
POINTER
::
DATA
=>
NULL
()
END
TYPE
TFIELDPTR_C0D
...
...
@@ -101,6 +131,8 @@ type, abstract :: tfield_metadata_base
INTEGER
::
NGRID
=
NGRIDUNKNOWN
!Localization on the model grid
INTEGER
::
NTYPE
=
TYPEUNDEF
!Datatype
INTEGER
::
NDIMS
=
0
!Number of dimensions
INTEGER
,
DIMENSION
(
NMNHMAXDIMS
)
::
NDIMLIST
=
NMNHDIM_UNKNOWN
! List of dimensions of the data field
!
#if defined(MNH_IOCDF4)
INTEGER
::
NFILLVALUE
=
NF90_FILL_INT
!Fill value for integer fields
REAL
::
XFILLVALUE
=
NF90_FILL_REAL
!Fill value for real fields
...
...
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