Dear Forum,
For the past few days I have been having trouble with a routine HYCOM extraction. I use a URL like this:
This failed 4 times this morning (it worked fine for many months previously, until the past few days). The failure mode seems consistent: it is able to get the fields from yesterday and the day before, but fails on the current day.
I do the extraction using python, with the requests module:
r = requests.get(url, timeout=200)
if r.ok:
with open(out_fn,'wb') as f:
f.write(r.content)
got_fmrc = True
r.close()
elif not r.ok:
print(' - Failed with status code:')
print(r.status_code)
I am hoping someone can help with this.
Thanks,
Parker