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
2c101f72
Commit
2c101f72
authored
2 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
change chunkSizeLim from to 1m to 16m
parent
fe6571f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!42
Develop
,
!39
M214003/develop
Pipeline
#31378
passed
2 years ago
Stage: external
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-1
2 additions, 1 deletion
ChangeLog
src/cdf_write.c
+6
-3
6 additions, 3 deletions
src/cdf_write.c
with
8 additions
and
4 deletions
ChangeLog
+
2
−
1
View file @
2c101f72
...
...
@@ -5,6 +5,7 @@
2023-03-13 Uwe Schulzweida
* set chunkSizeMin to 256k
* change chunkSizeLim from to 1m to 16m
2023-03-02 Uwe Schulzweida
...
...
@@ -19,7 +20,7 @@
2023-02-05 Uwe Schulzweida
* changed chunkSizeLim from 16
777216 to 1048576
* changed chunkSizeLim from 16
m to 1m
* NetCDF: added query support for grid cells
2023-02-02 Uwe Schulzweida
...
...
This diff is collapsed.
Click to expand it.
src/cdf_write.c
+
6
−
3
View file @
2c101f72
...
...
@@ -13,7 +13,7 @@
#include
"vlist.h"
#include
"vlist_var.h"
//#include <netcdf_filter.h>
//
#include <netcdf_filter.h>
void
cdf_def_var_filter
(
int
ncid
,
int
ncvarID
,
unsigned
int
id
,
size_t
nparams
,
const
unsigned
int
*
params
)
...
...
@@ -76,6 +76,9 @@ cdfDefVarSzip(int ncid, int ncvarID, int pixels_per_block)
if
((
status
=
nc_def_var_szip
(
ncid
,
ncvarID
,
options_mask
,
pixels_per_block
)))
Error
(
"nc_def_var_szip failed; %s"
,
nc_strerror
(
status
));
#else
(
void
)
ncid
;
(
void
)
ncvarID
;
(
void
)
pixels_per_block
;
static
bool
lwarn
=
true
;
if
(
lwarn
)
{
...
...
@@ -703,8 +706,8 @@ calc_chunksize(size_t chunkSizeLim, size_t size)
return
chunkSize
;
}
static
const
size_t
chunkSizeMin
=
262144
;
static
const
size_t
chunkSizeLim
=
1
048576
;
static
const
size_t
chunkSizeMin
=
262144
;
// 256k
static
const
size_t
chunkSizeLim
=
1
6777216
;
// 16m
size_t
calc_chunksize_y
(
int
chunkType
,
size_t
gridsize
,
size_t
xsize
,
size_t
ysize
)
...
...
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