Errors in Dataframe_Generator.rmd That Inhibit Source Map Capability
lines 188-193 : searching for capitalized Latitude and Longitude column names in foundatn_mp but the data seems to have changed so that these column names are no longer capitalized
line 236 : searches for a featureid column in foundatn_mp that does not exist
-> Even if a line is added to rename column mp_hydroid to featureid in the case that featr_type == 'source' , something goes wrong in line 259 when the script tries to ID features that are not yet linked to a riverseg value
I moved om_vahydro_metric_grid() call to be outside the if statement, so it now runs for facility and sources. I also added some lines where it now joins in f_model, which it was only doing for facilities.
Errors in
Dataframe_Generator.rmd
That Inhibit Source Map Capabilitylines 188-193
: searching for capitalizedLatitude
andLongitude
column names infoundatn_mp
but the data seems to have changed so that these column names are no longer capitalizedline 236
: searches for afeatureid
column infoundatn_mp
that does not exist -> Even if a line is added to rename columnmp_hydroid
tofeatureid
in the case thatfeatr_type == 'source'
, something goes wrong inline 259
when the script tries to ID features that are not yet linked to ariverseg
value