Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Stage vs. Discharge Plot - Fix Peak Data not showing up without USGS Rating Curve or USGS Measured #1924

Open
1 task
maggiejaenicke opened this issue Jan 31, 2024 · 1 comment
Assignees

Comments

@maggiejaenicke
Copy link

maggiejaenicke commented Jan 31, 2024

These plots should still show the annual peaks even though there are no measurements, but no data is appearing:

  • Plot 06326510 has peak data (this.formattedDischargePeakDates), but no USGS Rating Curve data (this.dischargeObj) or USGS Measured Discharge data (this.measuredObj).

  • Plot 13234300 has peak data and USGS Measured data (but looks like all y values are NaN/empty), but not a USGS Rating Curve.

  • NaN values are currently included in y, both in USGS Measured and peaks. Could be solved by filtering these out, similar to how this is handled for the Annual Peak Flow Plot in the formatData() function: if(!isNaN(.....)) {}

  • Fix plots where data (that exists) doesn't show up

Replaces item in #1708

@amedenblik
Copy link
Member

May be resolved with #1925

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants