Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transform of a PDS3 TABLE does not account for OFFSET #25

Open
rchenatjpl opened this issue Apr 14, 2021 · 3 comments
Open

transform of a PDS3 TABLE does not account for OFFSET #25

rchenatjpl opened this issue Apr 14, 2021 · 3 comments
Assignees
Labels

Comments

@rchenatjpl
Copy link

In the attached .lbl, OFFSET on line 250 is set to something. 'transform -f csv x.lbl' produced 3 files. I edited x.lbl to change that OFFSET to another value, ran transform again, and got the exact same 3 files.

% transform -V
{project.groupId}:transform
Version 1.11.1
Release Date: 2019-12-13 11:01:28
Copyright 2019, by the California Institute of Technology ("Caltech").
All rights reserved.
%
%
% transform -f csv x.lbl
New PDS4 Label: /Users/rchen/Desktop/x.xml
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/Users/rchen/PDS4.10a.tools/transform-1.11.1/lib/jaxb-impl-2.2.4.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
outputs = [/Users/rchen/Desktop/SDC_0289371117_700_E_SM.csv, /Users/rchen/Desktop/x_delimited_csv.xml]
PDS Transform Tool Log
Version Version 1.11.1
Time Wed, Apr 14 2021 at 01:26:16 PM
Target [file:/Users/rchen/Desktop/x.lbl]
Output Directory /Users/rchen/Desktop
Index 1
Format Type csv
INFO: [file:/Users/rchen/Desktop/x.lbl] Transforming label file: file:/Users/rchen/Desktop/x.lbl
INFO: [file:/Users/rchen/Desktop/x.lbl] Finished transforming PDS3 label 'file:/Users/rchen/Desktop/x.lbl' to a PDS4 label '/Users/rchen/Desktop/x.xml'
INFO: [file:/Users/rchen/Desktop/x.xml] Transforming table '1' of file: file:/Users/rchen/Desktop/SDC_0289371117_700_E_SM.FIT
INFO: [file:/Users/rchen/Desktop/x.xml] Successfully transformed table '1' to the following output: /Users/rchen/Desktop/SDC_0289371117_700_E_SM.csv
INFO: [file:/Users/rchen/Desktop/x.xml] Successfully created Table_Delimited label: /Users/rchen/Desktop/x_delimited_csv.xml
%
%
% mkdir z
% mv /Users/rchen/Desktop/velocity.log /Users/rchen/Desktop/x_delimited_csv.xml /Users/rchen/Desktop/x.xml /Users/rchen/Desktop/SDC_0289371117_700_E_SM.csv z
%
%
% vi x.lbl
% transform -f csv x.lbl New PDS4 Label: /Users/rchen/Desktop/x.xml
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/Users/rchen/PDS4.10a.tools/transform-1.11.1/lib/jaxb-impl-2.2.4.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
outputs = [/Users/rchen/Desktop/SDC_0289371117_700_E_SM.csv, /Users/rchen/Desktop/x_delimited_csv.xml]
PDS Transform Tool Log
Version Version 1.11.1
Time Wed, Apr 14 2021 at 01:29:01 PM
Target [file:/Users/rchen/Desktop/x.lbl]
Output Directory /Users/rchen/Desktop
Index 1
Format Type csv
INFO: [file:/Users/rchen/Desktop/x.lbl] Transforming label file: file:/Users/rchen/Desktop/x.lbl
INFO: [file:/Users/rchen/Desktop/x.lbl] Finished transforming PDS3 label 'file:/Users/rchen/Desktop/x.lbl' to a PDS4 label '/Users/rchen/Desktop/x.xml'
INFO: [file:/Users/rchen/Desktop/x.xml] Transforming table '1' of file: file:/Users/rchen/Desktop/SDC_0289371117_700_E_SM.FIT
INFO: [file:/Users/rchen/Desktop/x.xml] Successfully transformed table '1' to the following output: /Users/rchen/Desktop/SDC_0289371117_700_E_SM.csv
INFO: [file:/Users/rchen/Desktop/x.xml] Successfully created Table_Delimited label: /Users/rchen/Desktop/x_delimited_csv.xml
%
%
% diff z/SDC_0289371117_700_E_SM.csv .
% diff z/x_delimited_csv.xml .
% diff z/x.xml .

Archive.zip

@rchenatjpl rchenatjpl added bug Something isn't working needs:triage labels Apr 14, 2021
@jordanpadams
Copy link
Member

@rchenatjpl thanks. sorry i am just catching up to this ticket. were you by chance able to test this on PDSView?

@rchenatjpl
Copy link
Author

No, the PDS3 PDSView doesn't work on macos 10.15.7. I think transform didn't work for me either, which I wrote about elsewhere, I think.

@jordanpadams
Copy link
Member

copy thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ToDo
Development

No branches or pull requests

4 participants