Page 1 of 1

GPT mosaic problem with OLCI L2 files

Posted: Fri Oct 27, 2017 11:40 am America/New_York
by tsmoore00
Hi,

I am trying to reproject OLCI level-2 data I processed with Seadas7.4 to a projection that has worked previously with Aqua, MERIS.

I have tried several l2 files, and I keep getting the same error.  Not sure what's happening.  Can you decipher the error message?

The command I am using and response I am getting is:

gpt.command -e bl2map-mosaic_olci.xml -Ssource=$fullFilename -t $outFilename -f netCDF-CF
+ gpt.command -e bl2map-mosaic_olci.xml -Ssource=/Users/tim/Desktop/images/olci/erie/l2/S3A_OL_1_ERR____20170701T145214_20170701T153637_20170702T192226_2663_019_239______LN1_O_NT_002.l2 -t /Users/tim/Desktop/images/olci/erie/remaps//S3A_OL_1_ERR____20170701T145214_20170701T153637_20170702T192226_2663_019_239______LN1_O_NT_002.l2.nc -f netCDF-CF

Error: gov/nasa/gsfc/seadas/bathymetry/operator/BathymetryOp$Spi : Unsupported major.minor version 52.0
if [ $? -ne 0 ]; then
   echo "Geolocation failed for file $fullFilename"
   exit 3
fi
+ '[' 1 -ne 0 ']'
+ echo 'Geolocation failed for file /Users/tim/Desktop/images/olci/erie/l2/S3A_OL_1_ERR____20170701T145214_20170701T153637_20170702T192226_2663_019_239______LN1_O_NT_002.l2'
Geolocation failed for file /Users/tim/Desktop/images/olci/erie/l2/S3A_OL_1_ERR____20170701T145214_20170701T153637_20170702T192226_2663_019_239______LN1_O_NT_002.l2
+ exit 3

I can follow up with the bl2map-mosaic_olci.xml code if needed.

Thanks!
Tim

GPT mosaic problem with OLCI L2 files

Posted: Fri Oct 27, 2017 6:17 pm America/New_York
by OB SeaDAS - knowles
Hi Tim,

This error message is a problem:
Error: gov/nasa/gsfc/seadas/bathymetry/operator/BathymetryOp$Spi : Unsupported major.minor version 52.0

SeaDAS 7.4 should not be looking for this operator.

I'm not seeing this problem on Linux but I just found a Mac which triggers this message when running in GPT mode.

We will look into this on Monday.

Danny

GPT mosaic problem with OLCI L2 files

Posted: Sat Oct 28, 2017 8:19 am America/New_York
by tsmoore00
Yes, I should have mentioned running from an iMac.

Thanks!
tim

GPT mosaic problem with OLCI L2 files

Posted: Wed Nov 01, 2017 6:41 pm America/New_York
by OB SeaDAS - knowles
Tim,

After sweating this one out a bit, the problem is now correctly understood and resolved!

It is a java versioning problem.  At the command line type:
  java -version

For SeaDAS 7.4, you need version 1.8 of java.  Having version 1.7 or lower will give the error you saw when running gpt at the command line. 

Of note for the Mac: installing and checking the java version via the System Preferences GUI does not mean that the terminal version is actually updated.  You will most likely need to download and install java directly (http://www.oracle.com/technetwork/java/javase/downloads/index.html).

Danny

GPT mosaic problem with OLCI L2 files

Posted: Thu Nov 02, 2017 3:02 pm America/New_York
by tsmoore00
Hi Danny,

Thanks for finding this out - I'll give it a go.

Sorry to make you sweat,
Tim

GPT mosaic problem with OLCI L2 files

Posted: Thu Nov 02, 2017 3:44 pm America/New_York
by tsmoore00
Hi Danny,

Yes, that did work. Nice job.

Thanks,
Tim