[gdal-dev] Open Grib File
Chaitanya kumar CH
chaitanya.ch at gmail.com
Thu Jan 5 11:25:01 EST 2012
Use the GDALMajorObject::GetMetaData() method.
You might want to go through the GDAL API docs a bit throughly.
On Thu, Jan 5, 2012 at 7:40 PM, Jaugeas, Pascal (External) <
pascal.jaugeas.External at cassidian.com> wrote:
> I have another problem.
> After open grib file, I have a DataSet.
> This dataset give the quantities of row, col and band.
> For each band, I want to know the heading. In a band of a grib file,
> there are 3 rows for heading, not counting by the dataset.
> Do you know how I can do that ?
> Thanks and regards,
> *De :* Chaitanya kumar CH [mailto:chaitanya.ch at gmail.com]
> *Envoyé :* jeudi 5 janvier 2012 13:00
> *À :* Jaugeas, Pascal (External)
> *Cc :* gdal-dev at lists.osgeo.org
> *Objet :* Re: [gdal-dev] Open Grib File
> First check if your file works with the gdalinfo utility. Set the
> environment variable CPL_DEBUG to ON to get more detailed reports on events.
> Check if you get the same error with another grib file and another format
> On Thu, Jan 5, 2012 at 2:50 PM, Jaugeas, Pascal (External) <
> pascal.jaugeas.External at cassidian.com> wrote:
>> I develop with Gdal for .Net.
>> And I try to read a grib File (ed 1) like this :
>> ds = Gdal.Open(dataSourcePath, Access.GA_Update);
>> with dataSourcePath is the path of grib file (.grb).
>> But I have an error in debug : "... not recognised as a supported file
>> Is this method correct to have a dataset of a grib file ?
>> Thank you for your help,
>> Best Regards,
>> Pascal Jaugeas
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
> Best regards,
> Chaitanya kumar CH.
> 17.2416N 80.1426E
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev