GNS-Science / nzshm-runzi

Python tools for running, scheduling, collecting inputs & outputs of NZSHM jobs on workstations and HPC cluster
0 stars 1 forks source link

FIX: Named Fault Reports for Scaled/TimeDependent InversionSolutions #137

Closed chrisbc closed 10 months ago

chrisbc commented 2 years ago

Named faults are not being produced in Runzi, because the guard condition require a fault_model meta argument in the rupture set file. & this is not a direct relationships for these derivied solutions. Possible fixes.


query td or scaled_vs_upstream {
  node_IS:node(id:"SW52ZXJzaW9uU29sdXRpb246MTA5ODE4") {
    __typename
    ... on InversionSolution {
      #meta{k v}
      id
    }
  }

  # node_TD:node(id:"VGltZURlcGVuZGVudEludmVyc2lvblNvbHV0aW9uOjExMzUyNQ==") {
  # __typename
  #    ... on TimeDependentInversionSolution {
  node_SID:node(id:"U2NhbGVkSW52ZXJzaW9uU29sdXRpb246MTEyMDY5") {
    __typename
    ... on  ScaledInversionSolution {
      meta{k v}
      source_solution {
        id
        #meta {k v}
        produced_by {
          __typename
          ... on AutomationTask {
            files {
              total_count
              edges {
                node {
                  file {
                    ... on File {
                      meta {k v}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}```