avalentino / pyepr

Python bindings for ENVISAT Product Reader API
https://pyepr.readthedocs.io
GNU General Public License v3.0
13 stars 2 forks source link

MERIS data Amorgified #4

Closed rabagliati closed 12 years ago

rabagliati commented 12 years ago

When I add the AMORGOS corr_longitude and corr_latitude bands, pyepr will not read the file, saying

epr.so in epr.Product.cinit (src/epr.c:14436)() epr.pyepr_null_ptr_error (src/epr.c:2686)()

TypeError: an integer is required

line 14436 of epr.c says :-

pyepr_null_ptr_error('unable to open %s' % filename) # <<<<<<<<<<<<<<

the (rather large) file can be found at

http://wizzy.com/scratch/MER_FSG_1PNPDE20120107_072844_000001883110_00236_51543_7462.N1.gz

avalentino commented 12 years ago

@rabagliati, thank you for reporting.

Can you please post a minimal code to reproduce the issue?

rabagliati commented 12 years ago
import epr
epr.Product('/data/Cache/MER_FSG_1PNPDE20120107_072844_000001883110_00236_51543_7462.N1')

TypeError: an integer is required

avalentino commented 12 years ago

@rabagliati, OK thanks. It seems that the underlying C library still does not supports products generated with AMORGOS.

Please file a feature request against EPR-API.

rabagliati commented 12 years ago

On Fri, 20 Apr 2012, Antonio Valentino wrote:

@rabagliati, OK thanks. It seems that the underlying C library still does not supports products generated with AMORGOS.

Please file a feature request against EPR-API.

Thanks very much for your attention.

pyepr has been working very well for me - shame about envisat :(