Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pygeodyn pygeodyn
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Geodynamo
  • pygeodynpygeodyn
  • Issues
  • #67
Closed
Open
Created Mar 26, 2020 by Loic Huder@huderl❄Owner

run_algo fails when no observation is available for the first analysis

Bug

KeyError: ER when trying to get the misfits after the first analysis if no observations is available.

Cause

current_misfits is initiated to an empty dict. If no observation is available, the misfits dict is not populated and therefore has no keys.

Proposed fix

Initiate current_misfits with the needed keys thanks to a method of analyser, overridden to add PCA_U if needed (similar to what is already done for inv_cov_matrices).

Assignee
Assign to
Time tracking