avaframe/AvaFrame

View on GitHub

Showing 281 of 942 total issues

Function addParticles has 7 arguments (exceeds 6 allowed). Consider refactoring.
Open

def addParticles(particles, nAdd, ind, mNew, xNew, yNew, zNew):
Severity: Major
Found in avaframe/com1DFA/particleTools.py - About 35 mins to fix

    Function readFields has 7 arguments (exceeds 6 allowed). Consider refactoring.
    Open

    def readFields(inDir, resType, simName="", flagAvaDir=True, comModule="com1DFA", timeStep="", atol=1.0e-6):
    Severity: Major
    Found in avaframe/com1DFA/com1DFA.py - About 35 mins to fix

      Function plotDepthToThickness has 7 arguments (exceeds 6 allowed). Consider refactoring.
      Open

      def plotDepthToThickness(depth, thickness, slopeAngleField, profileAxis, profileIndex, outDir, pName):
      Severity: Major
      Found in avaframe/out3Plot/outTransformPlots.py - About 35 mins to fix

        Function plotValuesScatter has 7 arguments (exceeds 6 allowed). Consider refactoring.
        Open

        def plotValuesScatter(peakValues, resType1, resType2, cfg, avalancheDir, statsMeasure='max', flagShow=False):
        Severity: Major
        Found in avaframe/out3Plot/statsPlots.py - About 35 mins to fix

          Function plotDistFromDF has 7 arguments (exceeds 6 allowed). Consider refactoring.
          Open

          def plotDistFromDF(cfg, dataDF, name1, name2, scenario='', parametersDict='', type=''):
          Severity: Major
          Found in avaframe/out3Plot/statsPlots.py - About 35 mins to fix

            Function computeEulerTimeStep has 7 arguments (exceeds 6 allowed). Consider refactoring.
            Open

            def computeEulerTimeStep(cfg, particles, fields, zPartArray0, dem, tCPU, frictType):
            Severity: Major
            Found in avaframe/com1DFA/com1DFA.py - About 35 mins to fix

              Function addConstrainedDataField has 7 arguments (exceeds 6 allowed). Consider refactoring.
              Open

              def addConstrainedDataField(fileName, resType, demField, ax, cellSize, alpha=1., oneColor=''):
              Severity: Major
              Found in avaframe/out1Peak/outPlotAllPeak.py - About 35 mins to fix

                Function NonUnifIm has 7 arguments (exceeds 6 allowed). Consider refactoring.
                Open

                def NonUnifIm(ax, x, y, z, xlab, ylab, **kwargs):
                Severity: Major
                Found in avaframe/out3Plot/plotUtils.py - About 35 mins to fix

                  Function writeABpostOut has 7 arguments (exceeds 6 allowed). Consider refactoring.
                  Open

                  def writeABpostOut(pathDict, dem, splitPoint, eqParams, resAB, cfgMain, reportDictList):
                  Severity: Major
                  Found in avaframe/out3Plot/outAB.py - About 35 mins to fix

                    Function plotTimeCPULog has 7 arguments (exceeds 6 allowed). Consider refactoring.
                    Open

                    def plotTimeCPULog(simDF, outDirTest, cfgSimi, xField, coloredBy, sizedBy, logScale=False):
                    Severity: Major
                    Found in avaframe/out3Plot/outAna1Plots.py - About 35 mins to fix

                      Function addHillShadeContours has 7 arguments (exceeds 6 allowed). Consider refactoring.
                      Open

                      def addHillShadeContours(
                      Severity: Major
                      Found in avaframe/out3Plot/plotUtils.py - About 35 mins to fix

                        Function animationPlot has 7 arguments (exceeds 6 allowed). Consider refactoring.
                        Open

                        def animationPlot(demData, data, cellSize, resType, cfgRangeTime, mtiInfo, timeStep):
                        Severity: Major
                        Found in avaframe/out3Plot/outDistanceTimeAnalysis.py - About 35 mins to fix

                          Function plotRemovePart has 7 arguments (exceeds 6 allowed). Consider refactoring.
                          Open

                          def plotRemovePart(xCoord0, yCoord0, header, X, Y, Mask, mask):
                          Severity: Major
                          Found in avaframe/out3Plot/outDebugPlots.py - About 35 mins to fix

                            Function _plotVariable has 7 arguments (exceeds 6 allowed). Consider refactoring.
                            Open

                            def _plotVariable(ax1, cfg, simiDict, comSol, limits, axis, particles=False):
                            Severity: Major
                            Found in avaframe/out3Plot/outAna1Plots.py - About 35 mins to fix

                              Function generateCom1DFAPathPlot has 7 arguments (exceeds 6 allowed). Consider refactoring.
                              Open

                              def generateCom1DFAPathPlot(avalancheDir, cfgPath, avaProfileMass, dem, parabolicFit, splitPoint, simName):
                              Severity: Major
                              Found in avaframe/out3Plot/outCom3Plots.py - About 35 mins to fix

                                Function writeLine has 7 arguments (exceeds 6 allowed). Consider refactoring.
                                Open

                                def writeLine(ind, outfile, x, y, z, s, angle):
                                Severity: Major
                                Found in avaframe/out3Plot/outAB.py - About 35 mins to fix

                                  Function Ffunction has 7 arguments (exceeds 6 allowed). Consider refactoring.
                                  Open

                                  def Ffunction(t, x, earthPressureCoefficients, zeta, delta, eps_x, eps_y):
                                  Severity: Major
                                  Found in avaframe/ana1Tests/simiSolTest.py - About 35 mins to fix

                                    Function computeU has 7 arguments (exceeds 6 allowed). Consider refactoring.
                                    Open

                                    def computeU(solSimi, x1, y1, i, L_x, U, AminusC):
                                    Severity: Major
                                    Found in avaframe/ana1Tests/simiSolTest.py - About 35 mins to fix

                                      Function projectOnGrid has 7 arguments (exceeds 6 allowed). Consider refactoring.
                                      Open

                                      def projectOnGrid(x, y, Z, csz=1, xllc=0, yllc=0, interp="bilinear"):
                                      Severity: Major
                                      Found in avaframe/in3Utils/geoTrans.py - About 35 mins to fix

                                        Function createSampleWithVariationForThParameters has 7 arguments (exceeds 6 allowed). Consider refactoring.
                                        Open

                                        def createSampleWithVariationForThParameters(avaDir, cfgProb, cfgStart, varParList, valVariationValue, varType, thReadFromShp):
                                        Severity: Major
                                        Found in avaframe/ana4Stats/probAna.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language