Comments (5)
Ethan, thank you for reporting.
For ease of debugging, could you include your label and data file? Either upload it here or email me with it by clicking on the link with my name here.
from pds4_tools.
Ethan, thank you for reporting.
For ease of debugging, could you include your label and data file? Either upload it here or email me with it by clicking on the link with my name here.
I have now e-mailed you links to the label and data.
from pds4_tools.
Thank you. We should confirm that we agree in terms of how group fields should be defined according to the PDS4 standard.
Could you take a look at how the record_length, the group_location and group_length fields are defined in the aforementioned links, and let me know if this is also how your values are expressed in the label?
from pds4_tools.
Thank you for your attention. There is no bug.
I am migrating some PDS3 labels to PDS4 and the original label incorrectly provides ITEM_BYTES and ITEM_OFFSET in bits, not bytes. The software that I created to facilitate that migration correctly catches the misstatement for ITEM_BYTES, and consequently <field_length> is correct, but does not correct ITEM_OFFSET, and therefore <group_length> was incorrect in the initial PDS4 label.
I have since fixed that bug and the updated PDS4 label is correctly read by the PDS4 Tools code.
Incidentally, I find your code very clean and well documented! Thank you for that.
from pds4_tools.
Ethan, glad you found the problem and appreciate the complement. Once upon a time a lot of work went into this code.
from pds4_tools.
Related Issues (20)
- PDS4 Viewer: Display Settings Warning HOT 1
- Error with numpy 2.0 HOT 1
- pds4_tools should not propagate (lower level) LogRecords when instructed to be quiet HOT 9
- PDS Standards Change: Line Delimiters HOT 11
- `pds4-tools` on conda HOT 7
- Colons stripped from table field names on read HOT 3
- Releasing a new version HOT 4
- Version of Six causing warnings in python 3.11 HOT 1
- Support for later/latest mpl versions
- PDS4 Viewer : Inconvenient to view large data in table
- pds4 viewer : display a spectral profile from a spectral cube.
- Fix crash when using Movie_Display_Settings
- Investigate default value of ``Label.to_dict(..., skip_attributes=bool)`` HOT 9
- vendored version of six.py is incompatible with python 3.12 HOT 6
- Feature request: Support image coordinates from EBT dictionary HOT 5
- TypeError: 'NoneType' object is not callable when reading a TableDelimited in debug mode with pandas in dept HOT 3
- to_dict method | Reference_List dictionary - sub-groups collapse HOT 2
- table read failure with numpy >= 2.0.0 HOT 1
- PDS_marray.view() failing on numpy >= 2.0.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pds4_tools.