Output to GDS #2637
-
I have a version of nccopy in which I have inserted code to use |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 2 replies
-
My question is - does the data compression happen before or after the call to H5Dwrite in hdf5var.c? |
Beta Was this translation helpful? Give feedback.
-
All compression is carried out at the point that a chunk is written. So it happens between H5Dwrite and the VFD. |
Beta Was this translation helpful? Give feedback.
-
I do not think that will work because of the architecture of HDF5 and filters. |
Beta Was this translation helpful? Give feedback.
-
The parallelio library is already using UDF0 but I think that I can use UDF1 to overload the create and open functions then just set everything else in the dispatch table to be the same as UDF0. Does that sound like a reasonable approach? |
Beta Was this translation helpful? Give feedback.
-
I should be able to use a call like nc4_file_list_add to call H5Pset_driver_by_name(fapl_id, "gds", NULL) from the netcdf library |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I have not had time to think about it. There is a pressing bug I need to fix. |
Beta Was this translation helpful? Give feedback.
-
I understand, please consider when you have time. Here is another issue for your consideration. Variables which do not have an unlimited dimension are written via the vfd-gds driver however variables which do have an unlimited dimension are being copied back to the cpu and bypassing the gds driver. I got some suggestions in the discussion here but they did not seem to help. For now I've just removed the unlimited dimension from the dataset so that we can use GDS for all variables. Do you have any thoughts on why variables with the unlimited dimension are not using GDS? |
Beta Was this translation helpful? Give feedback.
-
One thought that occurs to me is to use the netcdf-c library .rc file mechanism.
and these (key,value) pairs are accessible to the netcdf-c library code.
|
Beta Was this translation helpful? Give feedback.
All compression is carried out at the point that a chunk is written. So it happens between H5Dwrite and the VFD.