Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
mpim-sw
libcdi
Commits
4468ae04
Commit
4468ae04
authored
2 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Add env. CDI_Test
parent
a6b9299b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!42
Develop
,
!39
M214003/develop
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cdi_int.c
+4
-0
4 additions, 0 deletions
src/cdi_int.c
src/cdi_int.h
+1
-0
1 addition, 0 deletions
src/cdi_int.h
with
5 additions
and
0 deletions
src/cdi_int.c
+
4
−
0
View file @
4468ae04
...
...
@@ -40,6 +40,7 @@ int CDI_Read_Cell_Corners = 1;
int
CDI_CMOR_Mode
=
0
;
int
CDI_Reduce_Dim
=
0
;
int
CDI_Shuffle
=
0
;
int
CDI_Test
=
0
;
size_t
CDI_Netcdf_Hdr_Pad
=
0UL
;
size_t
CDI_Chunk_Cache
=
0UL
;
size_t
CDI_Chunk_Cache_Max
=
0UL
;
...
...
@@ -366,6 +367,9 @@ cdiInitialize(void)
value
=
cdi_getenv_int
(
"CDI_CHUNK_CACHE_MAX"
);
if
(
value
>=
0
)
CDI_Chunk_Cache_Max
=
(
size_t
)
value
;
value
=
cdi_getenv_int
(
"CDI_TEST"
);
if
(
value
>=
0
)
CDI_Test
=
(
size_t
)
value
;
envstr
=
getenv
(
"CDI_GRIB1_TEMPLATE"
);
if
(
envstr
)
CDI_GRIB1_Template
=
envstr
;
...
...
This diff is collapsed.
Click to expand it.
src/cdi_int.h
+
1
−
0
View file @
4468ae04
...
...
@@ -375,6 +375,7 @@ extern int CDI_Default_Calendar;
// extern int cdiNcMissingValue;
extern
int
CDI_Netcdf_Chunksizehint
;
extern
int
CDI_ChunkType
;
extern
int
CDI_Test
;
extern
int
CDI_Split_Ltype105
;
extern
int
cdiDataUnreduced
;
extern
int
cdiSortName
;
...
...
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