-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Checked for duplicates
Yes - I've already checked
π Describe the bug
When I tried transforming the table, I get an error:
ERROR: GroupFieldCharacter attribute group_length is larger than size of contained fields: 16905 > 16800.
π΅οΈ Expected behavior
I expected the .tab to be transformed into a CSV
π To Reproduce
$ transform-1.14.0-SNAPSHOT/bin/transform -f csv -o tmp/ --target ~/Downloads/20250428/archive/2022122608_DDR.LBL -n 1 -I ~/Downloads/20250428/archive/
INFO: [file:/Users/jpadams/Downloads/20250428/archive/2022122608_DDR.LBL] Transforming label file: file:/Users/jpadams/Downloads/20250428/archive/2022122608_DDR.LBL
INFO: [PDS3Label:setMappings] ParserType: PRODUCT_TOOLS
INFO: [Generator:generate] New PDS4 Label: /Users/jpadams/proj/pds/pdsen/workspace/transform/tmp/2022122608_ddr.xml
INFO: [file:/Users/jpadams/Downloads/20250428/archive/2022122608_DDR.LBL] Finished transforming PDS3 label 'file:/Users/jpadams/Downloads/20250428/archive/2022122608_DDR.LBL' to a PDS4 label 'tmp/2022122608_ddr.xml'
ERROR: [ObjectAccess:getProduct] Failed to load the product from the label.
ERROR: [tmp/2022122608_ddr.xml] Error occurred while transforming table: Error occurred while parsing label 'file:/Users/jpadams/proj/pds/pdsen/workspace/transform/tmp/2022122608_ddr.xml': Unable to parse the product label
ERROR: [file:/Users/jpadams/Downloads/20250428/archive/2022122608_DDR.LBL] Unsuccessful table transformation. Check transformed PDS4 label for possible errors.
$ ~/test/validate-3.6.3/bin/validate --skip-content-validation tmp/2022122608_ddr.xml
...
ERROR [error.label.table_definition_problem] line 1: Data Object #1 (TABLE): ERROR: GroupFieldCharacter attribute group_length is larger than size of contained fields: 16905 > 16800.
1 product validation(s) completed
...
π₯ Environment Info
Windows
π Version of Software Used
1.13.2
π©Ί Test Data / Additional context
π¦ Related requirements
βοΈ Engineering Details
This works just fine trying to read this data with PDR:
import pdr
data = pdr.read(β2022122608_ddr.lblβ)
data.TABLE.to_csv('/Users/jpadams/Downloads/20250428/archive/2022122608_DDR.csv')
π Integration & Test
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
ToDo