Opened 10 years ago

Closed 7 years ago

#5360 closed enhancement (invalid)

developing fmt for TRMM binary support

Reported by: ebo Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Hello,

I am working on developing a TRMM binary format reader/writer, and I want to support all four data bands. Many people do not know that the 3B42RT and similar products have 4 bands which include the raw data, source, error estimates, as well as the processed rainfall which everyone normally uses.

The problem I am having at the moment is allocating memory for all 4 bands. Can someone point me to a decent example of how to allocation memory using the GDAL allocation routines?

ps: it is my intention to pass this code back to gdal for inclusion after a suitable code review.

Thanks and best regards,

John (EBo) David --

Change History (3)

comment:1 by Even Rouault, 10 years ago

Did you have a look at the GDAL driver tutorial : http://www.gdal.org/gdal_drivertut.html ? Generally you should not have to explicitely allocate memory for the imagery. The GDAL machinery will do it for you once you've created and setup correctly the 4 GDALRasterBand objects

comment:2 by Even Rouault, 7 years ago

@Ebo Are there been any progress on this ?

comment:3 by ebo, 7 years ago

Resolution: invalid
Status: newclosed

Sorry. No. Soon after posting this there was a budget crisis and I ended up moving to a different project altogether -- which no longer needed this. I had completely forgotten about this request in the move, and will close the ticket.

For others looking for similar support, I would suggest supporting the various native formats for the GPM Imerge product instead of TRMM.

Note: See TracTickets for help on using tickets.