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

updated links and urls #39

Open
grantiago opened this issue Feb 11, 2023 · 0 comments
Open

updated links and urls #39

grantiago opened this issue Feb 11, 2023 · 0 comments

Comments

@grantiago
Copy link

Awesome project. Thank you for sharing this. It took me so long to get this and grib2json working I'm out of time for making a pull request. I spent hours finding and filtering the gfs data. Hopefully my notes below will help others.

The NOMADS link for retrieving the data is dead. updated -> https://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl
Drill down and filter to match the project. The nomads grib filters for this project you need

850_mb
&var_UGRD=on
&var_VGRD=on

The final URL I used looked like this:
curl "https://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t00z.pgrb2.1p00.f000&lev_850_mb=on&var_UGRD=on&var_VGRD=on&dir=%2Fgfs.20230211%2F00%2Fatmos" -o gfs.t00z.pgrb2.1p00.f000

In the resources it would be better to reference grib2json and not Earth. Earth is as complex as the Earth itself, and while beautiful, it is not used here. grib2json is correct.

The install instructions on grib2json are brief. If you are having problems, in the grib2json issues look for the issue by Edison91 Those instructions had to be modified slightly for my env. linux vs. windows.

The final grib2json cmd I used:
grib2json --names --data --output ../gfs_4_20230211_0000_000.json ../gfs.t00z.pgrb2.1p00.f000

Of course change the date or file name and path to your purposes.

I don't remember where I saw this comment. It was of great use matching my grib results to the json required by this project.
grib2json -n -o ../fieldsAndValues.json ../gfs.t00z.pgrb2.1p00.f000
I could see what was in my grib file and filter it down to match the json needed here.

Hope the above is accurate and helpful. Thank You.

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

No branches or pull requests

1 participant