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

Listing pymt components #130

Open
gregtucker opened this issue Jan 8, 2021 · 2 comments
Open

Listing pymt components #130

gregtucker opened this issue Jan 8, 2021 · 2 comments

Comments

@gregtucker
Copy link

It would be great if pymt users could quickly find out what model and data components are available for pymt. There is a list on the CSDMS wiki website, but it would be helpful to also have:

  1. a list of components, with their install commands, on the readthedocs site
  2. a way to query a component list from within pymt itself (e.g., pymt.components.list())
@mdpiper
Copy link
Member

mdpiper commented Jan 12, 2021

@gregtucker For item 2, the MODELS attribute provides a list of available pymt components:

>>> import pymt
>>> for model in pymt.MODELS:
...     print(model)
...
Avulsion
Plume
Sedflux3D
Subside
Rafem
FrostNumber
Ku
Hydrotrend
GIPL
ECSimpleSnow
Child
Cem
Waves

This isn't documented, though, which it needs to be.

@mdpiper mdpiper self-assigned this Jan 12, 2021
@mcflugen
Copy link
Member

pymt.MODELS contains the models that are currently installed in pymt. However, there may be other models that, while available for pymt, are not yet installed. Is there a way we could give the user the ability to query all of the available pymt models for their platform? Can we do this in a way that we can easily keep up-to-date?

@mdpiper mdpiper removed their assignment Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants