Skip to content

Commit

Permalink
fixed template 1001 (#501)
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Hartnett <[email protected]>
  • Loading branch information
AlysonStahl-NOAA and edwardhartnett authored Aug 12, 2024
1 parent e3db988 commit a842b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pdstemplates.c
Original file line number Diff line number Diff line change
Expand Up @@ -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}},
Expand Down
2 changes: 1 addition & 1 deletion tests/tst_pdstemplates.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a842b28

Please sign in to comment.