Opened 20 years ago

Closed 17 years ago

#505 closed defect (worksforme)

HDF5 Created files not flushed on close

Reported by: tinax@… Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: hdf5
Cc:

Description (last modified by warmerdam)

Hi,Frank:
   Firstly, thanks for your helping  me on the issue about how flush My HDF 
file,in a little days ago!But the more intractable puzzle came into being.After 
I had added my raster and dataset class and their fuctions on gdal, the Create 
Function never worked properly when I open my hdf file as inputfile and create 
same hdffile as outputfile, but when opening other formats ,it worked normally!
By the way, I think my Open Function can open My HDF files correctly.
   So ,did you mind give me a hand again! Is it due to the bug in libhdf5 that 
the gdal can't support open and create in the same time, unless after the 
opened gdal dataset handle was closed?

Change History (3)

comment:1 by warmerdam, 20 years ago

*** Bug 506 has been marked as a duplicate of this bug. ***

comment:2 by warmerdam, 20 years ago

Sorry, there isn't enough here for me to give you an answer.  If you provided
the code for your driver, I might see something.  However, I have relatively
little time available to spend diagnosing this problem.  

To be specific, you are having problems with your create method when you have
also opened a different hdf5 file as input at the same time, is that right?  Is
the create producing a corrupt output file?  Are you getting a runtime error? 

One "danger" is to avoid use of global variables that are not part of your 
dataset class. Otherwise having two datasets active at once can result in
interference in the use of those variables. 

Is your create working fine when another format is used as input?


comment:5 by warmerdam, 17 years ago

Description: modified (diff)
Keywords: hdf5 added
Priority: highnormal
Resolution: worksforme
Status: assignedclosed

Lacking feedback, I'm closing.

Note: See TracTickets for help on using tickets.