Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed May 29, 2024
1 parent f3adf73 commit b0d0035
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/fregrid/fregrid_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,9 @@ void set_output_metadata (int ntiles_in, int nfiles, const File_config *file1_in
char name[256], coords[512];
memset(coords,0,512);
mpp_get_var_attname(file_in[0].fid, scalar_in[0].var[l].vid, i, name);
/* Ignore the time_avg_info attribute */
if (strcmp(name, "time_avg_info") == 0) continue;

/* check if we need to output coordinates attribute */
if( !standard_dimension || !dst_is_latlon || strcmp(name, "coordinates") )
mpp_copy_att_by_name(file_in[0].fid, scalar_in[0].var[l].vid, file_out[n].fid,
Expand Down

0 comments on commit b0d0035

Please sign in to comment.