Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoValidGribException: No valid GRIB records found for RAP and NAM wind data #21

Open
gaci0703 opened this issue Aug 9, 2022 · 4 comments

Comments

@gaci0703
Copy link

gaci0703 commented Aug 9, 2022

Hello.
You have recently updated the jgribx.jar to handle the following data: https://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.gfs_CY.00/RD.20220705/PT.grid_DF.gr2/.
Now I am having issues with NAM and RAP data:

https://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.rap_CY.06/RD.20220725/PT.grid_DF.gr2/ - for RAP and https://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.nam_AR.ak_CY.06/RD.20220725/PT.grid_DF.gr2/ for NAM

For the RD.20220725 above- please update to the current date to see data for that day.

When I put this data into a GribFile, I get the NoValidGribException. I am using the current version of the JGribX.jar. After downloading one of these records from this url, I also checked using java -jar JGribX.jar -i grib2.grb and I get the same NoValidGribException. Can you please tell me what is wrong with this data?

Thank you so much for helping with decoding GFS - hopefully it will not be a big issue for RAP and NAM.
Christine

@spidru
Copy link
Owner

spidru commented Aug 9, 2022

Hi @gaci0703,

Thanks for opening a new issue on this. The links you've shared do not work for me. Can you share them some other way?

@gaci0703
Copy link
Author

@spidru
Copy link
Owner

spidru commented Aug 23, 2022

Ok I've managed to access the files now. Taking this file as reference, I see that JGribX is skipping all records since they all use grid type 30 (Lambert Conformal), which is currently not supported. You can see this as well by adding -l 3 when calling JGribX to include warning messages.

I've already received a request to look into this in #10. I'll see if I can prioritize it.

@gaci0703
Copy link
Author

Thank you so much. I will keep checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants