weacast / weacast-grib2json

CLI to converts GRIB2 files to JSON
MIT License
40 stars 9 forks source link

How to convert between scan modes #12

Closed crazyfree closed 2 years ago

crazyfree commented 4 years ago

Hi, I have trouble with grib2 scan mode. My model expects scan mode 0 but data is in mode 64.

If you don't want to introduce new feature. Kindly advices how to reach it.

Thanks!

claustres commented 4 years ago

Hi, sorry for the delay but I was on leave.

Could you please share more context about what you are trying to achieve and possibly a sample file ? For instance are you only using this tool to get data in json or do you also use weacast to manage your data ?

I might be wrong but the scanning mode simply tells you how to interpret the data correctly for your use case and this should not really change something in the reader, it simply reads data and give them you back.

claustres commented 2 years ago

Closing now as no feedback, please reopen if required.