HARPgroup / USGS_Consumptive_Use

This repository is intended to hold code, documentation, and tutorials for the USGS Consumptive Use Project run through Dr. Julie Shortridge and Dr. Durelle Scott of Virginia Tech as well as Robert Burgholzer and Joseph Kleiner of the Virginia Department of Environmental Quality
3 stars 0 forks source link

Error in outfall_features_REST(DMR_data, facility, token, basepath) #74

Closed rburghol closed 4 years ago

rburghol commented 4 years ago

Pinging @jmineva @jdkleiner -- this fails when the ECHO record in question has no outfalls. I was going to include a check to see if the number of outfalls was > 0 before trying to build a rest data frame, but decided to pass it on to you all since I was unsure if there was some different default behavior when ECHO returned no outfalls. Can we annotate our preferred approach in #70

rburghol commented 4 years ago

Fixed in pull request #75 by not calling this function if there are no outfalls.