Exemple #1
0
def test_hdf5_virtual_file():
    hdf5_files = [
        'CSK_GEC.h5', 'vlstr_metadata.h5', 'groups.h5', 'complex.h5',
        'single_char_varname.h5', 'CSK_DGM.h5', 'u8be.h5', 'metadata.h5'
    ]
    for hdf5_file in hdf5_files:
        assert uffd_compare(hdf5_file) is True
Exemple #2
0
def hdf5_uffd():

    if gdaltest.hdf5_drv is None:
        return 'skip'

    if uffd_compare('CSK_GEC.h5') is None:
        return 'skip'

    hdf5_files = [
        'CSK_GEC.h5', 'vlstr_metadata.h5', 'groups.h5', 'complex.h5',
        'single_char_varname.h5', 'CSK_DGM.h5', 'u8be.h5', 'metadata.h5'
    ]
    for hdf5_file in hdf5_files:
        if uffd_compare(hdf5_file) is not True:
            return 'fail'

    return 'success'
Exemple #3
0
def test_hdf5_virtual_file():
    hdf5_files = [
        'CSK_GEC.h5',
        'vlstr_metadata.h5',
        'groups.h5',
        'complex.h5',
        'single_char_varname.h5',
        'CSK_DGM.h5',
        'u8be.h5',
        'metadata.h5'
    ]
    for hdf5_file in hdf5_files:
        assert uffd_compare(hdf5_file) is True
Exemple #4
0
def hdf5_virtual_file():

    if gdaltest.hdf5_drv is None:
        return 'skip'

    hdf5_files = [
        'CSK_GEC.h5',
        'vlstr_metadata.h5',
        'groups.h5',
        'complex.h5',
        'single_char_varname.h5',
        'CSK_DGM.h5',
        'u8be.h5',
        'metadata.h5'
    ]
    for hdf5_file in hdf5_files:
        if uffd_compare(hdf5_file) is not True:
            return 'fail'

    return 'success'