mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Add bitgroom filter support (#5514)
* Add support for bitgroom filter * Add settings for bitround remove unused settings
This commit is contained in:
@@ -32,6 +32,14 @@ else ()
|
||||
set (BLOSC_AVAILABLE 0)
|
||||
endif ()
|
||||
|
||||
option (ENABLE_BITGROOM "Enable Library Building for bitgroom plugin" ON)
|
||||
if (ENABLE_BITGROOM)
|
||||
set (BITGROOM_AVAILABLE 1)
|
||||
set (dyn_examples ${dyn_examples} h5ex_d_bitgroom)
|
||||
else ()
|
||||
set (BITGROOM_AVAILABLE 0)
|
||||
endif ()
|
||||
|
||||
option (ENABLE_BSHUF "Enable Library Building for bshuf plugin" ON)
|
||||
if (ENABLE_BSHUF)
|
||||
if (NOT CMAKE_C_COMPILER_ID STREQUAL "Intel")
|
||||
|
||||
@@ -0,0 +1,239 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of the HDF5 BitGroom filter plugin source. The full *
|
||||
* copyright notice, including terms governing use, modification, and *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the file COPYING, which can be found at the root of the BITGROOM source code *
|
||||
* distribution tree. If you do not have access to this file, you may *
|
||||
* request a copy from help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
/************************************************************
|
||||
|
||||
This example shows how to write data and read it from a dataset
|
||||
using BitGroom quantization.
|
||||
The BitGroom filter is not available by default in HDF5.
|
||||
The example uses a new feature available in HDF5 version 1.8.11
|
||||
to discover, load and register filters at run time.
|
||||
|
||||
************************************************************/
|
||||
#include "hdf5.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define FILE "h5ex_d_bitgroom.h5"
|
||||
#define DATASET "DS1"
|
||||
#define DIM0 32
|
||||
#define DIM1 64
|
||||
#define CHUNK0 4
|
||||
#define CHUNK1 8
|
||||
#define H5Z_FILTER_BITGROOM 32022
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
hid_t file_id = -1; /* Handles */
|
||||
hid_t space_id = -1; /* Handles */
|
||||
hid_t dset_id = -1; /* Handles */
|
||||
hid_t dcpl_id = -1; /* Handles */
|
||||
herr_t status;
|
||||
htri_t avail;
|
||||
H5Z_filter_t filter_id = 0;
|
||||
char filter_name[80];
|
||||
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
|
||||
size_t nelmts = 5;
|
||||
/* number of elements in cd_values */ /* NB: Must equal H5Zbitgroom.c: CCR_FLT_PRM_NBR */
|
||||
unsigned int flags;
|
||||
unsigned filter_config;
|
||||
const unsigned int cd_values[5] = {
|
||||
3, 4, 0, 0, 0}; /* BitGroom argument ordering is
|
||||
NSD,sizeof(data),has_mss_val,mss_val_byt_1to4[,mss_val_byt_5to8] */
|
||||
unsigned int values_out[5] = {99, 99, 99, 99, 99};
|
||||
float wdata[DIM0][DIM1], /* Write buffer */
|
||||
rdata[DIM0][DIM1], /* Read buffer */
|
||||
max;
|
||||
hsize_t i, j;
|
||||
int ret_value = 1;
|
||||
|
||||
/*
|
||||
* Initialize data.
|
||||
*/
|
||||
for (i = 0; i < DIM0; i++)
|
||||
for (j = 0; j < DIM1; j++)
|
||||
wdata[i][j] = i * j - j;
|
||||
|
||||
/*
|
||||
* Create a new file using the default properties.
|
||||
*/
|
||||
file_id = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
|
||||
if (file_id < 0)
|
||||
goto done;
|
||||
|
||||
/*
|
||||
* Create dataspace. Setting maximum size to NULL sets the maximum
|
||||
* size to be the current size.
|
||||
*/
|
||||
space_id = H5Screate_simple(2, dims, NULL);
|
||||
if (space_id < 0)
|
||||
goto done;
|
||||
|
||||
/*
|
||||
* Create the dataset creation property list, add the BitGroom
|
||||
* quantization filter and set the chunk size.
|
||||
*/
|
||||
dcpl_id = H5Pcreate(H5P_DATASET_CREATE);
|
||||
if (dcpl_id < 0)
|
||||
goto done;
|
||||
|
||||
/* 20200929: csz change this to H5Z_FLAG_OPTIONAL, so that can_apply() can reject filter for
|
||||
integers without causing program to exit()? */
|
||||
status = H5Pset_filter(dcpl_id, H5Z_FILTER_BITGROOM, H5Z_FLAG_MANDATORY, nelmts, cd_values);
|
||||
if (status < 0)
|
||||
goto done;
|
||||
|
||||
/*
|
||||
* Check that filter is registered with the library now.
|
||||
* If it is registered, retrieve filter's configuration.
|
||||
*/
|
||||
avail = H5Zfilter_avail(H5Z_FILTER_BITGROOM);
|
||||
if (avail) {
|
||||
status = H5Zget_filter_info(H5Z_FILTER_BITGROOM, &filter_config);
|
||||
if ((filter_config & H5Z_FILTER_CONFIG_ENCODE_ENABLED) &&
|
||||
(filter_config & H5Z_FILTER_CONFIG_DECODE_ENABLED))
|
||||
printf("BitGroom filter is available for quantization and decoding.\n");
|
||||
}
|
||||
else {
|
||||
printf("H5Zfilter_avail - not found.\n");
|
||||
goto done;
|
||||
}
|
||||
status = H5Pset_chunk(dcpl_id, 2, chunk);
|
||||
if (status < 0)
|
||||
printf("failed to set chunk.\n");
|
||||
|
||||
/*
|
||||
* Create the dataset.
|
||||
*/
|
||||
printf("....Create dataset ................\n");
|
||||
dset_id = H5Dcreate(file_id, DATASET, H5T_IEEE_F32LE, space_id, H5P_DEFAULT, dcpl_id, H5P_DEFAULT);
|
||||
if (dset_id < 0) {
|
||||
printf("failed to create dataset.\n");
|
||||
goto done;
|
||||
}
|
||||
|
||||
/*
|
||||
* Write the data to the dataset.
|
||||
*/
|
||||
printf("....Writing BitGroom-quantized data ................\n");
|
||||
// status = H5Dwrite (dset_id, H5T_NATIVE_FLOAT, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata[0]);
|
||||
status = H5Dwrite(dset_id, H5T_NATIVE_FLOAT, H5S_ALL, H5S_ALL, H5P_DEFAULT, (void *)wdata);
|
||||
if (status < 0)
|
||||
printf("failed to write data.\n");
|
||||
|
||||
/*
|
||||
* Close and release resources.
|
||||
*/
|
||||
H5Dclose(dset_id);
|
||||
dset_id = -1;
|
||||
H5Pclose(dcpl_id);
|
||||
dcpl_id = -1;
|
||||
H5Sclose(space_id);
|
||||
space_id = -1;
|
||||
H5Fclose(file_id);
|
||||
file_id = -1;
|
||||
status = H5close();
|
||||
if (status < 0) {
|
||||
printf("/nFAILED to close library/n");
|
||||
goto done;
|
||||
}
|
||||
|
||||
printf("....Close the file and reopen for reading ........\n");
|
||||
/*
|
||||
* Now we begin the read section of this example.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Open file and dataset using the default properties.
|
||||
*/
|
||||
file_id = H5Fopen(FILE, H5F_ACC_RDONLY, H5P_DEFAULT);
|
||||
if (file_id < 0)
|
||||
goto done;
|
||||
|
||||
dset_id = H5Dopen(file_id, DATASET, H5P_DEFAULT);
|
||||
if (dset_id < 0)
|
||||
goto done;
|
||||
|
||||
/*
|
||||
* Retrieve dataset creation property list.
|
||||
*/
|
||||
dcpl_id = H5Dget_create_plist(dset_id);
|
||||
if (dcpl_id < 0)
|
||||
goto done;
|
||||
|
||||
/*
|
||||
* Retrieve and print the filter id, quantization level and filter's name for BitGroom.
|
||||
*/
|
||||
filter_id = H5Pget_filter2(dcpl_id, (unsigned)0, &flags, &nelmts, values_out, sizeof(filter_name),
|
||||
filter_name, NULL);
|
||||
printf("Filter info is available from the dataset creation property \n ");
|
||||
printf(" Filter identifier is ");
|
||||
switch (filter_id) {
|
||||
case H5Z_FILTER_BITGROOM:
|
||||
printf("%d\n", filter_id);
|
||||
printf(" Number of parameters is %lu with the values %u, %u, %u, %u, %u\n", nelmts,
|
||||
values_out[0], values_out[1], values_out[2], values_out[3], values_out[4]);
|
||||
printf(" To find more about the filter check %s\n", filter_name);
|
||||
break;
|
||||
default:
|
||||
printf("Not expected filter\n");
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* Read the data using the default properties.
|
||||
*/
|
||||
printf("....Reading BitGroom-quantized data ................\n");
|
||||
status = H5Dread(dset_id, H5T_NATIVE_FLOAT, H5S_ALL, H5S_ALL, H5P_DEFAULT, rdata[0]);
|
||||
if (status < 0)
|
||||
printf("failed to read data.\n");
|
||||
|
||||
/*
|
||||
* Find the maximum value in the dataset, to verify that it was
|
||||
* read correctly.
|
||||
*/
|
||||
max = rdata[0][0];
|
||||
for (i = 0; i < DIM0; i++)
|
||||
for (j = 0; j < DIM1; j++) {
|
||||
/*printf("%d \n", rdata[i][j]); */
|
||||
if (max < rdata[i][j])
|
||||
max = rdata[i][j];
|
||||
}
|
||||
/*
|
||||
* Print the maximum value.
|
||||
*/
|
||||
printf("Maximum value in %s is %g\n", DATASET, max);
|
||||
/*
|
||||
* Check that filter is registered with the library now.
|
||||
*/
|
||||
avail = H5Zfilter_avail(H5Z_FILTER_BITGROOM);
|
||||
if (avail)
|
||||
printf("BitGroom filter is available now since H5Dread triggered loading of the filter.\n");
|
||||
|
||||
ret_value = 0;
|
||||
|
||||
done:
|
||||
/*
|
||||
* Close and release resources.
|
||||
*/
|
||||
if (dcpl_id >= 0)
|
||||
H5Pclose(dcpl_id);
|
||||
if (dset_id >= 0)
|
||||
H5Dclose(dset_id);
|
||||
if (space_id >= 0)
|
||||
H5Sclose(space_id);
|
||||
if (file_id >= 0)
|
||||
H5Fclose(file_id);
|
||||
|
||||
return ret_value;
|
||||
}
|
||||
@@ -0,0 +1,287 @@
|
||||
HDF5 "h5ex_d_bitgroom.h5" {
|
||||
GROUP "/" {
|
||||
DATASET "DS1" {
|
||||
DATATYPE H5T_IEEE_F32LE
|
||||
DATASPACE SIMPLE { ( 32, 64 ) / ( 32, 64 ) }
|
||||
STORAGE_LAYOUT {
|
||||
CHUNKED ( 4, 8 )
|
||||
SIZE 8192 (1.000:1 COMPRESSION)
|
||||
}
|
||||
FILTERS {
|
||||
USER_DEFINED_FILTER {
|
||||
FILTER_ID 32022
|
||||
COMMENT BitGroom filter (Zender, 2016 GMD: http://www.geosci-model-dev.net/9/3199/2016)
|
||||
PARAMS { 3 4 0 0 0 }
|
||||
}
|
||||
}
|
||||
FILLVALUE {
|
||||
FILL_TIME H5D_FILL_TIME_IFSET
|
||||
VALUE H5D_FILL_VALUE_DEFAULT
|
||||
}
|
||||
ALLOCATION_TIME {
|
||||
H5D_ALLOC_TIME_INCR
|
||||
}
|
||||
DATA {
|
||||
(0,0): 0, 1.84557e+19, 1.84467e+19, 1.84557e+19, 1.84467e+19,
|
||||
(0,5): 1.84557e+19, 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,10): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,14): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,18): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,22): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,26): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,30): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,34): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,38): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,42): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,46): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,50): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,54): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,58): 1.84467e+19, 1.84557e+19, 1.84467e+19, 1.84557e+19,
|
||||
(0,62): 1.84467e+19, 1.84557e+19,
|
||||
(1,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
(1,21): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
(1,42): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
(1,63): 0,
|
||||
(2,0): 0, 1.00049, 2, 3.00098, 4, 5.00195, 6, 7.00195, 8, 9.00391, 10,
|
||||
(2,11): 11.0039, 12, 13.0039, 14, 15.0039, 16, 17.0078, 18, 19.0078,
|
||||
(2,20): 20, 21.0078, 22, 23.0078, 24, 25.0078, 26, 27.0078, 28,
|
||||
(2,29): 29.0078, 30, 31.0078, 32, 33.0156, 34, 35.0156, 36, 37.0156,
|
||||
(2,38): 38, 39.0156, 40, 41.0156, 42, 43.0156, 44, 45.0156, 46,
|
||||
(2,47): 47.0156, 48, 49.0156, 50, 51.0156, 52, 53.0156, 54, 55.0156,
|
||||
(2,56): 56, 57.0156, 58, 59.0156, 60, 61.0156, 62, 63.0156,
|
||||
(3,0): 0, 2.00098, 4, 6.00195, 8, 10.0039, 12, 14.0039, 16, 18.0078,
|
||||
(3,10): 20, 22.0078, 24, 26.0078, 28, 30.0078, 32, 34.0156, 36,
|
||||
(3,19): 38.0156, 40, 42.0156, 44, 46.0156, 48, 50.0156, 52, 54.0156,
|
||||
(3,28): 56, 58.0156, 60, 62.0156, 64, 66.0312, 68, 70.0312, 72,
|
||||
(3,37): 74.0312, 76, 78.0312, 80, 82.0312, 84, 86.0312, 88, 90.0312,
|
||||
(3,46): 92, 94.0312, 96, 98.0312, 100, 102.031, 104, 106.031, 108,
|
||||
(3,55): 110.031, 112, 114.031, 116, 118.031, 120, 122.031, 124,
|
||||
(3,63): 126.031,
|
||||
(4,0): 0, 3.00098, 6, 9.00391, 12, 15.0039, 18, 21.0078, 24, 27.0078,
|
||||
(4,10): 30, 33.0156, 36, 39.0156, 42, 45.0156, 48, 51.0156, 54,
|
||||
(4,19): 57.0156, 60, 63.0156, 66, 69.0312, 72, 75.0312, 78, 81.0312,
|
||||
(4,28): 84, 87.0312, 90, 93.0312, 96, 99.0312, 102, 105.031, 108,
|
||||
(4,37): 111.031, 114, 117.031, 120, 123.031, 126, 129.062, 132,
|
||||
(4,45): 135.062, 138, 141.062, 144, 147.062, 150, 153.062, 156,
|
||||
(4,53): 159.062, 162, 165.062, 168, 171.062, 174, 177.062, 180,
|
||||
(4,61): 183.062, 186, 189.062,
|
||||
(5,0): 0, 4.00195, 8, 12.0039, 16, 20.0078, 24, 28.0078, 32, 36.0156,
|
||||
(5,10): 40, 44.0156, 48, 52.0156, 56, 60.0156, 64, 68.0312, 72,
|
||||
(5,19): 76.0312, 80, 84.0312, 88, 92.0312, 96, 100.031, 104, 108.031,
|
||||
(5,28): 112, 116.031, 120, 124.031, 128, 132.062, 136, 140.062, 144,
|
||||
(5,37): 148.062, 152, 156.062, 160, 164.062, 168, 172.062, 176,
|
||||
(5,45): 180.062, 184, 188.062, 192, 196.062, 200, 204.062, 208,
|
||||
(5,53): 212.062, 216, 220.062, 224, 228.062, 232, 236.062, 240,
|
||||
(5,61): 244.062, 248, 252.062,
|
||||
(6,0): 0, 5.00195, 10, 15.0039, 20, 25.0078, 30, 35.0156, 40, 45.0156,
|
||||
(6,10): 50, 55.0156, 60, 65.0312, 70, 75.0312, 80, 85.0312, 90,
|
||||
(6,19): 95.0312, 100, 105.031, 110, 115.031, 120, 125.031, 130,
|
||||
(6,27): 135.062, 140, 145.062, 150, 155.062, 160, 165.062, 170,
|
||||
(6,35): 175.062, 180, 185.062, 190, 195.062, 200, 205.062, 210,
|
||||
(6,43): 215.062, 220, 225.062, 230, 235.062, 240, 245.062, 250,
|
||||
(6,51): 255.062, 260, 265.125, 270, 275.125, 280, 285.125, 290,
|
||||
(6,59): 295.125, 300, 305.125, 310, 315.125,
|
||||
(7,0): 0, 6.00195, 12, 18.0078, 24, 30.0078, 36, 42.0156, 48, 54.0156,
|
||||
(7,10): 60, 66.0312, 72, 78.0312, 84, 90.0312, 96, 102.031, 108,
|
||||
(7,19): 114.031, 120, 126.031, 132, 138.062, 144, 150.062, 156,
|
||||
(7,27): 162.062, 168, 174.062, 180, 186.062, 192, 198.062, 204,
|
||||
(7,35): 210.062, 216, 222.062, 228, 234.062, 240, 246.062, 252,
|
||||
(7,43): 258.125, 264, 270.125, 276, 282.125, 288, 294.125, 300,
|
||||
(7,51): 306.125, 312, 318.125, 324, 330.125, 336, 342.125, 348,
|
||||
(7,59): 354.125, 360, 366.125, 372, 378.125,
|
||||
(8,0): 0, 7.00195, 14, 21.0078, 28, 35.0156, 42, 49.0156, 56, 63.0156,
|
||||
(8,10): 70, 77.0312, 84, 91.0312, 98, 105.031, 112, 119.031, 126,
|
||||
(8,19): 133.062, 140, 147.062, 154, 161.062, 168, 175.062, 182,
|
||||
(8,27): 189.062, 196, 203.062, 210, 217.062, 224, 231.062, 238,
|
||||
(8,35): 245.062, 252, 259.125, 266, 273.125, 280, 287.125, 294,
|
||||
(8,43): 301.125, 308, 315.125, 322, 329.125, 336, 343.125, 350,
|
||||
(8,51): 357.125, 364, 371.125, 378, 385.125, 392, 399.125, 406,
|
||||
(8,59): 413.125, 420, 427.125, 434, 441.125,
|
||||
(9,0): 0, 8.00391, 16, 24.0078, 32, 40.0156, 48, 56.0156, 64, 72.0312,
|
||||
(9,10): 80, 88.0312, 96, 104.031, 112, 120.031, 128, 136.062, 144,
|
||||
(9,19): 152.062, 160, 168.062, 176, 184.062, 192, 200.062, 208,
|
||||
(9,27): 216.062, 224, 232.062, 240, 248.062, 256, 264.125, 272,
|
||||
(9,35): 280.125, 288, 296.125, 304, 312.125, 320, 328.125, 336,
|
||||
(9,43): 344.125, 352, 360.125, 368, 376.125, 384, 392.125, 400,
|
||||
(9,51): 408.125, 416, 424.125, 432, 440.125, 448, 456.125, 464,
|
||||
(9,59): 472.125, 480, 488.125, 496, 504.125,
|
||||
(10,0): 0, 9.00391, 18, 27.0078, 36, 45.0156, 54, 63.0156, 72, 81.0312,
|
||||
(10,10): 90, 99.0312, 108, 117.031, 126, 135.062, 144, 153.062, 162,
|
||||
(10,19): 171.062, 180, 189.062, 198, 207.062, 216, 225.062, 234,
|
||||
(10,27): 243.062, 252, 261.125, 270, 279.125, 288, 297.125, 306,
|
||||
(10,35): 315.125, 324, 333.125, 342, 351.125, 360, 369.125, 378,
|
||||
(10,43): 387.125, 396, 405.125, 414, 423.125, 432, 441.125, 450,
|
||||
(10,51): 459.125, 468, 477.125, 486, 495.125, 504, 513.25, 522, 531.25,
|
||||
(10,60): 540, 549.25, 558, 567.25,
|
||||
(11,0): 0, 10.0039, 20, 30.0078, 40, 50.0156, 60, 70.0312, 80, 90.0312,
|
||||
(11,10): 100, 110.031, 120, 130.062, 140, 150.062, 160, 170.062, 180,
|
||||
(11,19): 190.062, 200, 210.062, 220, 230.062, 240, 250.062, 260,
|
||||
(11,27): 270.125, 280, 290.125, 300, 310.125, 320, 330.125, 340,
|
||||
(11,35): 350.125, 360, 370.125, 380, 390.125, 400, 410.125, 420,
|
||||
(11,43): 430.125, 440, 450.125, 460, 470.125, 480, 490.125, 500,
|
||||
(11,51): 510.125, 520, 530.25, 540, 550.25, 560, 570.25, 580, 590.25,
|
||||
(11,60): 600, 610.25, 620, 630.25,
|
||||
(12,0): 0, 11.0039, 22, 33.0156, 44, 55.0156, 66, 77.0312, 88, 99.0312,
|
||||
(12,10): 110, 121.031, 132, 143.062, 154, 165.062, 176, 187.062, 198,
|
||||
(12,19): 209.062, 220, 231.062, 242, 253.062, 264, 275.125, 286,
|
||||
(12,27): 297.125, 308, 319.125, 330, 341.125, 352, 363.125, 374,
|
||||
(12,35): 385.125, 396, 407.125, 418, 429.125, 440, 451.125, 462,
|
||||
(12,43): 473.125, 484, 495.125, 506, 517.25, 528, 539.25, 550, 561.25,
|
||||
(12,52): 572, 583.25, 594, 605.25, 616, 627.25, 638, 649.25, 660,
|
||||
(12,61): 671.25, 682, 693.25,
|
||||
(13,0): 0, 12.0039, 24, 36.0156, 48, 60.0156, 72, 84.0312, 96, 108.031,
|
||||
(13,10): 120, 132.062, 144, 156.062, 168, 180.062, 192, 204.062, 216,
|
||||
(13,19): 228.062, 240, 252.062, 264, 276.125, 288, 300.125, 312,
|
||||
(13,27): 324.125, 336, 348.125, 360, 372.125, 384, 396.125, 408,
|
||||
(13,35): 420.125, 432, 444.125, 456, 468.125, 480, 492.125, 504,
|
||||
(13,43): 516.25, 528, 540.25, 552, 564.25, 576, 588.25, 600, 612.25,
|
||||
(13,52): 624, 636.25, 648, 660.25, 672, 684.25, 696, 708.25, 720,
|
||||
(13,61): 732.25, 744, 756.25,
|
||||
(14,0): 0, 13.0039, 26, 39.0156, 52, 65.0312, 78, 91.0312, 104,
|
||||
(14,9): 117.031, 130, 143.062, 156, 169.062, 182, 195.062, 208,
|
||||
(14,17): 221.062, 234, 247.062, 260, 273.125, 286, 299.125, 312,
|
||||
(14,25): 325.125, 338, 351.125, 364, 377.125, 390, 403.125, 416,
|
||||
(14,33): 429.125, 442, 455.125, 468, 481.125, 494, 507.125, 520,
|
||||
(14,41): 533.25, 546, 559.25, 572, 585.25, 598, 611.25, 624, 637.25,
|
||||
(14,50): 650, 663.25, 676, 689.25, 702, 715.25, 728, 741.25, 754,
|
||||
(14,59): 767.25, 780, 793.25, 806, 819.25,
|
||||
(15,0): 0, 14.0039, 28, 42.0156, 56, 70.0312, 84, 98.0312, 112,
|
||||
(15,9): 126.031, 140, 154.062, 168, 182.062, 196, 210.062, 224,
|
||||
(15,17): 238.062, 252, 266.125, 280, 294.125, 308, 322.125, 336,
|
||||
(15,25): 350.125, 364, 378.125, 392, 406.125, 420, 434.125, 448,
|
||||
(15,33): 462.125, 476, 490.125, 504, 518.25, 532, 546.25, 560, 574.25,
|
||||
(15,42): 588, 602.25, 616, 630.25, 644, 658.25, 672, 686.25, 700,
|
||||
(15,51): 714.25, 728, 742.25, 756, 770.25, 784, 798.25, 812, 826.25,
|
||||
(15,60): 840, 854.25, 868, 882.25,
|
||||
(16,0): 0, 15.0039, 30, 45.0156, 60, 75.0312, 90, 105.031, 120,
|
||||
(16,9): 135.062, 150, 165.062, 180, 195.062, 210, 225.062, 240,
|
||||
(16,17): 255.062, 270, 285.125, 300, 315.125, 330, 345.125, 360,
|
||||
(16,25): 375.125, 390, 405.125, 420, 435.125, 450, 465.125, 480,
|
||||
(16,33): 495.125, 510, 525.25, 540, 555.25, 570, 585.25, 600, 615.25,
|
||||
(16,42): 630, 645.25, 660, 675.25, 690, 705.25, 720, 735.25, 750,
|
||||
(16,51): 765.25, 780, 795.25, 810, 825.25, 840, 855.25, 870, 885.25,
|
||||
(16,60): 900, 915.25, 930, 945.25,
|
||||
(17,0): 0, 16.0078, 32, 48.0156, 64, 80.0312, 96, 112.031, 128,
|
||||
(17,9): 144.062, 160, 176.062, 192, 208.062, 224, 240.062, 256,
|
||||
(17,17): 272.125, 288, 304.125, 320, 336.125, 352, 368.125, 384,
|
||||
(17,25): 400.125, 416, 432.125, 448, 464.125, 480, 496.125, 512,
|
||||
(17,33): 528.25, 544, 560.25, 576, 592.25, 608, 624.25, 640, 656.25,
|
||||
(17,42): 672, 688.25, 704, 720.25, 736, 752.25, 768, 784.25, 800,
|
||||
(17,51): 816.25, 832, 848.25, 864, 880.25, 896, 912.25, 928, 944.25,
|
||||
(17,60): 960, 976.25, 992, 1008.25,
|
||||
(18,0): 0, 17.0078, 34, 51.0156, 68, 85.0312, 102, 119.031, 136,
|
||||
(18,9): 153.062, 170, 187.062, 204, 221.062, 238, 255.062, 272,
|
||||
(18,17): 289.125, 306, 323.125, 340, 357.125, 374, 391.125, 408,
|
||||
(18,25): 425.125, 442, 459.125, 476, 493.125, 510, 527.25, 544, 561.25,
|
||||
(18,34): 578, 595.25, 612, 629.25, 646, 663.25, 680, 697.25, 714,
|
||||
(18,43): 731.25, 748, 765.25, 782, 799.25, 816, 833.25, 850, 867.25,
|
||||
(18,52): 884, 901.25, 918, 935.25, 952, 969.25, 986, 1003.25, 1020,
|
||||
(18,61): 1037.5, 1054, 1071.5,
|
||||
(19,0): 0, 18.0078, 36, 54.0156, 72, 90.0312, 108, 126.031, 144,
|
||||
(19,9): 162.062, 180, 198.062, 216, 234.062, 252, 270.125, 288,
|
||||
(19,17): 306.125, 324, 342.125, 360, 378.125, 396, 414.125, 432,
|
||||
(19,25): 450.125, 468, 486.125, 504, 522.25, 540, 558.25, 576, 594.25,
|
||||
(19,34): 612, 630.25, 648, 666.25, 684, 702.25, 720, 738.25, 756,
|
||||
(19,43): 774.25, 792, 810.25, 828, 846.25, 864, 882.25, 900, 918.25,
|
||||
(19,52): 936, 954.25, 972, 990.25, 1008, 1026.5, 1044, 1062.5, 1080,
|
||||
(19,61): 1098.5, 1116, 1134.5,
|
||||
(20,0): 0, 19.0078, 38, 57.0156, 76, 95.0312, 114, 133.062, 152,
|
||||
(20,9): 171.062, 190, 209.062, 228, 247.062, 266, 285.125, 304,
|
||||
(20,17): 323.125, 342, 361.125, 380, 399.125, 418, 437.125, 456,
|
||||
(20,25): 475.125, 494, 513.25, 532, 551.25, 570, 589.25, 608, 627.25,
|
||||
(20,34): 646, 665.25, 684, 703.25, 722, 741.25, 760, 779.25, 798,
|
||||
(20,43): 817.25, 836, 855.25, 874, 893.25, 912, 931.25, 950, 969.25,
|
||||
(20,52): 988, 1007.25, 1026, 1045.5, 1064, 1083.5, 1102, 1121.5, 1140,
|
||||
(20,61): 1159.5, 1178, 1197.5,
|
||||
(21,0): 0, 20.0078, 40, 60.0156, 80, 100.031, 120, 140.062, 160,
|
||||
(21,9): 180.062, 200, 220.062, 240, 260.125, 280, 300.125, 320,
|
||||
(21,17): 340.125, 360, 380.125, 400, 420.125, 440, 460.125, 480,
|
||||
(21,25): 500.125, 520, 540.25, 560, 580.25, 600, 620.25, 640, 660.25,
|
||||
(21,34): 680, 700.25, 720, 740.25, 760, 780.25, 800, 820.25, 840,
|
||||
(21,43): 860.25, 880, 900.25, 920, 940.25, 960, 980.25, 1000, 1020.25,
|
||||
(21,52): 1040, 1060.5, 1080, 1100.5, 1120, 1140.5, 1160, 1180.5, 1200,
|
||||
(21,61): 1220.5, 1240, 1260.5,
|
||||
(22,0): 0, 21.0078, 42, 63.0156, 84, 105.031, 126, 147.062, 168,
|
||||
(22,9): 189.062, 210, 231.062, 252, 273.125, 294, 315.125, 336,
|
||||
(22,17): 357.125, 378, 399.125, 420, 441.125, 462, 483.125, 504,
|
||||
(22,25): 525.25, 546, 567.25, 588, 609.25, 630, 651.25, 672, 693.25,
|
||||
(22,34): 714, 735.25, 756, 777.25, 798, 819.25, 840, 861.25, 882,
|
||||
(22,43): 903.25, 924, 945.25, 966, 987.25, 1008, 1029.5, 1050, 1071.5,
|
||||
(22,52): 1092, 1113.5, 1134, 1155.5, 1176, 1197.5, 1218, 1239.5, 1260,
|
||||
(22,61): 1281.5, 1302, 1323.5,
|
||||
(23,0): 0, 22.0078, 44, 66.0312, 88, 110.031, 132, 154.062, 176,
|
||||
(23,9): 198.062, 220, 242.062, 264, 286.125, 308, 330.125, 352,
|
||||
(23,17): 374.125, 396, 418.125, 440, 462.125, 484, 506.125, 528,
|
||||
(23,25): 550.25, 572, 594.25, 616, 638.25, 660, 682.25, 704, 726.25,
|
||||
(23,34): 748, 770.25, 792, 814.25, 836, 858.25, 880, 902.25, 924,
|
||||
(23,43): 946.25, 968, 990.25, 1012, 1034.5, 1056, 1078.5, 1100, 1122.5,
|
||||
(23,52): 1144, 1166.5, 1188, 1210.5, 1232, 1254.5, 1276, 1298.5, 1320,
|
||||
(23,61): 1342.5, 1364, 1386.5,
|
||||
(24,0): 0, 23.0078, 46, 69.0312, 92, 115.031, 138, 161.062, 184,
|
||||
(24,9): 207.062, 230, 253.062, 276, 299.125, 322, 345.125, 368,
|
||||
(24,17): 391.125, 414, 437.125, 460, 483.125, 506, 529.25, 552, 575.25,
|
||||
(24,26): 598, 621.25, 644, 667.25, 690, 713.25, 736, 759.25, 782,
|
||||
(24,35): 805.25, 828, 851.25, 874, 897.25, 920, 943.25, 966, 989.25,
|
||||
(24,44): 1012, 1035.5, 1058, 1081.5, 1104, 1127.5, 1150, 1173.5, 1196,
|
||||
(24,53): 1219.5, 1242, 1265.5, 1288, 1311.5, 1334, 1357.5, 1380,
|
||||
(24,61): 1403.5, 1426, 1449.5,
|
||||
(25,0): 0, 24.0078, 48, 72.0312, 96, 120.031, 144, 168.062, 192,
|
||||
(25,9): 216.062, 240, 264.125, 288, 312.125, 336, 360.125, 384,
|
||||
(25,17): 408.125, 432, 456.125, 480, 504.125, 528, 552.25, 576, 600.25,
|
||||
(25,26): 624, 648.25, 672, 696.25, 720, 744.25, 768, 792.25, 816,
|
||||
(25,35): 840.25, 864, 888.25, 912, 936.25, 960, 984.25, 1008, 1032.5,
|
||||
(25,44): 1056, 1080.5, 1104, 1128.5, 1152, 1176.5, 1200, 1224.5, 1248,
|
||||
(25,53): 1272.5, 1296, 1320.5, 1344, 1368.5, 1392, 1416.5, 1440,
|
||||
(25,61): 1464.5, 1488, 1512.5,
|
||||
(26,0): 0, 25.0078, 50, 75.0312, 100, 125.031, 150, 175.062, 200,
|
||||
(26,9): 225.062, 250, 275.125, 300, 325.125, 350, 375.125, 400,
|
||||
(26,17): 425.125, 450, 475.125, 500, 525.25, 550, 575.25, 600, 625.25,
|
||||
(26,26): 650, 675.25, 700, 725.25, 750, 775.25, 800, 825.25, 850,
|
||||
(26,35): 875.25, 900, 925.25, 950, 975.25, 1000, 1025.5, 1050, 1075.5,
|
||||
(26,44): 1100, 1125.5, 1150, 1175.5, 1200, 1225.5, 1250, 1275.5, 1300,
|
||||
(26,53): 1325.5, 1350, 1375.5, 1400, 1425.5, 1450, 1475.5, 1500,
|
||||
(26,61): 1525.5, 1550, 1575.5,
|
||||
(27,0): 0, 26.0078, 52, 78.0312, 104, 130.062, 156, 182.062, 208,
|
||||
(27,9): 234.062, 260, 286.125, 312, 338.125, 364, 390.125, 416,
|
||||
(27,17): 442.125, 468, 494.125, 520, 546.25, 572, 598.25, 624, 650.25,
|
||||
(27,26): 676, 702.25, 728, 754.25, 780, 806.25, 832, 858.25, 884,
|
||||
(27,35): 910.25, 936, 962.25, 988, 1014.25, 1040, 1066.5, 1092, 1118.5,
|
||||
(27,44): 1144, 1170.5, 1196, 1222.5, 1248, 1274.5, 1300, 1326.5, 1352,
|
||||
(27,53): 1378.5, 1404, 1430.5, 1456, 1482.5, 1508, 1534.5, 1560,
|
||||
(27,61): 1586.5, 1612, 1638.5,
|
||||
(28,0): 0, 27.0078, 54, 81.0312, 108, 135.062, 162, 189.062, 216,
|
||||
(28,9): 243.062, 270, 297.125, 324, 351.125, 378, 405.125, 432,
|
||||
(28,17): 459.125, 486, 513.25, 540, 567.25, 594, 621.25, 648, 675.25,
|
||||
(28,26): 702, 729.25, 756, 783.25, 810, 837.25, 864, 891.25, 918,
|
||||
(28,35): 945.25, 972, 999.25, 1026, 1053.5, 1080, 1107.5, 1134, 1161.5,
|
||||
(28,44): 1188, 1215.5, 1242, 1269.5, 1296, 1323.5, 1350, 1377.5, 1404,
|
||||
(28,53): 1431.5, 1458, 1485.5, 1512, 1539.5, 1566, 1593.5, 1620,
|
||||
(28,61): 1647.5, 1674, 1701.5,
|
||||
(29,0): 0, 28.0078, 56, 84.0312, 112, 140.062, 168, 196.062, 224,
|
||||
(29,9): 252.062, 280, 308.125, 336, 364.125, 392, 420.125, 448,
|
||||
(29,17): 476.125, 504, 532.25, 560, 588.25, 616, 644.25, 672, 700.25,
|
||||
(29,26): 728, 756.25, 784, 812.25, 840, 868.25, 896, 924.25, 952,
|
||||
(29,35): 980.25, 1008, 1036.5, 1064, 1092.5, 1120, 1148.5, 1176,
|
||||
(29,43): 1204.5, 1232, 1260.5, 1288, 1316.5, 1344, 1372.5, 1400,
|
||||
(29,51): 1428.5, 1456, 1484.5, 1512, 1540.5, 1568, 1596.5, 1624,
|
||||
(29,59): 1652.5, 1680, 1708.5, 1736, 1764.5,
|
||||
(30,0): 0, 29.0078, 58, 87.0312, 116, 145.062, 174, 203.062, 232,
|
||||
(30,9): 261.125, 290, 319.125, 348, 377.125, 406, 435.125, 464,
|
||||
(30,17): 493.125, 522, 551.25, 580, 609.25, 638, 667.25, 696, 725.25,
|
||||
(30,26): 754, 783.25, 812, 841.25, 870, 899.25, 928, 957.25, 986,
|
||||
(30,35): 1015.25, 1044, 1073.5, 1102, 1131.5, 1160, 1189.5, 1218,
|
||||
(30,43): 1247.5, 1276, 1305.5, 1334, 1363.5, 1392, 1421.5, 1450,
|
||||
(30,51): 1479.5, 1508, 1537.5, 1566, 1595.5, 1624, 1653.5, 1682,
|
||||
(30,59): 1711.5, 1740, 1769.5, 1798, 1827.5,
|
||||
(31,0): 0, 30.0078, 60, 90.0312, 120, 150.062, 180, 210.062, 240,
|
||||
(31,9): 270.125, 300, 330.125, 360, 390.125, 420, 450.125, 480,
|
||||
(31,17): 510.125, 540, 570.25, 600, 630.25, 660, 690.25, 720, 750.25,
|
||||
(31,26): 780, 810.25, 840, 870.25, 900, 930.25, 960, 990.25, 1020,
|
||||
(31,35): 1050.5, 1080, 1110.5, 1140, 1170.5, 1200, 1230.5, 1260,
|
||||
(31,43): 1290.5, 1320, 1350.5, 1380, 1410.5, 1440, 1470.5, 1500,
|
||||
(31,51): 1530.5, 1560, 1590.5, 1620, 1650.5, 1680, 1710.5, 1740,
|
||||
(31,59): 1770.5, 1800, 1830.5, 1860, 1890.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
version (number)) thread (IDs):
|
||||
#000: (file name) line (number) in H5Dcreate2(): unable to create dataset
|
||||
major: Dataset
|
||||
minor: Unable to initialize object
|
||||
#001: (file name) line (number) in H5D__create_named(): unable to create and link to dataset
|
||||
major: Dataset
|
||||
minor: Unable to initialize object
|
||||
#002: (file name) line (number) in H5L_link_object(): unable to create new link to object
|
||||
major: Links
|
||||
minor: Unable to initialize object
|
||||
#003: (file name) line (number) in H5L__create_real(): can't insert link
|
||||
major: Links
|
||||
minor: Unable to insert object
|
||||
#004: (file name) line (number) in H5G_traverse(): internal path traversal failed
|
||||
major: Symbol table
|
||||
minor: Object not found
|
||||
#005: (file name) line (number) in H5G__traverse_real(): traversal operator failed
|
||||
major: Symbol table
|
||||
minor: Callback failed
|
||||
#006: (file name) line (number) in H5L__link_cb(): unable to create object
|
||||
major: Links
|
||||
minor: Unable to initialize object
|
||||
#007: (file name) line (number) in H5O_obj_create(): unable to open object
|
||||
major: Object header
|
||||
minor: Can't open object
|
||||
#008: (file name) line (number) in H5O__dset_create(): unable to create dataset
|
||||
major: Dataset
|
||||
minor: Unable to initialize object
|
||||
#009: (file name) line (number) in H5D__create(): I/O filters can't operate on this dataset
|
||||
major: Invalid arguments to routine
|
||||
minor: Unable to initialize object
|
||||
#010: (file name) line (number) in H5Z_can_apply(): unable to apply filter
|
||||
major: Data filters
|
||||
minor: Error from filter 'can apply' callback
|
||||
#011: (file name) line (number) in H5Z__prepare_prelude_callback_dcpl(): unable to apply filter
|
||||
major: Data filters
|
||||
minor: Error from filter 'can apply' callback
|
||||
#012: (file name) line (number) in H5Z__prelude_callback(): Filter present but encoding is disabled.
|
||||
major: Data filters
|
||||
minor: Filter present but encoding disabled
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
BitGroom filter is available for quantization and decoding.
|
||||
....Create dataset ................
|
||||
....Writing BitGroom-quantized data ................
|
||||
....Close the file and reopen for reading ........
|
||||
Filter info is available from the dataset creation property
|
||||
Filter identifier is 32022
|
||||
Number of parameters is 5 with the values 3, 4, 0, 0, 0
|
||||
To find more about the filter check BitGroom filter (Zender, 2016 GMD: http://www.geosci-model-dev.net/9/3199/2016)
|
||||
....Reading BitGroom-quantized data ................
|
||||
Maximum value in DS1 is 1.84557e+19
|
||||
BitGroom filter is available now since H5Dread triggered loading of the filter.
|
||||
Reference in New Issue
Block a user