Closed KoyaS closed 2 weeks ago
upon further investigation it appears that the file contents is not an hd5 file but instead a blocked request:
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body { font-family:Arial; margin-left:40px; }img { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p { font-size: 13px; color: #000000; margin: 7px 0px 0px 0px }#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>Microsoft</title></head><body><div id='content'><div id='message'><h2>The request is blocked.</h2></div><div id='errorref'><span>Ref A: 27F7B8FDCF174B729DAD192DD67D6E91 Ref B: BN3EDGE0616 Ref C: 2024-10-02T18:00:42Z</span></div></div></body></html>
could this link have expired and if so could i get a new one?
The simplest solution is to copy https://onedrive.live.com/download?cid=45D5A10F94E33861&resid=45D5A10F94E33861%21248707&authkey=AKRa5kb3XFj4G-o and paste it into your web browser; this way, you can download the dataset.
i'm on mac so i had to download this file with curl:
!curl -L "https://onedrive.live.com/download?cid=45D5A10F94E33861&resid=45D5A10F94E33861%21248707&authkey=AKRa5kb3XFj4G-o" -o shhs_dataset.h5
and when i try to open it:
shhs_dataset = h5py.File("./shhs_dataset.h5", 'r')