Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topo_utils: FsmPlot() undefined variables #77

Open
ArcticSnow opened this issue May 11, 2023 · 2 comments
Open

topo_utils: FsmPlot() undefined variables #77

ArcticSnow opened this issue May 11, 2023 · 2 comments
Assignees

Comments

@ArcticSnow
Copy link
Owner

def FsmPlot(df):
    df.plot(subplots=True)
    plt.title("Sample=" + str(sampleN) + " Elev=" + str(np.round(lp.elevation[sampleN])))
    plt.show()

undefined variables:

  • sampleN
  • lp

I comment out this function until fixed

@ArcticSnow
Copy link
Owner Author

actually there are more:

./TopoPyScale/topo_utils.py:23:38: F821 undefined name 'resample_func'
        df = df.resample(freq).apply(resample_func)
                                     ^
./TopoPyScale/topo_utils.py:39:38: F821 undefined name 'resample_func'
        df = df.resample(freq).apply(resample_func)
                                     ^
./TopoPyScale/topo_utils.py:218:5: F821 undefined name 'FsmPlot'
    FsmPlot(df)
    ^
./TopoPyScale/topo_utils.py:222:5: F821 undefined name 'FsmPlot'
    FsmPlot(df)
    ^
4     F821 undefined name 'resample_func'

I'll comment out lines: 23, 39, 218 222 until fixed

@ArcticSnow
Copy link
Owner Author

and many hard path in function: def val_plots():

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants