Coder Social home page Coder Social logo

Pulling data from NOAA about earth HOT 3 CLOSED

cambecc avatar cambecc commented on August 26, 2024
Pulling data from NOAA

from earth.

Comments (3)

cambecc avatar cambecc commented on August 26, 2024

The NWS changed the file name format back in January. What if you try gfs.t00z.pgrb2.1p00.f000 instead of gfs.t00z.pgrbf00.grib2?

from earth.

jtippman avatar jtippman commented on August 26, 2024

That worked. Thanks!

curl "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t00z.pgrb2.1p00.f000&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&dir=%2Fgfs.2015071200" -o gfs.t00z.pgrb2.1p00.f000
grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t00z.pgrb2.1p00.f000 

from earth.

AndreaAstronaut avatar AndreaAstronaut commented on August 26, 2024

Hi,

did the file name change again?
With the following url:
http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs.pl?file=gfs.t00z.pgrb2.1p00.f000&lev_10_m_above_ground=on&var_UGRD=on&var_VGRD=on&dir=%2Fgfs.2016091300

I get the following:

<title>Error</title>

Error

Filename does not match legal pattern: gfs.t\d{2}z.pgrbf\d{2,3}.grib2$

g2sub 1.1.0.beta-6 and comments: [email protected], [email protected]

However, the following link does seem to work, so the file name seems ok:
http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2016091300/gfs.t00z.pgrb2.1p00.f000

If I follow the legal file name suggested:
http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs.pl?file=gfs.t18z.pgrbf00.grib2&lev_500_mb=on&lev_700_mb=on&lev_1000_mb=on&var_HGT=on&dir=%2Fgfs.2013091300

Then i get:
Data file is not present: /common/data/model/com/gfs/prod/gfs.2013091300/gfs.t18z.pgrbf00.grib2

Am I doing something wrong?

from earth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.