Modify, remove or add data to hdf5 files with R -
i have hdf5 file several attributes, each attribute either matrix or array. modify of attributes adding or removing column matrix. how can done?
i have tried rhdf5 library in r can't seem find right functions. seems can use write functions can't overwrite. thinking way might dump whole file, modify , save new file.
this sample of file
a=h5fopen("s-1500-01-01-000000-g01.h5") hdf5 file name / filename name otype dclass dim 0 agb_co h5i_dataset float 411 1 agb_cut h5i_dataset float 17 x 11 x 1 2 agb_growth h5i_dataset float 17 x 11 x 1 3 agb_mort h5i_dataset float 17 x 11 x 1 4 agb_py h5i_dataset float 17 x 11 x 1 5 agb_si h5i_dataset float 17 x 11 x 1 6 age h5i_dataset float 20 7 agri_stocking_density h5i_dataset float 1 8 agri_stocking_pft h5i_dataset integer 1
Comments
Post a Comment