René's URL Explorer Experiment


Title: mismatching array sizes when reading `element_solid_history_variables` · Issue #63 · open-lasso-python/lasso-python · GitHub

Open Graph Title: mismatching array sizes when reading `element_solid_history_variables` · Issue #63 · open-lasso-python/lasso-python

X Title: mismatching array sizes when reading `element_solid_history_variables` · Issue #63 · open-lasso-python/lasso-python

Description: 🐛 Describe the bug I am trying to read element_solid_history_variables from my *.ptf files, but when I'm calling D3plot() with state_array_filter or state_filter, I get get an error. 🔢 To Reproduce take any .ptf file (d3plot files seem t...

Open Graph Description: 🐛 Describe the bug I am trying to read element_solid_history_variables from my *.ptf files, but when I'm calling D3plot() with state_array_filter or state_filter, I get get an error. 🔢 To Reproduce...

X Description: 🐛 Describe the bug I am trying to read element_solid_history_variables from my *.ptf files, but when I'm calling D3plot() with state_array_filter or state_filter, I get get an error. 🔢 To Repro...

Opengraph URL: https://github.com/open-lasso-python/lasso-python/issues/63

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mismatching array sizes when reading `element_solid_history_variables`","articleBody":"**🐛 Describe the bug**\r\nI am trying to read `element_solid_history_variables` from my *.ptf files, but when I'm calling `D3plot()` with `state_array_filter` or `state_filter`, I get get an error. \r\n\r\n\r\n**🔢 To Reproduce**\r\n1) take any .ptf file (d3plot files seem to work)\r\n2) run the following script:\r\n```\r\nfrom lasso.dyna import D3plot, ArrayType, FilterType\r\nres = D3plot('GM108.ptf', state_array_filter=[ArrayType.element_solid_history_variables])\r\n```\r\n3) get this error message:\r\n`ValueError: could not broadcast input array from shape (522,5913,1,11) into shape (522,5913,1,5)`\r\n\r\n\r\n**💘 Expected behavior**\r\nFunction call works without throwing an error message.\r\n\r\n\r\n\r\n**🖥️ Setup**\r\n - lasso-python version: 2.0.2\r\n - OS: Win11 x64, but also occurs on Linux.\r\n\r\n**ℹ️ Additional context**\r\nMy current workaround is to call `D3plot()` without arguments. I can then read out the array as expected, but the issue is that this doesn't work with the rest of my infrastructure, where I can only read a set of timesteps at a time.","author":{"url":"https://github.com/jakobstanford","@type":"Person","name":"jakobstanford"},"datePublished":"2024-07-24T19:13:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/63/lasso-python/issues/63"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cbb6756f-c767-5676-57ea-8859b5e22883
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE9B8:7377C:12AA81:18F85D:698F5BB3
html-safe-noncefefc47202d107880f85500145871656cddc433741a18941f2dc340328489ca19
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUI4OjczNzdDOjEyQUE4MToxOEY4NUQ6Njk4RjVCQjMiLCJ2aXNpdG9yX2lkIjoiMTY4ODQxMjU2NDQwMzg4NTMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc5830dd82a74ac18176c374dd7acd2b4deac803a9b9f2f6431dfa208eae91e91
hovercard-subject-tagissue:2428299260
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/open-lasso-python/lasso-python/63/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f26607615b7c7387ae7f8e6b00e67b1e65275f4c3089431ff72129d7455e0086/open-lasso-python/lasso-python/issues/63
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f26607615b7c7387ae7f8e6b00e67b1e65275f4c3089431ff72129d7455e0086/open-lasso-python/lasso-python/issues/63
og:image:alt🐛 Describe the bug I am trying to read element_solid_history_variables from my *.ptf files, but when I'm calling D3plot() with state_array_filter or state_filter, I get get an error. 🔢 To Reproduce...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejakobstanford
hostnamegithub.com
expected-hostnamegithub.com
None974b952535e389ab3b5c0ef3f15bde9af29b6b38f7486069c43d99e51de0e563
turbo-cache-controlno-preview
go-importgithub.com/open-lasso-python/lasso-python git https://github.com/open-lasso-python/lasso-python.git
octolytics-dimension-user_id114169132
octolytics-dimension-user_loginopen-lasso-python
octolytics-dimension-repository_id540129748
octolytics-dimension-repository_nwoopen-lasso-python/lasso-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id540129748
octolytics-dimension-repository_network_root_nwoopen-lasso-python/lasso-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb8e9d6dae5817b2dbe0a3d6d920ff8d3db837168
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/open-lasso-python/lasso-python/issues/63#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-lasso-python%2Flasso-python%2Fissues%2F63
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-lasso-python%2Flasso-python%2Fissues%2F63
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=open-lasso-python%2Flasso-python
Reloadhttps://github.com/open-lasso-python/lasso-python/issues/63
Reloadhttps://github.com/open-lasso-python/lasso-python/issues/63
Reloadhttps://github.com/open-lasso-python/lasso-python/issues/63
open-lasso-python https://github.com/open-lasso-python
lasso-pythonhttps://github.com/open-lasso-python/lasso-python
Notifications https://github.com/login?return_to=%2Fopen-lasso-python%2Flasso-python
Fork 25 https://github.com/login?return_to=%2Fopen-lasso-python%2Flasso-python
Star 76 https://github.com/login?return_to=%2Fopen-lasso-python%2Flasso-python
Code https://github.com/open-lasso-python/lasso-python
Issues 21 https://github.com/open-lasso-python/lasso-python/issues
Pull requests 4 https://github.com/open-lasso-python/lasso-python/pulls
Actions https://github.com/open-lasso-python/lasso-python/actions
Projects 0 https://github.com/open-lasso-python/lasso-python/projects
Security 0 https://github.com/open-lasso-python/lasso-python/security
Insights https://github.com/open-lasso-python/lasso-python/pulse
Code https://github.com/open-lasso-python/lasso-python
Issues https://github.com/open-lasso-python/lasso-python/issues
Pull requests https://github.com/open-lasso-python/lasso-python/pulls
Actions https://github.com/open-lasso-python/lasso-python/actions
Projects https://github.com/open-lasso-python/lasso-python/projects
Security https://github.com/open-lasso-python/lasso-python/security
Insights https://github.com/open-lasso-python/lasso-python/pulse
New issuehttps://github.com/login?return_to=https://github.com/open-lasso-python/lasso-python/issues/63
New issuehttps://github.com/login?return_to=https://github.com/open-lasso-python/lasso-python/issues/63
mismatching array sizes when reading element_solid_history_variableshttps://github.com/open-lasso-python/lasso-python/issues/63#top
https://github.com/jakobstanford
https://github.com/jakobstanford
jakobstanfordhttps://github.com/jakobstanford
on Jul 24, 2024https://github.com/open-lasso-python/lasso-python/issues/63#issue-2428299260
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.