Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

grib2json command arguments for 850 mb level U/V compoents #2

Closed
bryanray67 opened this issue Aug 15, 2018 · 5 comments
Closed

grib2json command arguments for 850 mb level U/V compoents #2

bryanray67 opened this issue Aug 15, 2018 · 5 comments

Comments

@bryanray67
Copy link

Hello, I'm trying to find the correct command arguments for grib2json. I see the example for 10 meters above ground, but I'm wanting the 850 mb level.

The --fv code should be 850 (just a guess)?
the --fs code should be 100 instead of 103 (just a guess)?

My command is:
grib2json --names --data --fp 2 --fs 100 --fv 850 --ouput testgrib.json gribfile.grib
I do not get any errors, but the resulting json file is empty.

Any suggestions?
Many thanks!
Bryan

@claustres
Copy link
Member

You can use panoply https://www.giss.nasa.gov/tools/panoply/ to check your grib file for the right values.

I also often use the grib filter interface http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p50.pl to only download the right variable then extract it simply with -d and -o arguments.

@bryanray67
Copy link
Author

Thank you for your reply. I am currently only downloading the single variable at a time, so using -d and -o should do the trick if I leave off --fs and --fv?

@claustres
Copy link
Member

Yes it works for me

@claustres
Copy link
Member

claustres commented Sep 4, 2018

Does it work for you ?

@bryanray67
Copy link
Author

Hello. Yes, it did work for me. Thank you very much.

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

No branches or pull requests

2 participants