Skip to content

Commit

Permalink
BUFR: replace - chracter to _ at last section of generated WIGOS like id
Browse files Browse the repository at this point in the history
  • Loading branch information
istvans-mn committed Jun 21, 2024
1 parent c1be45a commit 50d4de6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ingest/src/ingest/bufr/ESOHBufr.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ static std::map<DescriptorId, std::pair<std::string, std::string>> cf_names = {

static std::string default_shadow_wigos("0-578-2024-");

static std::list<std::pair<char, char>> repl_chars = {
{' ', '_'}, {'-', '_'}, {'\'', 0}};
static std::list<std::pair<char, char>> repl_chars = {{'-', '_'}};

class ESOHBufr : public NorBufr {

Expand Down Expand Up @@ -102,7 +101,7 @@ class ESOHBufr : public NorBufr {
std::string period_str = "") const;
WSI genShadowWigosId(std::list<Descriptor> &,
std::list<Descriptor>::const_iterator &cir,
bool filter = false) const;
bool filter = true) const;

Oscar *oscar;
std::string msg_template;
Expand Down

1 comment on commit 50d4de6

@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.py645219%24–75
datastore_pb2_grpc.py432347%37–52, 85–87, 92–94, 99–101, 106–108, 112–136, 174, 191, 208, 225
grpc_getter.py201145%15–16, 20–23, 27–29, 33–35
locustfile.py15150%1–31
main.py37684%41, 46, 56–57, 67–68
metadata_endpoints.py522356%41–50, 54, 71–145, 149
response_classes.py50100% 
utilities.py802272%15, 33, 40, 62–65, 73–84, 89–96, 116, 120, 122
custom_geo_json
   edr_feature_collection.py60100% 
formatters
   \_\_init\_\_.py110100% 
   covjson.py53198%75
   geojson.py15287%17, 42
routers
   \_\_init\_\_.py00100% 
   edr.py98694%129, 137, 247–248, 307–308
   feature.py461959%75–108, 124–129, 135–157
TOTAL54518067% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
23 0 💤 0 ❌ 0 🔥 2.068s ⏱️

Please sign in to comment.