Closed mikejohnson51 closed 4 years ago
I'm very interested. I like the idea of some convenience functions that help use the building blocks I've got here in nhdplusTools
. What are you thinking in particular?
If I have adequately read through the nhdplusTools functonality, it would be to (1) extend get_nhdplus_bybox
to get NHD flowlines (in addition to NHDArea and NHDWaterbodies) by spatial feature subsetting; (2) add a geocoding front to 'get_nhdplus_point'; and (3) add some addtional filters for things like stream order.
Moreover I suppose it would be integrating the bybox, bypoint and by_id calls into a single function (?get_nhdplus?) that would select the needed process from the user provided inputs.
Going to be merging my latest work on plot_nhdplus()
and the currently unexported get_plot_data()
functions. They not take a bbox rather than outlets -- which is an ideal hook for use with AOI.
I wonder if we could look at porting some of the HydroData functionality over here so you don't have to maintain it there? Would be an easy way to get some of the logic you have there onto CRAN without jumping through that hoop.
Have a look at this latest stuff in the plot_nhdplus.R
file and see what you think. I'm about ready for a major refactor just to clean house, but in general this is all coming together nicely and I see how the stuff you've been doing could fit really well.
Closing as this would be covered by #155
This is to gage interest in a pull request leveraging the AOI package to facilitate bringing in NHD data from the CIDA server. Advantages are the abilty to describe regions by common place names, spatial (sf/sp/raster) files, nwis ids, or COMIDs.
AOI will soon be on CRAN and a pull request would look very much like this from HydroData.
Created on 2019-09-14 by the reprex package (v0.3.0)
Thanks!