Hi,
I am a perl neophyte. I installed Geo::ReadGRIB on my pc (Windows XP) with Perl 5.10 without any problem. But when I tried to extract a GRIB file, using the code given in the Synopsys, I was able to read the catalog but got the
"Can't call method "numLat" without a package or object reference at ... "
error right before stepping through the data using the Iterator $plit. After looking into the ReadGRIB.pm, it looks like the ExtractLaLo routine returned a 1 instead of a reference.
Did I miss something? I did try reinstalling the package a few times, and also tried a few different grib files.
Another issue is that, for the grib file with negative longitude such as (0, -2) I always get out of range error.
Appreciate any help you guys can give me.
Thnaks,
pax