Skip to content

evaluate_alteration() does not work for certain COMIDs #58

@annieholt

Description

@annieholt

I get the following error message for several of the COMIDs where stream gages are located, using the attached timeseries data (also for COMIDs 17608051 and 17611425 for example)

flowdata_COMID17574729.txt

test_results <- ffcAPIClient::evaluate_alteration(timeseries_df = test_df , token = get_token(), latitude = lat,longitude = long)
[1] "Using default date format string of %m/%d/%Y"
[1] "Using date format string %m/%d/%Y"
[1] "COMID 17574729 is of stream class PGR - sending parameters to FFC online for that stream class. This may produce different results than if you run data through the FFC yourself using their default parameters."
Error in if (median >= predictions[["p10"]] && median <= predictions[["p90"]]) { :
missing value where TRUE/FALSE needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions