Re: [gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-21 Thread Frank Warmerdam
Cassanova, Bill wrote: I had considered that but was a little concerned about accuracy. So for example: Original lat-lon point --> -77.78, 36.01 Extracted i-j --> 1015.63, 404.964 The 4 closest are the ceil/floor of both so: 1015 and 1016 for X and 404 and 405 for Y. However, the r

RE: [gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-21 Thread Cassanova, Bill
al-dev] General Questions about gdal usage with Grib1 Data Set Cassanova, Bill wrote: > There is now an additional wrinkle to the project. We need to now > extract the 4 closest values for a given lat-lon point > to complete a bilinear interpolation for added accuracy. > > Would the corre

Re: [gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-21 Thread Frank Warmerdam
Cassanova, Bill wrote: There is now an additional wrinkle to the project. We need to now extract the 4 closest values for a given lat-lon point to complete a bilinear interpolation for added accuracy. Would the correct method be: (1) Use the suggestion that Frank made below about a hybrid app

RE: [gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-21 Thread Cassanova, Bill
3:52 PM To: Cassanova, Bill Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] General Questions about gdal usage with Grib1 Data Set Cassanova, Bill wrote: > Hi, > > I am new to GDal and just beginning to dig into the intricacies of the > library and would like some guidance on the best

Re: [gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-20 Thread Frank Warmerdam
Cassanova, Bill wrote: Thank you for your help. Couple more questions: (1) After the call to GDALGenImgProjTransform( ..., ..., ..., double *x, double *y, ..., ... ); I am assuming that the x and y arguments contain the new lat-lon values from the new projection and does not contain the dat

RE: [gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-20 Thread Cassanova, Bill
, July 20, 2009 3:52 PM To: Cassanova, Bill Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] General Questions about gdal usage with Grib1 Data Set Cassanova, Bill wrote: > Hi, > > I am new to GDal and just beginning to dig into the intricacies of the > library and would like some

Re: [gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-20 Thread Frank Warmerdam
Cassanova, Bill wrote: Hi, I am new to GDal and just beginning to dig into the intricacies of the library and would like some guidance on the best way to proceed. I have a data set that is in a grib1 format but with a Lambert Conformal Projection. If need be this file can be converted to ei

[gdal-dev] General Questions about gdal usage with Grib1 Data Set

2009-07-20 Thread Cassanova, Bill
Hi, I am new to GDal and just beginning to dig into the intricacies of the library and would like some guidance on the best way to proceed. I have a data set that is in a grib1 format but with a Lambert Conformal Projection. If need be this file can be converted to either grib2 or shape file usi