From b0d0035af1f989fc7e2b753d0a983d1861f9e05b Mon Sep 17 00:00:00 2001 From: Uriel Ramirez Date: Wed, 29 May 2024 13:55:18 -0400 Subject: [PATCH] add documentation --- tools/fregrid/fregrid_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/fregrid/fregrid_util.c b/tools/fregrid/fregrid_util.c index 938c6c0d..bc1094bf 100644 --- a/tools/fregrid/fregrid_util.c +++ b/tools/fregrid/fregrid_util.c @@ -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,