Skip to content

Commit

Permalink
set the attribute chunksize as passed in, not zero (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
gillins committed Sep 20, 2021
1 parent 352342e commit 40044c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libkea/KEAImageIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3400,7 +3400,7 @@ namespace kealib{
keaImgH5File->createGroup( bandName+KEA_ATT_GROUPNAME_HEADER );

// SET ATTRIBUTE TABLE CHUNK SIZE
int attChunkSize = 0;
int attChunkSize = attBlockSize;
hsize_t dimsAttChunkSize[] = { 1 };
H5::DataSpace attChunkSizeDataSpace(1, dimsAttChunkSize);
H5::DataSet attChunkSizeDataset = keaImgH5File->createDataSet((bandName+KEA_ATT_CHUNKSIZE_HEADER), H5::PredType::STD_U64LE, attChunkSizeDataSpace);
Expand Down

0 comments on commit 40044c7

Please sign in to comment.