Skip to content
Snippets Groups Projects
Commit 91030cb3 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Fixed a bug.

parent 774f40db
No related branches found
No related tags found
1 merge request!39Overhaul of function names. Move some functionality to EGRET.
......@@ -17,7 +17,7 @@ readNWISpCode <- function(parameterCd){
parameterData <- parameterCdFile[parameterCdFile$parameter_cd %in% parameterCd,]
if(nrow(parameterData) == 0){
if(nrow(parameterData) != length(parameterCd)){
if(length(parameterCd) == 1){
url <- paste0("http://nwis.waterdata.usgs.gov/nwis/pmcodes/pmcodes?radio_pm_search=pm_search",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment