Exemplo n.º 1
0
        public void H5Pset_chunk_optsTestSWMR1()
        {
            hid_t dcpl = H5P.create(H5P.DATASET_CREATE);

            Assert.IsTrue(dcpl >= 0);

            // without chunking, H5Pset_chunk_opts will throw an error
            hsize_t[] dims = { 4711 };
            Assert.IsTrue(H5P.set_chunk(dcpl, 1, dims) >= 0);

            uint opts = H5D.DONT_FILTER_PARTIAL_CHUNKS;

            Assert.IsTrue(H5P.set_chunk_opts(dcpl, opts) >= 0);

            Assert.IsTrue(H5P.close(dcpl) >= 0);
        }