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

Fix the 404 on the data URL link #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix the 404 on the data URL link #11

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 2, 2019

The URL was invalid and threw a 404. The service changed the dir parameter and the roundHours had to be preceded by a forward slash.

image

@ghost ghost changed the title Fix the 404 on the Fix the 404 on the data URL link Sep 2, 2019
@AmirFarhan
Copy link

It seems that some data when fetched still give me the 404 error after your changes. Are you experiencing this?

@ghost
Copy link
Author

ghost commented Sep 5, 2019

Hmm, I noticed only one 404 in my logs and that was on a request for September 5, which is in the future and the data doesn't look like is uploaded yet. Other than that json-data had everything in it. What request so you get the 404 on?

@ghost
Copy link
Author

ghost commented Sep 5, 2019

screenshot

@AmirFarhan
Copy link

That would be one of them. The others, if you wait long enough, will appear and it seems like they do starting from 26th of August (backwards). Perhaps the NOAA will eliminate their old data after a certain period of time?

Screen Shot 2019-09-05 at 10 57 57 AM

@LukePrior
Copy link

I have applied this update but am running into an issue:

GET http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t18z.pgrb2.1p00.f000&lev_10_m_above_ground=on&lev_surface=on&var_TMP=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=/gfs.20210405/18&
running server on port 7000
response 404 | 2021040518
GET http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t12z.pgrb2.1p00.f000&lev_10_m_above_ground=on&lev_surface=on&var_TMP=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=/gfs.20210405/12&
response 404 | 2021040512
GET http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t06z.pgrb2.1p00.f000&lev_10_m_above_ground=on&lev_surface=on&var_TMP=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=/gfs.20210405/06&
response 404 | 2021040506
GET http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl?file=gfs.t00z.pgrb2.1p00.f000&lev_10_m_above_ground=on&lev_surface=on&var_TMP=on&var_UGRD=on&var_VGRD=on&leftlon=0&rightlon=360&toplat=90&bottomlat=-90&dir=/gfs.20210405/00&
response 404 | 2021040500

@Flowm
Copy link

Flowm commented Apr 6, 2021

The url format has changed again recently. For anyone running into this issue, I try to mantain a slighlty refactored fork with working download at https://github.com/Flowm/wind-server.

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

Successfully merging this pull request may close these issues.

3 participants