Re: [gdal-dev] JP2k, ReadError, Python

2011-07-30 Thread Jay L.
Even, I feel quite foolish. I had not properly registered the plugin PATH. The jp2 are processing without a problem as I type. I will be sure to create a blog post documenting ALL of the steps that are required to get GDAL up on running on a windows machine. Many thanks for your assistance! Ja

Re: [gdal-dev] JP2k, ReadError, Python

2011-07-30 Thread Even Rouault
Le samedi 30 juillet 2011 19:14:17, Jay L. a écrit : > Here is the link. As I said, it is 28MB, including the .jp2, .aux.xml, and > .prj file. > > http://www.personal.psu.edu/jzl5325/CTX.zip > > I would have thought that unloading the JPEG2000 driver would have forced > the ECW driver to be used

Re: [gdal-dev] JP2k, ReadError, Python

2011-07-30 Thread Jay L.
Here is the link. As I said, it is 28MB, including the .jp2, .aux.xml, and .prj file. http://www.personal.psu.edu/jzl5325/CTX.zip I would have thought that unloading the JPEG2000 driver would have forced the ECW driver to be used. It looks to me as if that driver is not being used although it i

Re: [gdal-dev] JP2k, ReadError, Python

2011-07-30 Thread Even Rouault
Le samedi 30 juillet 2011 18:46:42, Jay L. a écrit : > Evan, > > Thanks for the info. Setting debug to on has allowed me to trace the > problem to this line: > > scanBlock = band.ReadAsArray(h,i,numberColumns, > numberRows).astype(numpy.float) > > showing this error / information: > > C:\Py_Sc

Re: [gdal-dev] JP2k, ReadError, Python

2011-07-30 Thread Jay L.
Evan, Thanks for the info. Setting debug to on has allowed me to trace the problem to this line: scanBlock = band.ReadAsArray(h,i,numberColumns, numberRows).astype(numpy.float) showing this error / information: C:\Py_Scripts\RunningSD>python ISCopy.py P01_001468_1534_XI_26S034W.jp2 -vus 5 JPEG

Re: [gdal-dev] JP2k, ReadError, Python

2011-07-30 Thread Even Rouault
Le samedi 30 juillet 2011 17:37:48, Jay L. a écrit : > Morning all, > > I have a rather large JP2 file (created using the Kakadu driver I believe) > that I am trying to process with a python script. I am able to open the > dataset and grab the first band. > > To calculate band statistics I use t

[gdal-dev] JP2k, ReadError, Python

2011-07-30 Thread Jay L.
Morning all, I have a rather large JP2 file (created using the Kakadu driver I believe) that I am trying to process with a python script. I am able to open the dataset and grab the first band. To calculate band statistics I use the following code which returns 1000 lines of error before exiting