Skip to content

Commit

Permalink
Update datastore/data-loader/client_knmi_station.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jeffrey-Vervoort-KNMI <[email protected]>
  • Loading branch information
Teddy-1000 and Jeffrey-Vervoort-KNMI authored Feb 21, 2024
1 parent 6eebe86 commit 651c9f1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions datastore/data-loader/client_knmi_station.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ def netcdf_file_to_requests(file_path: Path | str) -> Tuple[List, List]:
for param_id in knmi_parameter_names:
# print(station_id, param_id)
param_file = station_slice[param_id]
standard_name, level, function, period = (
generate_parameter_name(
standard_name, level, function, period = generate_parameter_name(
(param_file.standard_name if "standard_name" in param_file.attrs else "placeholder"),
"2.0",
param_file.long_name,
param_id,
),
)[0]
)

ts_mdata = dstore.TSMetadata(
platform=station_id,
Expand Down

1 comment on commit 651c9f1

@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.py432347%37–52, 85–87, 92–94, 99–101, 106–108, 112–136, 174, 191, 208, 225
dependencies.py481667%26–27, 34, 41, 62–69, 77–84
grpc_getter.py13838%12–15, 19–22
locustfile.py15150%1–31
main.py22386%27, 37, 47
metadata_endpoints.py19479%17, 34–67, 71
formatters
   \_\_init\_\_.py70100% 
   covjson.py46687%58, 65–69, 73–76
routers
   \_\_init\_\_.py00100% 
   edr.py671184%38–63, 143–144, 188–189, 205
   records.py00100% 
TOTAL33813261% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
16 0 💤 8 ❌ 0 🔥 4.335s ⏱️

Please sign in to comment.