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

AWESOME! #72

Open
ldecicco-USGS opened this issue Sep 14, 2020 · 9 comments
Open

AWESOME! #72

ldecicco-USGS opened this issue Sep 14, 2020 · 9 comments

Comments

@ldecicco-USGS
Copy link

Wanted to say it looks like a great package! It would be awesome to write a blog or something that uses the US dataRetrieval package (this complements the idea to make a blog or vignette that uses tidyhydat data in EGRET (http://usgs-r.github.io/EGRET/)

Related:
DOI-USGS/dataRetrieval#421

@jongoetz
Copy link
Collaborator

jongoetz commented Oct 1, 2020

Thanks, Laura! I think that is a great idea and would love to collaborate. I'm all for promotion and complementing other hydrology R packages. I'm working on updating fasstr for the next release and could include a vignette on how to integrate dataRetrieval into the proper formatting for fasstr; but am also open to writing a blog about it. Do you have anything specific in mind to promote this? Thanks for reaching out!

@ldecicco-USGS
Copy link
Author

A vignette would be perfect. I could ask around for nice dataRetrieval examples to highlight certain functions. If you had a current workflow that you'd like to start with, let me know. Otherwise, at some point in the near future, I'll try duplicating the frequency analysis vignette with a dataRetrieval input. After I do that, I should have a better idea how hard/easy this would be.

@peteymoore
Copy link

Very interested to know whether you've managed to make this happen? I like the looks of fasstr, but does it play nice with dataRetrieval yet?

@jongoetz
Copy link
Collaborator

Hey @ldecicco-USGS and @peteymoore! It's been a hot minute since I've started it, but I've written up a draft vignette for how to integrate dataRetrieval with fasstr. Have a look at it and let me know what you think. Any recommendations or suggestions of other workflows are very much welcome. Feel free to make a pull request of changes if need be.

See vignette code here: https://github.com/bcgov/fasstr/blob/master/vignettes/articles/fasstr_dataRetrieval.Rmd

@jongoetz
Copy link
Collaborator

I made some decisions about US unit conversions that seem to be consistent with some US analyses (for example, inches depth of runoff vs metric millimetres), so if those units make sense and/or there should be other unit analyses (i.e. acre-feet or other), feel free to let me know or suggest some options.

@ldecicco-USGS
Copy link
Author

It looks great! From my perspective, the units look good the way you set it up. You could put your conversion factors up on top as a variable so if someone wanted to do something else, they wouldn't have to change 0.028317 (or 2.58999) a bunch of times.

@jongoetz
Copy link
Collaborator

Great idea, @ldecicco-USGS. I have included your conversion suggestion and also added some acre-feet examples.
When I push the next fasstr version to CRAN, the GitHub page will include the vignette also.

@peteymoore
Copy link

peteymoore commented Dec 3, 2021 via email

@jongoetz
Copy link
Collaborator

jongoetz commented Dec 4, 2021

Vignette now live on Github Page: https://bcgov.github.io/fasstr/articles/fasstr_dataRetrieval.html

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

3 participants