Skip to content

Commit

Permalink
#1581 Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Apr 1, 2021
1 parent bd97bc5 commit 7ba65ec
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions met/src/libcode/vx_nc_util/write_netcdf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -315,44 +315,3 @@ ConcatString s;

///////////////////////////////////////////////////////////////////////////////

//bool is_same_header (const char *hdr_typ, const char *hdr_sid, const char *hdr_vld,
// const float hdr_lat, const float hdr_lon, const float hdr_elv) {
// bool new_header =
// !is_eq(nc_data_buffer.prev_hdr_arr_buf[0],hdr_lat) ||
// !is_eq(nc_data_buffer.prev_hdr_arr_buf[1], hdr_lon) ||
// !is_eq(nc_data_buffer.prev_hdr_arr_buf[2], hdr_elv) ||
// 0 != strcmp(nc_data_buffer.prev_hdr_typ_buf, hdr_typ) ||
// 0 != strcmp(nc_data_buffer.prev_hdr_sid_buf, hdr_sid) ||
// 0 != strcmp(nc_data_buffer.prev_hdr_vld_buf, hdr_vld);
// if (new_header) {
// strcpy(nc_data_buffer.prev_hdr_typ_buf, hdr_typ);
// strcpy(nc_data_buffer.prev_hdr_sid_buf, hdr_sid);
// strcpy(nc_data_buffer.prev_hdr_vld_buf, hdr_vld);
// nc_data_buffer.prev_hdr_arr_buf[0] = hdr_lat;
// nc_data_buffer.prev_hdr_arr_buf[1] = hdr_lon;
// nc_data_buffer.prev_hdr_arr_buf[2] = hdr_elv;
// }
// return new_header;
//}
//
//bool is_same_header (const char *hdr_typ, const char *hdr_sid, const unixtime hdr_vld,
// const float hdr_lat, const float hdr_lon, const float hdr_elv) {
// bool new_header =
// !is_eq(nc_data_buffer.prev_hdr_arr_buf[0],hdr_lat) ||
// !is_eq(nc_data_buffer.prev_hdr_arr_buf[1], hdr_lon) ||
// !is_eq(nc_data_buffer.prev_hdr_arr_buf[2], hdr_elv) ||
// 0 != strcmp(nc_data_buffer.prev_hdr_typ_buf, hdr_typ) ||
// 0 != strcmp(nc_data_buffer.prev_hdr_sid_buf, hdr_sid) ||
// !is_eq(nc_data_buffer.prev_hdr_vld, hdr_vld);
// if (new_header) {
// strcpy(nc_data_buffer.prev_hdr_typ_buf, hdr_typ);
// strcpy(nc_data_buffer.prev_hdr_sid_buf, hdr_sid);
// nc_data_buffer.prev_hdr_vld = hdr_vld;
// nc_data_buffer.prev_hdr_arr_buf[0] = hdr_lat;
// nc_data_buffer.prev_hdr_arr_buf[1] = hdr_lon;
// nc_data_buffer.prev_hdr_arr_buf[2] = hdr_elv;
// }
// return new_header;
//}

///////////////////////////////////////////////////////////////////////////////

0 comments on commit 7ba65ec

Please sign in to comment.