Skip to content

Commit

Permalink
Changed observationProperty to parameter_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-1000 committed Feb 14, 2024
1 parent 47c734b commit f65826e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/formatters/covjson.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _collect_data(ts_mdata, obs_mdata):
(o.obstime_instant.ToDatetime(tzinfo=timezone.utc), float(o.value)) for o in obs_mdata
) # HACK: str -> float
(times, values) = zip(*tuples)
param_id = ts_mdata.instrument
param_id = ts_mdata.parameter_name
unit = ts_mdata.unit

return (lat, lon, times), param_id, unit, values

1 comment on commit f65826e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py584621%24–69
datastore_pb2_grpc.py43430%2–225
dependencies.py53514%3–93
grpc_getter.py13130%1–24
locustfile.py15150%1–31
main.py22220%3–51
metadata_endpoints.py20200%1–71
formatters
   \_\_init\_\_.py70100% 
   covjson.py462741%26–76, 82–91
routers
   \_\_init\_\_.py00100% 
   edr.py68663%5–155
   records.py00100% 
TOTAL34530312% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 2 🔥 1.066s ⏱️

Please sign in to comment.