GithubHelp home page GithubHelp logo

Comments (5)

nmangue avatar nmangue commented on July 26, 2024

Hello Philippe,

Thank you for your kind feedback.

This particular AROME dataset uses the JPEG 2000 code stream format to encode the values. However NGrib does not support this data representation format yet (only simple or complex packing of float values). It should have raised an exception instead of reading wrong values.
The tricky part to add this support is to find (or adapt) a reliable, .NET Standard 2.0, open JPEG 2000 library. Would you be interested in implementing this functionality yourself ?

Best regards,
(Bien cordialement si vous รชtes รฉgalement francophone ๐Ÿ˜‰)

Nicolas

from ngrib.

 avatar commented on July 26, 2024

Hello!

Thanks for your fast reply and my appologies for my late reply...

Thanks for explaining to me where the error comes from... I had a look at what exists for JPEG 2000 compression and didn't find any suitable, open source, library :( It would be interesting to integrate this functionnality to have a robust grib library in .NET.

I would be happy to help if a JPEG 2000 library comes up (even tough my coding capacity might not necessarly be enough for the task :/ ). I'll keep an eye open and if I find a possible solution I will get in touch again.

All the best and thanks again for your work ๐Ÿ‘

Salutations :)

Philippe

from ngrib.

nmangue avatar nmangue commented on July 26, 2024

I found that the .NET Standard port of CS2JK seems like a good fit. It was not updated recently but it still does the job.
I have published a 0.6.0 version with this update and some fixes. Could you try it ?

from ngrib.

 avatar commented on July 26, 2024

Hi! I'm really sorry I'm only seeing your message now :( I'm not using my private account, so I don't receive any notifications...

It's very nice you found a solution! I'll try first thing in the morning and let you know how it went!

Thanks again and sorry for the delay...

from ngrib.

 avatar commented on July 26, 2024

Hi again !

Your fix worked great ๐Ÿ‘ I've tested on AROME and now the temperature are decoded correctly!

Thanks a lot for the effort !
Best

from ngrib.

Related Issues (8)

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.