Code Monkey home page Code Monkey logo

gotmwork's People

Contributors

breichl avatar qingli411 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gotmwork's Issues

Error creating plots in plotpfl

When attempting to execute /cases/OCSPapa/case_run, plotpfl throws the error:

Traceback (most recent call last):
  File "/Users/gregorywagner/Projects/gotm/gotmwork/tools/plotpfl", line 275, in <module>
    main()
  File "/Users/gregorywagner/Projects/gotm/gotmwork/tools/plotpfl", line 112, in main
    im = plt.contourf(dttime, z, np.transpose(mdl), levels, extend='both')
  File "/anaconda3/lib/python3.6/site-packages/matplotlib/pyplot.py", line 2818, in contourf
    ret = ax.contourf(*args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/matplotlib/__init__.py", line 1717, in inner
    return func(ax, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/matplotlib/axes/_axes.py", line 5827, in contourf
    contours = mcontour.QuadContourSet(self, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/matplotlib/contour.py", line 853, in __init__
    kwargs = self._process_args(*args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/matplotlib/contour.py", line 1447, in _process_args
    x, y, z = self._contour_args(args, kwargs)
  File "/anaconda3/lib/python3.6/site-packages/matplotlib/contour.py", line 1528, in _contour_args
    x, y, z = self._check_xyz(args[:3], kwargs)
  File "/anaconda3/lib/python3.6/site-packages/matplotlib/contour.py", line 1557, in _check_xyz
    x = np.asarray(x, dtype=np.float64)
  File "/anaconda3/lib/python3.6/site-packages/numpy/core/numeric.py", line 492, in asarray
    return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'real_datetime'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.