From a842b2891f4f77619388eebdd671fe1964ea389b Mon Sep 17 00:00:00 2001 From: AlysonStahl-NOAA <166434581+AlysonStahl-NOAA@users.noreply.github.com> Date: Mon, 12 Aug 2024 06:05:43 -0600 Subject: [PATCH] fixed template 1001 (#501) Co-authored-by: Edward Hartnett <38856240+edwardhartnett@users.noreply.github.com> --- src/pdstemplates.c | 2 +- tests/tst_pdstemplates.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pdstemplates.c b/src/pdstemplates.c index 6ab61d1d..59e79d2c 100644 --- a/src/pdstemplates.c +++ b/src/pdstemplates.c @@ -131,7 +131,7 @@ static const struct pdstemplate templatespds[G2C_MAX_PDS_TEMPLATE] = {1000, 9, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4}}, /** 4.1001: Cross section of Ave/Accum/etc... analysis or forecast in a time interval */ - {1001, 16, 0, {1, 1, 1, 1, 1, 2, 1, 1, 4, 4, 1, 1, 1, 4, 1, 4}}, + {1001, 16, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 4, 1, 1, 1, 4, 1, 4}}, /** 4.1001: Cross section of Ave/Accum/etc... analysis or forecast over latitude or longitude */ {1002, 15, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, 1, 1, 4, 4, 2}}, diff --git a/tests/tst_pdstemplates.c b/tests/tst_pdstemplates.c index 3d602517..26332e10 100644 --- a/tests/tst_pdstemplates.c +++ b/tests/tst_pdstemplates.c @@ -397,7 +397,7 @@ main() {1, 1, 2, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}, /* 43 */ {1, 1, 4}, /* 254 */ {1, 1, 1, 1, 1, 2, 1, 1, -4}, /* 1000 */ - {1, 1, 1, 1, 1, 2, 1, 1, 4, 4, 1, 1, 1, 4, 1, 4}, /* 1001 */ + {1, 1, 1, 1, 1, 2, 1, 1, -4, 4, 1, 1, 1, 4, 1, 4}, /* 1001 */ {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, 1, 1, 4, 4, 2}, /* 1002 */ {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}, /* 1100 */ {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 4, 1, 1, 1, 4, 1, 4}, /* 1101 */