Title: FAS module no longer works as a standalone module (without comparing to observations) · Issue #40 · SCECcode/bbp · GitHub
Open Graph Title: FAS module no longer works as a standalone module (without comparing to observations) · Issue #40 · SCECcode/bbp
X Title: FAS module no longer works as a standalone module (without comparing to observations) · Issue #40 · SCECcode/bbp
Description: @fabiolsilva, I had been using the FAS module to compute FAS for simulations where I was not comparing with any observations. This commit to the FAS module now breaks it if observations aren't supplied: 646b247 I get this stack trace at ...
Open Graph Description: @fabiolsilva, I had been using the FAS module to compute FAS for simulations where I was not comparing with any observations. This commit to the FAS module now breaks it if observations aren't supp...
X Description: @fabiolsilva, I had been using the FAS module to compute FAS for simulations where I was not comparing with any observations. This commit to the FAS module now breaks it if observations aren't ...
Opengraph URL: https://github.com/SCECcode/bbp/issues/40
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"FAS module no longer works as a standalone module (without comparing to observations)","articleBody":"@fabiolsilva, I had been using the FAS module to compute FAS for simulations where I was not comparing with any observations. This commit to the FAS module now breaks it if observations aren't supplied:\r\n\r\n646b247492212ade3f6a59210fcfd90cd050c29f\r\n\r\nI get this stack trace at first:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/project/scec_608/kmilner/bbp/dev/bbp/comps/run_bbp.py\", line 304, in \u003cmodule\u003e\r\n obj = item.instantiate(sim_id)\r\n File \"/project/scec_608/kmilner/bbp/dev/bbp/comps/module.py\", line 134, in instantiate\r\n return globals()[self.module_name](*self.module_args, **self.kw_args)\r\nTypeError: __init__() missing 1 required positional argument: 'i_comparison_label'\r\n```\r\n\r\nI then tried changing the __init__ method to default i_comparison_label to None, but get a new one:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/project/scec_608/kmilner/bbp/dev/bbp/comps/run_bbp.py\", line 305, in \u003cmodule\u003e\r\n obj.run()\r\n File \"/project/scec_608/kmilner/bbp/dev/bbp/comps/fas.py\", line 836, in run\r\n obs_dt = read_bbp_dt(input_obs_acc_file)\r\n File \"/project/scec_608/kmilner/bbp/dev/bbp/comps/fas.py\", line 339, in read_bbp_dt\r\n input_file = open(bbp_file)\r\nFileNotFoundError: [Errno 2] No such file or directory: '/tmp/SLURM_3430421/tmpdata/11127002307386261/obs_seis_USC/USC.bbp'\r\n```\r\n\r\nI need this working soon, so I'll start throwing a bunch of if statements in there to isolate the observation code, but thought I would give you the chance to do it if you would prefer and can get to it in the next day or so. Thanks!\r\n\r\nKevin","author":{"url":"https://github.com/kevinmilner","@type":"Person","name":"kevinmilner"},"datePublished":"2022-01-25T00:26:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/40/bbp/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ca6d07be-12ae-e757-39b1-99ced6ec0988 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABB0:3D32FE:4524B90:5ECA764:698CB611 |
| html-safe-nonce | 846d43af841cb8307f4cdcd6a8de5109fdbfdda1dd1d495f032a4567cef75b0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkIwOjNEMzJGRTo0NTI0QjkwOjVFQ0E3NjQ6Njk4Q0I2MTEiLCJ2aXNpdG9yX2lkIjoiNjc0Nzc0MzU3MzQyNzE0MDExMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44d2e455dc155e62edff8effa22a551d3d612ee393475f31c5ce109d76bfe8f7 |
| hovercard-subject-tag | issue:1113285219 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SCECcode/bbp/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01d1deb96e9b1a198423032fba740998b6a6ef2a2504df2a942a3641f249eb23/SCECcode/bbp/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01d1deb96e9b1a198423032fba740998b6a6ef2a2504df2a942a3641f249eb23/SCECcode/bbp/issues/40 |
| og:image:alt | @fabiolsilva, I had been using the FAS module to compute FAS for simulations where I was not comparing with any observations. This commit to the FAS module now breaks it if observations aren't supp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kevinmilner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/SCECcode/bbp git https://github.com/SCECcode/bbp.git |
| octolytics-dimension-user_id | 8519819 |
| octolytics-dimension-user_login | SCECcode |
| octolytics-dimension-repository_id | 61656861 |
| octolytics-dimension-repository_nwo | SCECcode/bbp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 61656861 |
| octolytics-dimension-repository_network_root_nwo | SCECcode/bbp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width