Comments (5)
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.
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.
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.
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.
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)
- AOT support HOT 1
- Add support for product definition template 32
- Missing grib2 definitions HOT 3
- PolarStereographicGridDefinition.EnumerateGridPoints Not Implemented Exception - when reader.GetDatasetValues is called HOT 5
- Is there any usage examples? HOT 1
- Reading Grib1 datasets by name HOT 1
- Grib1Reader ReadRecordRawData only returning 0 values HOT 2
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 ngrib.