GithubHelp home page GithubHelp logo

Comments (5)

LevN0 avatar LevN0 commented on August 22, 2024

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.

eischaefer avatar eischaefer commented on August 22, 2024

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.

LevN0 avatar LevN0 commented on August 22, 2024

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.

eischaefer avatar eischaefer commented on August 22, 2024

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.

LevN0 avatar LevN0 commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.