{"id":1176,"date":"2021-12-28T13:37:02","date_gmt":"2021-12-28T20:37:02","guid":{"rendered":"https:\/\/jeremywhittaker.com\/?p=1176"},"modified":"2021-12-28T13:37:03","modified_gmt":"2021-12-28T20:37:03","slug":"valueerror-cannot-set-writeable-flag-to-true-of-this-array","status":"publish","type":"post","link":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/","title":{"rendered":"ValueError: cannot set WRITEABLE flag to True of this array"},"content":{"rendered":"\n<p>If you&#8217;re getting this error when trying to read a simple .h5 file. Change your code when you originally create the .h5 file to specify format=&#8217;table&#8217; This should resolve the issue. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">This code does not work<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"723\" height=\"427\" data-src=\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png\" alt=\"\" class=\"wp-image-1177 lazyload\" data-srcset=\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png 723w, https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2-300x177.png 300w, https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2-500x295.png 500w\" data-sizes=\"(max-width: 723px) 100vw, 723px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 723px; --smush-placeholder-aspect-ratio: 723\/427;\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br>This code does work<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"495\" height=\"90\" data-src=\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-3.png\" alt=\"\" class=\"wp-image-1178 lazyload\" data-srcset=\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-3.png 495w, https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-3-300x55.png 300w\" data-sizes=\"(max-width: 495px) 100vw, 495px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 495px; --smush-placeholder-aspect-ratio: 495\/90;\" \/><\/figure>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re getting this error when trying to read a simple .h5 file. Change your code when you originally create the .h5 file to specify format=&#8217;table&#8217; This should&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1176","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ValueError: cannot set WRITEABLE flag to True of this array - Jeremy Whittaker<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ValueError: cannot set WRITEABLE flag to True of this array - Jeremy Whittaker\" \/>\n<meta property=\"og:description\" content=\"If you&#8217;re getting this error when trying to read a simple .h5 file. Change your code when you originally create the .h5 file to specify format=&#8217;table&#8217; This should...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/\" \/>\n<meta property=\"og:site_name\" content=\"Jeremy Whittaker\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/WhittakerJeremy\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/WhittakerJeremy\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-28T20:37:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-28T20:37:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"723\" \/>\n\t<meta property=\"og:image:height\" content=\"427\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JeremyWhittaker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"JeremyWhittaker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/\"},\"author\":{\"name\":\"JeremyWhittaker\",\"@id\":\"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c\"},\"headline\":\"ValueError: cannot set WRITEABLE flag to True of this array\",\"datePublished\":\"2021-12-28T20:37:02+00:00\",\"dateModified\":\"2021-12-28T20:37:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/\"},\"wordCount\":52,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c\"},\"image\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/\",\"url\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/\",\"name\":\"ValueError: cannot set WRITEABLE flag to True of this array - Jeremy Whittaker\",\"isPartOf\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png\",\"datePublished\":\"2021-12-28T20:37:02+00:00\",\"dateModified\":\"2021-12-28T20:37:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage\",\"url\":\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png\",\"contentUrl\":\"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png\",\"width\":723,\"height\":427},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/new.jeremywhittaker.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ValueError: cannot set WRITEABLE flag to True of this array\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/new.jeremywhittaker.com\/#website\",\"url\":\"https:\/\/new.jeremywhittaker.com\/\",\"name\":\"Jeremy Whittaker\",\"description\":\"Research, software, markets, housing, and energy\",\"publisher\":{\"@id\":\"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/new.jeremywhittaker.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c\",\"name\":\"JeremyWhittaker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g\",\"caption\":\"JeremyWhittaker\"},\"logo\":{\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g\"},\"sameAs\":[\"http:\/\/www.jeremywhittaker.com\",\"https:\/\/www.facebook.com\/WhittakerJeremy\",\"https:\/\/www.linkedin.com\/in\/jeremywhittaker\/\"],\"url\":\"https:\/\/new.jeremywhittaker.com\/index.php\/author\/jeremywhittaker\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ValueError: cannot set WRITEABLE flag to True of this array - Jeremy Whittaker","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"ValueError: cannot set WRITEABLE flag to True of this array - Jeremy Whittaker","og_description":"If you&#8217;re getting this error when trying to read a simple .h5 file. Change your code when you originally create the .h5 file to specify format=&#8217;table&#8217; This should...","og_url":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/","og_site_name":"Jeremy Whittaker","article_publisher":"https:\/\/www.facebook.com\/WhittakerJeremy","article_author":"https:\/\/www.facebook.com\/WhittakerJeremy","article_published_time":"2021-12-28T20:37:02+00:00","article_modified_time":"2021-12-28T20:37:03+00:00","og_image":[{"width":723,"height":427,"url":"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png","type":"image\/png"}],"author":"JeremyWhittaker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"JeremyWhittaker","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#article","isPartOf":{"@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/"},"author":{"name":"JeremyWhittaker","@id":"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c"},"headline":"ValueError: cannot set WRITEABLE flag to True of this array","datePublished":"2021-12-28T20:37:02+00:00","dateModified":"2021-12-28T20:37:03+00:00","mainEntityOfPage":{"@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/"},"wordCount":52,"commentCount":0,"publisher":{"@id":"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c"},"image":{"@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage"},"thumbnailUrl":"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/","url":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/","name":"ValueError: cannot set WRITEABLE flag to True of this array - Jeremy Whittaker","isPartOf":{"@id":"https:\/\/new.jeremywhittaker.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage"},"image":{"@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage"},"thumbnailUrl":"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png","datePublished":"2021-12-28T20:37:02+00:00","dateModified":"2021-12-28T20:37:03+00:00","breadcrumb":{"@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#primaryimage","url":"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png","contentUrl":"https:\/\/new.jeremywhittaker.com\/wp-content\/uploads\/2021\/12\/image-2.png","width":723,"height":427},{"@type":"BreadcrumbList","@id":"https:\/\/new.jeremywhittaker.com\/index.php\/2021\/12\/28\/valueerror-cannot-set-writeable-flag-to-true-of-this-array\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/new.jeremywhittaker.com\/"},{"@type":"ListItem","position":2,"name":"ValueError: cannot set WRITEABLE flag to True of this array"}]},{"@type":"WebSite","@id":"https:\/\/new.jeremywhittaker.com\/#website","url":"https:\/\/new.jeremywhittaker.com\/","name":"Jeremy Whittaker","description":"Research, software, markets, housing, and energy","publisher":{"@id":"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/new.jeremywhittaker.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/new.jeremywhittaker.com\/#\/schema\/person\/ed0edfdefb3e180693efef453372980c","name":"JeremyWhittaker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g","caption":"JeremyWhittaker"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/c8ac20e6dfa86b5f27ce9bffee4851099770cbea5ae7338a274865bfbc8c0218?s=96&d=retro&r=g"},"sameAs":["http:\/\/www.jeremywhittaker.com","https:\/\/www.facebook.com\/WhittakerJeremy","https:\/\/www.linkedin.com\/in\/jeremywhittaker\/"],"url":"https:\/\/new.jeremywhittaker.com\/index.php\/author\/jeremywhittaker\/"}]}},"_links":{"self":[{"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/posts\/1176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/comments?post=1176"}],"version-history":[{"count":0,"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/posts\/1176\/revisions"}],"wp:attachment":[{"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/media?parent=1176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/categories?post=1176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/new.jeremywhittaker.com\/index.php\/wp-json\/wp\/v2\/tags?post=1176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}