Skip to content

Commit

Permalink
Merge pull request #2103 from dtcenter/bugfix_2102_main_ioda2nc_heade…
Browse files Browse the repository at this point in the history
…r_type

Bugfix #2102 main_v10.0 initialize modified_hdr_typ
  • Loading branch information
hsoh-u authored Mar 28, 2022
2 parents 0d039fa + 22253b1 commit 4766212
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/dummy_for_action
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#update me to add action comment
action for 2102
4 changes: 2 additions & 2 deletions met/src/tools/other/ioda2nc/ioda2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ void process_ioda_file(int i_pb) {
bool apply_poly_mask = (conf_info.poly_mask.n_points() > 0);

hdr_typ[0] = 0;

file_ut = beg_ut = end_ut = hdr_vld_ut = (unixtime) 0;

// List the IODA file being processed
Expand All @@ -398,11 +398,11 @@ void process_ioda_file(int i_pb) {
min_msg_ut = max_msg_ut = (unixtime) 0;
min_time_str[0] = 0;
max_time_str[0] = 0;
modified_hdr_typ[0] = 0;

// Set the file name for the IODA file
file_name << ioda_files[i_pb];


int nrecs = 0;
//int nstring = 0;
StringArray var_names, dim_names;
Expand Down

0 comments on commit 4766212

Please sign in to comment.