Replies: 2 comments 2 replies
-
Hi @wx-andrew, I'm glad to hear you use Herbie. Sorry the latest release is causing trouble. Thanks for letting me know! 1. Subset files not savingI haven't run into this issue while testing on my Windows machine. I just tried this and didn't have any issue from herbie import Herbie
H = Herbie('2022-10-26 12:00', model='nam', fxx=0)
H.download(":(TMP|DPT):.* mb", verbose=True, overwrite=True) It looks like you are having a permissions issue with the 2. Herbie can't find NAM on NOMADSYes, there does seem to be a problem with getting NAM data from NOMADS. I tried H = Herbie('2022-10-26', model='nam', priority="nomads") It found the IDX file, but not the GRIB2 file! H.SOURCES
OUT:
{'nomads': 'https://nomads.ncep.noaa.gov/pub/data/nccf/com/nam/prod/nam.20221026/nam.t00z.conusnest.hiresf00.tm00.grib2'} That URL actually exists import requests
requests.head(H.SOURCES['nomads']).ok
OUT:
True I'll have to investigate this and see what's up with NOMADS. It looks like this is true for the HRRR model. I wonder if something changed on the NOMADS server how downloads are handled... This seems to be true. Herbie will only download the file if the "Content-Length" is greater than 1 MB. url = H.SOURCES['nomads']
head = requests.head(url)
head.raw.info()["Content-Length"] # <---- This equals 20! That is not right.
The difference is the |
Beta Was this translation helpful? Give feedback.
-
Hi there. Maybe I've hit a similar issue last night on HRRR, see #100 (comment). I think the downloaded files were about 800 kB in size, and apparently not decodable: With kind regards, |
Beta Was this translation helpful? Give feedback.
-
Hi! I have used herbie for quite some time and I recently installed the latest build out of herbie on my work laptop, went to subset model files and its not working.
Below is a very simple example:
I get what appears to be a very positive response:
However, in the command line I see:
and the file is no where to be seen:
On top of that, I am not sure if it is related but I am unable to download from nomads:
To be very clear, I know that its only subsetting that is the issue because when I remove "searchString", the download IS successful.
I am sure that the issue is very obvious unfortunately but I suppose it'll be nice slice of humble pie! :)
Any help would be greatly appreciated!
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions