# HG changeset patch # User greg # Date 1524493991 14400 # Node ID 0791cca1fc5c0c1457eb59369510281fa71dc461 # Parent 315c5e1bc44af6d5afa1a48500438050c926d7b7 Uploaded diff -r 315c5e1bc44a -r 0791cca1fc5c insect_phenology_model.R --- a/insect_phenology_model.R Mon Apr 23 10:19:06 2018 -0400 +++ b/insect_phenology_model.R Mon Apr 23 10:33:11 2018 -0400 @@ -402,7 +402,7 @@ norm_data_frame = norm_data_frame[-c(60),]; } # Set the location to be the station name if the user elected no to enter it. - if (is.null(location)) { + if (is.null(location) | location=="") { location = norm_data_frame$NAME[1]; } if (is.null(input_ytd)) {