Skip to content

Commit

Permalink
#2216 replace the spaces to underscores for the station_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Sep 15, 2022
1 parent f56ba5f commit 55eab4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/other/ioda2nc/ioda2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ void process_ioda_file(int i_pb) {
char tmp_sid[nstring+1];
m_strncpy(tmp_sid, hdr_station_ids+(i_read*nstring), nstring, method_name_s, "tmp_sid");
m_rstrip(tmp_sid, nstring, false);
m_replace_char(tmp_sid, ' ', '_');
hdr_sid = tmp_sid;
}
else hdr_sid.clear();
Expand Down

0 comments on commit 55eab4f

Please sign in to comment.