How to convert Moon Mineralogy Mapper PDS3 data to vicar format?

11 views
Skip to first unread message

Yu Lu

unread,
Dec 3, 2024, 7:17:47 AM12/3/24
to VICAR Open Source
Dear all,

I just tried to use vicar to process Moon Mineralogy Mapper Level2 reflectance data. The data is PDS3 format, and there are *.IMG, *.HDR, and *.LBL.

I have installed vicar according to the guide.

I tried "java jpl.mipl.io.jConvertIIO" like this:

java jpl.mipl.io.jConvertIIO inp=*.IMG out=*.vic format=pds

It fails and shows:
jConvertIIO calling imUtil.fullRead() Exception java.lang.NullPointerException
java.lang.NullPointerException
        at jpl.mipl.io.jConvertIIO.conv(jConvertIIO.java:2489)
        at jpl.mipl.io.jConvertIIO.<init>(jConvertIIO.java:407)
        at jpl.mipl.io.jConvertIIO.main(jConvertIIO.java:548)
jConvertIIO exiting
JConvertIIO
0) inp = M3G20090207T161103_V01_RFL.IMG
1) out = M3G20090207T161103_V01_RFL.vic
2) format = pds

I also tried vtiff like this:
$R2LIB/vtiff inp=M3G20090207T161103_V01_RFL.IMG out=M3G20090207T161103_V01_RFL.vic

It fails and shows:
Beginning VICAR task VTIFF
VTIFF version 2019-09-18
[VIC2-GENERR] Exception in XVOPEN, processing file: M3G20090207T161103_V01_RFL.IMG
[VIC2-BADLBL] Bad input label; check file contents
 ** ABEND called **

I'm not familiar with coding, could anyone tell me what the problem is and how to fix it?

Many thanks!
Yu
Reply all
Reply to author
Forward
0 new messages