From a091a1d6a810d15ccf505f3f42167ae96dda43a3 Mon Sep 17 00:00:00 2001 From: jswhit2 Date: Fri, 4 Feb 2022 20:40:21 +0000 Subject: [PATCH 1/3] update submodule pointer --- atmos_cubed_sphere | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atmos_cubed_sphere b/atmos_cubed_sphere index fa86482e4..5193c6b60 160000 --- a/atmos_cubed_sphere +++ b/atmos_cubed_sphere @@ -1 +1 @@ -Subproject commit fa86482e48f1d5b594acb369e68b8488de84dc66 +Subproject commit 5193c6b60c02c744b1ffe27078eccbeed2a22ad8 From 63d1af5ea0cd84701a024308f71d304bc6d0472a Mon Sep 17 00:00:00 2001 From: jswhit2 Date: Mon, 28 Mar 2022 23:16:34 +0000 Subject: [PATCH 2/3] add '_Encoding' attribute to time_iso --- io/module_write_netcdf.F90 | 1 + 1 file changed, 1 insertion(+) diff --git a/io/module_write_netcdf.F90 b/io/module_write_netcdf.F90 index 954531446..21c77ae84 100644 --- a/io/module_write_netcdf.F90 +++ b/io/module_write_netcdf.F90 @@ -236,6 +236,7 @@ subroutine write_netcdf(wrtfb, filename, & ncerr = nf90_def_var(ncid, "time_iso", NF90_CHAR, [ch_dimid,time_dimid], timeiso_varid); NC_ERR_STOP(ncerr) ncerr = nf90_put_att(ncid, timeiso_varid, "long_name", "valid time"); NC_ERR_STOP(ncerr) ncerr = nf90_put_att(ncid, timeiso_varid, "description", "ISO 8601 datetime string"); NC_ERR_STOP(ncerr) + ncerr = nf90_put_att(ncid, timeiso_varid, "_Encoding", "ascii"); NC_ERR_STOP(ncerr) ! coordinate variable attributes based on output_grid type if (trim(output_grid(grid_id)) == 'gaussian_grid' .or. & From 7c0889a924fb114486accbb00ef186390836ba08 Mon Sep 17 00:00:00 2001 From: jswhit2 Date: Tue, 29 Mar 2022 17:20:13 +0000 Subject: [PATCH 3/3] use UTF-8 instead of ascii --- io/module_write_netcdf.F90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/module_write_netcdf.F90 b/io/module_write_netcdf.F90 index 21c77ae84..590141e65 100644 --- a/io/module_write_netcdf.F90 +++ b/io/module_write_netcdf.F90 @@ -236,7 +236,7 @@ subroutine write_netcdf(wrtfb, filename, & ncerr = nf90_def_var(ncid, "time_iso", NF90_CHAR, [ch_dimid,time_dimid], timeiso_varid); NC_ERR_STOP(ncerr) ncerr = nf90_put_att(ncid, timeiso_varid, "long_name", "valid time"); NC_ERR_STOP(ncerr) ncerr = nf90_put_att(ncid, timeiso_varid, "description", "ISO 8601 datetime string"); NC_ERR_STOP(ncerr) - ncerr = nf90_put_att(ncid, timeiso_varid, "_Encoding", "ascii"); NC_ERR_STOP(ncerr) + ncerr = nf90_put_att(ncid, timeiso_varid, "_Encoding", "UTF-8"); NC_ERR_STOP(ncerr) ! coordinate variable attributes based on output_grid type if (trim(output_grid(grid_id)) == 'gaussian_grid' .or. &