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

Dealing with web links #9

Open
skybristol opened this issue Apr 29, 2020 · 1 comment
Open

Dealing with web links #9

skybristol opened this issue Apr 29, 2020 · 1 comment

Comments

@skybristol
Copy link
Contributor

@jllong-usgs - I started a branch in my fork with some initially rough ideas on a new module to work with web links in ScienceBase. I've got code all over the place that does stuff with ScienceBase Items, and I've started trying to think about where some of that might be contributed back to sciencebasepy. It doesn't seem like we've actually done very much deliberate work with webLinks in the Item model; they've kind of been left out as an important part of the system. Since I'm dealing with how to pull information from web links in some ways that might be interesting to other use cases, I thought I'd try weaving that in here.

My code sucks, as usual, but if it is interesting to other folks, I'll work to clean it up for broader use, and maybe others could contribute as well. I haven't done anything with testing (sorry), and there are some notable gaps that I mentioned in the accompanying notebook. I will continue working with this with my model info gathering robot stuff and will post new commits to the branch in my fork.

Let me know if this is of interest and we can talk about what to do with it. Based on the real difference here and what SbSession is doing, I opted to break it out into its own module.

@skybristol
Copy link
Contributor Author

The place where the weblink processing stuff is in play is within a pymodelcat package that I'm working up to explore aspects of the USGS Model Catalog concept. There's a notebook that runs the code for model items and discusses how we might be able to leverage information pulled back from links.

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

1 participant