[gdal-dev] Open Grib File
Jaugeas, Pascal (External)
pascal.jaugeas.External at cassidian.com
Thu Jan 5 07:02:58 EST 2012
thank you,
I find the solution : I need to do Gdal.AllRegister() for driver and it works !
Thank you for your help !
Best regards,
Pascal
________________________________
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
Pascal,
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 file.
On Thu, Jan 5, 2012 at 2:50 PM, Jaugeas, Pascal (External) <pascal.jaugeas.External at cassidian.com> wrote:
Hello,
I develop with Gdal for .Net.
And I try to read a grib File (ed 1) like this :
Dataset
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 format."
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
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Best regards,
Chaitanya kumar CH.
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120105/5b05a990/attachment.html
More information about the gdal-dev
mailing list