Compute a period's DMR values from the plant's own monitoring rows
The numbers a US NPDES permit's Discharge Monitoring Report asks for in one period, computed from the plant's own raw results (daily samples, flows): for each value due on the period's forms (EPA's national limits file) its statistic as EPA defines it (monthly average, daily maximum, weekly average over EPA's Sunday-to-Saturday weeks, geometric mean, loadings in lb/d from concentration x flow x 8.34, percent removal), the rows it was computed from, and EPA's violation rule's verdict against the limit. A value the rows cannot give is refused with its code (fill.no_column, fill.unit, fill.ambiguous, dmr.nd_rule_missing ...): a number the rows do not hold is never supplied. Send rows as JSON (date, parameter, value, unit, point) or table as the file's text (a laboratory's long export, or a sheet of days with one column per parameter); include the previous month's last days when a weekly average is due. A result below detection enters an average by nd_rule (zero, half, dl, dl_lt), else by the state's written rule. netdmr: true adds the NetDMR "Import DMRs" file as text (not yet validated by NetDMR's own import check). The rows reach our server to be computed and are not kept: only how many rows were sent and values filled is counted.
Request
- Base URL: https://passage-data.com/api/v1
- URL: https://passage-data.com/api/v1/dmr/fill
- Auth: one of:
- none
- HTTP bearer
- API key in header x-api-key
Request body
Response
Each value due, computed with the rows it came from and its verdict, or refused with its code
Changes
No recorded changes to this operation across all 1 revision of this API.