netcdf-java icon indicating copy to clipboard operation
netcdf-java copied to clipboard

Update MessageScanner.java

Open zfy68 opened this issue 1 year ago • 9 comments

Description of Changes

is that useful ? about m.setTableLookup(embedTable.getTableLookup()) could some ncep bufr(gdas data format) decode error!

PR Checklist

  • [x] Link to any issues that the PR addresses
  • [ ] Add labels
  • [x] Open as a draft PR until ready for review
  • [x] Make sure GitHub tests pass
  • [ ] Mark PR as "Ready for Review"

zfy68 avatar Sep 19 '22 15:09 zfy68

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 19 '22 15:09 CLAassistant

CLA assistant check All committers have signed the CLA.

ok

zfy68 avatar Sep 19 '22 15:09 zfy68

What issue(s) is this intended to fix?

haileyajohnson avatar Sep 21 '22 16:09 haileyajohnson

What issue(s) is this intended to fix?

Hello, I am personally researching GDAS(Prepbufr) data. I obtained the GDAS - Daily BUFR Files product data for 2022 from the official website.

In the first step, I tried to parse the data through the netcdf-java tool and source code, but I encountered a roadblock. Error codes and error files are as follows:

  1. error code:

image

  1. error file see annex :

gdas.t00z.1bamua.tm00.bufr_d

In the second step, I re-obtained the product data in 2020, parsed the data through netcdf-java, and found that it was normal. normal file see annex : gdas.t12z.adpsfc.tm00.bufr_d.nr

In the end, after many attempts, I modified the above code and it can be parsed normally. On the one hand, I would like to ask the role of the next method? Does it not pass only when the BUFR template has nested tables? Perhaps the template has changed, but the source code has not been updated. By modifying the secondary code is my current way of solving the problem.

zfy68 avatar Sep 22 '22 00:09 zfy68

Hi @zfy68 :

I dont have access to the data files. Can you allow all access, or attach to GitHub if they are not too big?

John

JohnLCaron avatar Oct 03 '22 16:10 JohnLCaron

Hi @zfy68 :

I dont have access to the data files. Can you allow all access, or attach to GitHub if they are not too big?

John

yes, these file too big.

zfy68 avatar Oct 03 '22 22:10 zfy68

I have requested access to those data files on google drive.

JohnLCaron avatar Oct 04 '22 15:10 JohnLCaron

Hi @JohnLCaron : I have turned on viewing permissions.

zfy68 avatar Oct 07 '22 01:10 zfy68

Hi, @haileyajohnson https://github.com/Unidata/netcdf-java/pull/1084#issuecomment-1254349616

zfy68 avatar Oct 10 '22 06:10 zfy68