HDF5 provides many native datatypes. These are all stored in the h5types environment. An overview of all available types can be seen using h5types$overview. Any specific type can be accessed using the $-operator. See also the examples below.

Author

Holger Hoefling

Examples

h5types$overview
#>        Category                             Name            Type_id
#> 1          IEEE                   H5T_IEEE_F32BE 216172782113783863
#> 2          IEEE                   H5T_IEEE_F32LE 216172782113783862
#> 3          IEEE                   H5T_IEEE_F64BE 216172782113783865
#> 4          IEEE                   H5T_IEEE_F64LE 216172782113783864
#> 5           STD                     H5T_STD_I8BE 216172782113783869
#> 6           STD                     H5T_STD_I8LE 216172782113783868
#> 7           STD                    H5T_STD_I16BE 216172782113783871
#> 8           STD                    H5T_STD_I16LE 216172782113783870
#> 9           STD                    H5T_STD_I32BE 216172782113783873
#> 10          STD                    H5T_STD_I32LE 216172782113783872
#> 11          STD                    H5T_STD_I64BE 216172782113783875
#> 12          STD                    H5T_STD_I64LE 216172782113783874
#> 13          STD                     H5T_STD_U8BE 216172782113783877
#> 14          STD                     H5T_STD_U8LE 216172782113783876
#> 15          STD                    H5T_STD_U16BE 216172782113783879
#> 16          STD                    H5T_STD_U16LE 216172782113783878
#> 17          STD                    H5T_STD_U32BE 216172782113783881
#> 18          STD                    H5T_STD_U32LE 216172782113783880
#> 19          STD                    H5T_STD_U64BE 216172782113783883
#> 20          STD                    H5T_STD_U64LE 216172782113783882
#> 21          STD                     H5T_STD_B8BE 216172782113783885
#> 22          STD                     H5T_STD_B8LE 216172782113783884
#> 23          STD                    H5T_STD_B16BE 216172782113783887
#> 24          STD                    H5T_STD_B16LE 216172782113783886
#> 25          STD                    H5T_STD_B32BE 216172782113783889
#> 26          STD                    H5T_STD_B32LE 216172782113783888
#> 27          STD                    H5T_STD_B64BE 216172782113783891
#> 28          STD                    H5T_STD_B64LE 216172782113783890
#> 29          STD                  H5T_STD_REF_OBJ 216172782113783899
#> 30          STD              H5T_STD_REF_DSETREG 216172782113783900
#> 31         UNIX                   H5T_UNIX_D32BE 216172782113783893
#> 32         UNIX                   H5T_UNIX_D32LE 216172782113783892
#> 33         UNIX                   H5T_UNIX_D64BE 216172782113783895
#> 34         UNIX                   H5T_UNIX_D64LE 216172782113783894
#> 35       STRING                         H5T_C_S1 216172782113783897
#> 36       STRING                   H5T_FORTRAN_S1 216172782113783898
#> 37        INTEL                     H5T_INTEL_I8 216172782113783868
#> 38        INTEL                    H5T_INTEL_I16 216172782113783870
#> 39        INTEL                    H5T_INTEL_I32 216172782113783872
#> 40        INTEL                    H5T_INTEL_I64 216172782113783874
#> 41        INTEL                     H5T_INTEL_U8 216172782113783876
#> 42        INTEL                    H5T_INTEL_U16 216172782113783878
#> 43        INTEL                    H5T_INTEL_U32 216172782113783880
#> 44        INTEL                    H5T_INTEL_U64 216172782113783882
#> 45        INTEL                     H5T_INTEL_B8 216172782113783884
#> 46        INTEL                    H5T_INTEL_B16 216172782113783886
#> 47        INTEL                    H5T_INTEL_B32 216172782113783888
#> 48        INTEL                    H5T_INTEL_B64 216172782113783890
#> 49        INTEL                    H5T_INTEL_F32 216172782113783862
#> 50        INTEL                    H5T_INTEL_F64 216172782113783864
#> 51        ALPHA                     H5T_ALPHA_I8 216172782113783868
#> 52        ALPHA                    H5T_ALPHA_I16 216172782113783870
#> 53        ALPHA                    H5T_ALPHA_I32 216172782113783872
#> 54        ALPHA                    H5T_ALPHA_I64 216172782113783874
#> 55        ALPHA                     H5T_ALPHA_U8 216172782113783876
#> 56        ALPHA                    H5T_ALPHA_U16 216172782113783878
#> 57        ALPHA                    H5T_ALPHA_U32 216172782113783880
#> 58        ALPHA                    H5T_ALPHA_U64 216172782113783882
#> 59        ALPHA                     H5T_ALPHA_B8 216172782113783884
#> 60        ALPHA                    H5T_ALPHA_B16 216172782113783886
#> 61        ALPHA                    H5T_ALPHA_B32 216172782113783888
#> 62        ALPHA                    H5T_ALPHA_B64 216172782113783890
#> 63        ALPHA                    H5T_ALPHA_F32 216172782113783862
#> 64        ALPHA                    H5T_ALPHA_F64 216172782113783864
#> 65         MIPS                      H5T_MIPS_I8 216172782113783869
#> 66         MIPS                     H5T_MIPS_I16 216172782113783871
#> 67         MIPS                     H5T_MIPS_I32 216172782113783873
#> 68         MIPS                     H5T_MIPS_I64 216172782113783875
#> 69         MIPS                      H5T_MIPS_U8 216172782113783877
#> 70         MIPS                     H5T_MIPS_U16 216172782113783879
#> 71         MIPS                     H5T_MIPS_U32 216172782113783881
#> 72         MIPS                     H5T_MIPS_U64 216172782113783883
#> 73         MIPS                      H5T_MIPS_B8 216172782113783885
#> 74         MIPS                     H5T_MIPS_B16 216172782113783887
#> 75         MIPS                     H5T_MIPS_B32 216172782113783889
#> 76         MIPS                     H5T_MIPS_B64 216172782113783891
#> 77         MIPS                     H5T_MIPS_F32 216172782113783863
#> 78         MIPS                     H5T_MIPS_F64 216172782113783865
#> 79          VAX                      H5T_VAX_F32 216172782113783866
#> 80          VAX                      H5T_VAX_F64 216172782113783867
#> 81       NATIVE                  H5T_NATIVE_CHAR 216172782113783816
#> 82       NATIVE                 H5T_NATIVE_SCHAR 216172782113783816
#> 83       NATIVE                 H5T_NATIVE_UCHAR 216172782113783817
#> 84       NATIVE                 H5T_NATIVE_SHORT 216172782113783818
#> 85       NATIVE                H5T_NATIVE_USHORT 216172782113783819
#> 86       NATIVE                   H5T_NATIVE_INT 216172782113783820
#> 87       NATIVE                  H5T_NATIVE_UINT 216172782113783821
#> 88       NATIVE                  H5T_NATIVE_LONG 216172782113783822
#> 89       NATIVE                 H5T_NATIVE_ULONG 216172782113783823
#> 90       NATIVE                 H5T_NATIVE_LLONG 216172782113783848
#> 91       NATIVE                H5T_NATIVE_ULLONG 216172782113783849
#> 92       NATIVE                 H5T_NATIVE_FLOAT 216172782113783850
#> 93       NATIVE                H5T_NATIVE_DOUBLE 216172782113783851
#> 94       NATIVE                    H5T_NATIVE_B8 216172782113783853
#> 95       NATIVE                   H5T_NATIVE_B16 216172782113783854
#> 96       NATIVE                   H5T_NATIVE_B32 216172782113783855
#> 97       NATIVE                   H5T_NATIVE_B64 216172782113783856
#> 98       NATIVE                H5T_NATIVE_OPAQUE 216172782113783896
#> 99       NATIVE                 H5T_NATIVE_HADDR 216172782113783857
#> 100      NATIVE                 H5T_NATIVE_HSIZE 216172782113783858
#> 101      NATIVE                H5T_NATIVE_HSSIZE 216172782113783859
#> 102      NATIVE                  H5T_NATIVE_HERR 216172782113783860
#> 103      NATIVE                 H5T_NATIVE_HBOOL 216172782113783861
#> 104      NATIVE                  H5T_NATIVE_INT8 216172782113783824
#> 105      NATIVE                 H5T_NATIVE_UINT8 216172782113783825
#> 106      NATIVE            H5T_NATIVE_INT_LEAST8 216172782113783826
#> 107      NATIVE           H5T_NATIVE_UINT_LEAST8 216172782113783827
#> 108      NATIVE             H5T_NATIVE_INT_FAST8 216172782113783828
#> 109      NATIVE            H5T_NATIVE_UINT_FAST8 216172782113783829
#> 110      NATIVE                 H5T_NATIVE_INT16 216172782113783830
#> 111      NATIVE                H5T_NATIVE_UINT16 216172782113783831
#> 112      NATIVE           H5T_NATIVE_INT_LEAST16 216172782113783832
#> 113      NATIVE          H5T_NATIVE_UINT_LEAST16 216172782113783833
#> 114      NATIVE            H5T_NATIVE_INT_FAST16 216172782113783834
#> 115      NATIVE           H5T_NATIVE_UINT_FAST16 216172782113783835
#> 116      NATIVE                 H5T_NATIVE_INT32 216172782113783836
#> 117      NATIVE                H5T_NATIVE_UINT32 216172782113783837
#> 118      NATIVE           H5T_NATIVE_INT_LEAST32 216172782113783838
#> 119      NATIVE          H5T_NATIVE_UINT_LEAST32 216172782113783839
#> 120      NATIVE            H5T_NATIVE_INT_FAST32 216172782113783840
#> 121      NATIVE           H5T_NATIVE_UINT_FAST32 216172782113783841
#> 122      NATIVE                 H5T_NATIVE_INT64 216172782113783842
#> 123      NATIVE                H5T_NATIVE_UINT64 216172782113783843
#> 124      NATIVE           H5T_NATIVE_INT_LEAST64 216172782113783844
#> 125      NATIVE          H5T_NATIVE_UINT_LEAST64 216172782113783845
#> 126      NATIVE            H5T_NATIVE_INT_FAST64 216172782113783846
#> 127      NATIVE           H5T_NATIVE_UINT_FAST64 216172782113783847
#> 128 C_API_types                      H5E_major_t 216172782113783842
#> 129 C_API_types                      H5E_minor_t 216172782113783842
#> 130 C_API_types                       H5FD_mem_t 216172782113783836
#> 131 C_API_types                       H5G_link_t 216172782113783836
#> 132 C_API_types                H5O_msg_crt_idx_t 216172782113783837
#> 133 C_API_types                     H5Z_filter_t 216172782113783836
#> 134 C_API_types                          haddr_t 216172782113783843
#> 135 C_API_types                          hbool_t 216172782113783825
#> 136 C_API_types                           herr_t 216172782113783836
#> 137 C_API_types                            hid_t 216172782113783842
#> 138 C_API_types                          hsize_t 216172782113783843
#> 139 C_API_types                         hssize_t 216172782113783842
#> 140 C_API_types                           htri_t 216172782113783836
#> 141 C_API_types                              int 216172782113783836
#> 142 C_API_types                          int64_t 216172782113783842
#> 143 C_API_types                             long 216172782113783842
#> 144 C_API_types                         long_int 216172782113783842
#> 145 C_API_types                        long_long 216172782113783842
#> 146 C_API_types                            off_t 216172782113783842
#> 147 C_API_types                            short 216172782113783830
#> 148 C_API_types                           size_t 216172782113783843
#> 149 C_API_types                          ssize_t 216172782113783842
#> 150 C_API_types                           time_t 216172782113783842
#> 151 C_API_types                         uint32_t 216172782113783837
#> 152 C_API_types                         uint64_t 216172782113783843
#> 153 C_API_types                         unsigned 216172782113783837
#> 154 C_API_types                    unsigned_char 216172782113783825
#> 155 C_API_types                     unsigned_int 216172782113783837
#> 156 C_API_types                    unsigned_long 216172782113783843
#> 157 C_API_types               unsigned_long_long 216172782113783843
#> 158 C_API_types                   unsigned_short 216172782113783831
#> 159 C_API_types                             char 216172782113784121
#> 160 C_API_types                           double 216172782113783851
#> 161 C_API_types                            float 216172782113783850
#> 162        enum                       H5_index_t 216172782113784153
#> 163        enum                  H5_iter_order_t 216172782113784152
#> 164        enum              H5C_cache_decr_mode 216172782113784122
#> 165        enum        H5C_cache_flash_incr_mode 216172782113784123
#> 166        enum              H5C_cache_incr_mode 216172782113784124
#> 167        enum                 H5D_alloc_time_t 216172782113784125
#> 168        enum                H5D_chunk_index_t 216172782113784126
#> 169        enum                  H5D_fill_time_t 216172782113784127
#> 170        enum                 H5D_fill_value_t 216172782113784128
#> 171        enum                     H5D_layout_t 216172782113784129
#> 172        enum H5D_mpio_actual_chunk_opt_mode_t 216172782113784149
#> 173        enum        H5D_mpio_actual_io_mode_t 216172782113784150
#> 174        enum   H5D_mpio_no_collective_cause_t 216172782113784151
#> 175        enum               H5D_space_status_t 216172782113784130
#> 176        enum                   H5D_vds_view_t 216172782113784131
#> 177        enum                  H5E_direction_t 216172782113784132
#> 178        enum                       H5E_type_t 216172782113784133
#> 179        enum               H5F_close_degree_t 216172782113784135
#> 180        enum            H5F_file_space_type_t 216172782113784136
#> 181        enum            H5F_fspace_strategy_t 216172782113784137
#> 182        enum                     H5F_libver_t 216172782113784138
#> 183        enum                        H5F_mem_t 216172782113784139
#> 184        enum                      H5F_scope_t 216172782113784140
#> 185        enum             H5FD_file_image_op_t 216172782113784134
#> 186        enum                        H5G_obj_t 216172782113784141
#> 187        enum               H5G_storage_type_t 216172782113784142
#> 188        enum                       H5I_type_t 216172782113784143
#> 189        enum                       H5L_type_t 216172782113784144
#> 190        enum                      H5LT_lang_t 216172782113784145
#> 191        enum            H5O_mcdt_search_ret_t 216172782113784146
#> 192        enum                       H5O_type_t 216172782113784147
#> 193        enum                      H5PL_type_t 216172782113784148
#> 194        enum                       H5R_type_t 216172782113784154
#> 195        enum                      H5S_class_t 216172782113784156
#> 196        enum                     H5S_sel_type 216172782113784155
#> 197        enum                    H5S_seloper_t 216172782113784157
#> 198        enum                        H5T_bkg_t 216172782113784158
#> 199        enum                      H5T_class_t 216172782113784159
#> 200        enum                        H5T_cmd_t 216172782113784160
#> 201        enum                H5T_conv_except_t 216172782113784161
#> 202        enum                   H5T_conv_ret_t 216172782113784162
#> 203        enum                       H5T_cset_t 216172782113784163
#> 204        enum                  H5T_direction_t 216172782113784164
#> 205        enum                       H5T_norm_t 216172782113784165
#> 206        enum                      H5T_order_t 216172782113784166
#> 207        enum                        H5T_pad_t 216172782113784167
#> 208        enum                       H5T_pers_t 216172782113784168
#> 209        enum                       H5T_sign_t 216172782113784169
#> 210        enum                        H5T_str_t 216172782113784170
#> 211        enum                  H5Z_cb_return_t 216172782113784171
#> 212        enum                        H5Z_EDC_t 216172782113784172
#> 213        enum              H5Z_SO_scale_type_t 216172782113784173
#> 214      struct                H5L_info_helper_t 216172782113784186
#> 215      struct                     H5_ih_info_t 216172782113784174
#> 216      struct                       H5A_info_t 216172782113784176
#> 217      struct              H5AC_cache_config_t 216172782113784175
#> 218      struct        H5AC_cache_image_config_t 216172782113784194
#> 219      struct                       H5D_info_t 216172782113784197
#> 220      struct                     H5E_error1_t 216172782113784177
#> 221      struct                     H5E_error2_t 216172782113784178
#> 222      struct               H5F_info1_helper_t 216172782113784179
#> 223      struct                      H5F_info1_t 216172782113784180
#> 224      struct                 H5F_info2_free_t 216172782113784182
#> 225      struct                 H5F_info2_sohm_t 216172782113784183
#> 226      struct                H5F_info2_super_t 216172782113784181
#> 227      struct                      H5F_info2_t 216172782113784184
#> 228      struct                 H5F_retry_info_t 216172782113784195
#> 229      struct                  H5F_sect_info_t 216172782113784196
#> 230      struct                       H5G_info_t 216172782113784185
#> 231      struct                       H5L_info_t 216172782113784187
#> 232      struct                      H5ls_info_t 216172782113784198
#> 233      struct        H5O_hdr_info_helper_msg_t 216172782113784188
#> 234      struct      H5O_hdr_info_helper_space_t 216172782113784189
#> 235      struct                   H5O_hdr_info_t 216172782113784190
#> 236      struct                H5O_info_helper_t 216172782113784191
#> 237      struct                       H5O_info_t 216172782113784192
#> 238      struct                       H5O_stat_t 216172782113784193
#> 239      NATIVE               H5T_NATIVE_LDOUBLE 216172782113783852
#> 240      Custom                      H5T_LOGICAL 216172782113784579
#> 241      Custom                   H5T_LOGICAL_NA 216172782113784588
h5types$H5T_NATIVE_INT
#> Class: H5T_INTEGER
#> Datatype: H5T_STD_I32LE
h5types$H5T_NATIVE_DOUBLE
#> Class: H5T_FLOAT
#> Datatype: H5T_IEEE_F64LE