![]() However, the GDAL command line tool gdal_translate works, as this creates a valid GTiff I suspected that the GDAL HDF5 driver made a wrong assumption, and thus failed when reading the file. # " dataset_DXk_image_IMAGE_SUBCLASS=BITMAP" # " dataset_DXk_image_IMAGE_MINMAXRANGE=0 0 " # " dataset_DXk_image_IMAGE_COLORMODEL=RGB" # " dataset_DXk_image_IMAGE_BACKGROUNDINDEX=0 " # "Band 1 Block=64x72 Type=Float32, ColorInterp=Undefined" Maybe the structure of the container is not quite up to standards so that reading is failing with some products?īefore trying to migrate from raster to terra I was making use of rhdf5 to read these files but I'd like to reduce further dependencies if possible, hence my attempt to solve this using terra only. Making use of Panoply 5.1.0 the image layer is not recognized but this could also be a result of the need to change the file extension to *.hdf5 in order to be recognized by the software, no idea tbh. Moreover, the file is recognized using HDFView 3.14 in terms of the content being plotable. (GDAL error 1)Īlthough *.scu does not seem to be a common file extension for the HDF5 format, hdf5-tools seems to be able to read this, c.f. (GDAL error 1)ģ: HDF5:"hd2011010000.scu"://dataset_DXk/image, band 1: IReadBlock failed at X offset 0, Y offset 0: H5Dread() failed for block. /src/H5PLpath.c line 734 in H5PL_find_plugin_in_path(): can't open directoryĢ: H5Dread() failed for block. /src/H5PLpath.c line 604 in H5PL_find_plugin_in_path_table(): search in path C:\ProgramData\hdf5\lib\plugin encountered an error Major: Plugin for dynamically loaded library /src/H5PLint.c line 274 in H5PL_load(): search in path table failed /src/H5Z.c line 1311 in H5Z_pipeline(): required filter 'szip' is not registered /src/H5Dchunk.c line 3957 in H5D_chunk_lock(): data pipeline read failed /src/H5Dchunk.c line 2594 in H5D_chunk_read(): unable to read raw data chunk /src/H5Dio.c line 567 in H5D_read(): can't read data /src/H5VLnative_dataset.c line 167 in H5VL_native_dataset_read(): can't read data /src/H5VLcallback.c line 2046 in H5VL_dataset_read(): dataset read failed ![]() /src/H5VLcallback.c line 2080 in H5VL_dataset_read(): dataset read failed /src/H5Dio.c line 192 in H5Dread(): can't read data ![]() HDF5-DIAG: Error detected in HDF5 (1.12.0) thread 0:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |