From 0d0b03334c898558348408c1cc083567cd9a402b Mon Sep 17 00:00:00 2001 From: Tara Drwenski Date: Thu, 24 Aug 2023 15:09:24 -0600 Subject: [PATCH] Add test case for swapping ensemble and time dimensions in NCSS --- .../TestNcssGridWithSwappedDimensions.java | 2 ++ .../public/testdata/testDimensionOrder.nc | Bin 1356 -> 1948 bytes 2 files changed, 2 insertions(+) diff --git a/tds/src/integrationTests/java/thredds/server/ncss/TestNcssGridWithSwappedDimensions.java b/tds/src/integrationTests/java/thredds/server/ncss/TestNcssGridWithSwappedDimensions.java index c2d5bbe747..b239d940cd 100644 --- a/tds/src/integrationTests/java/thredds/server/ncss/TestNcssGridWithSwappedDimensions.java +++ b/tds/src/integrationTests/java/thredds/server/ncss/TestNcssGridWithSwappedDimensions.java @@ -33,6 +33,8 @@ public static List getTestParameters() { testCases.add(new Object[] {"time_z_lon_lat", 4, 12}); testCases.add(new Object[] {"time_lat_lon_z", 4, 12}); testCases.add(new Object[] {"time_lon_lat_z", 4, 12}); + testCases.add(new Object[] {"time_ensemble_lat_lon", 4, 24}); + testCases.add(new Object[] {"ensemble_time_lat_lon", 4, 24}); return testCases; } diff --git a/tds/src/test/content/thredds/public/testdata/testDimensionOrder.nc b/tds/src/test/content/thredds/public/testdata/testDimensionOrder.nc index c0376b80f5bd31f14de724a12ddc42f6a97414cd..5c69a0f8a556c5b7c932fe62244c9fe5d4fa1a66 100644 GIT binary patch literal 1948 zcmcJQO>PrG5QPni9fzL~@&hbbm_1076#}tA39Pcreq!Pg8p)nPnL!E>M_`d7uw=o4 z18@Kiz>*`d;RNP=-BaVXW5-sMl>FS|uB!K{t9#nJdv9+vyxr2!6qd_$kZ5GSon%Ea zc-QCmGIOW;lHC-R`rUH$oM${Q@m1MvjrW9*57!+5?&ilVEemEm-;*La%Clb4DbnmH z>Fm6C9zBb8^yx&=OZV}y)FCv#XbkIv6TnY>m*wA#ck}$XmuB5Ed3}-=2cJH$e8<^- zGv1GN$(+e&eL)}XS!-+!k}^5=i)I~d<$u*^y(B;Ep~ZZ2F}}ydFmJ}Q^qN03u4qr< zzK?Tzq`AuPdb29u`#9^m4VI6XFo)Pj;`-_4^DGYb7$3FS+NN`ja*XRYIh-lTs^V;o zjPvT7%r)M>Bi>rnco(U);;nNl-WKDUtM@dhc+~Sn`#OswYBXApLyfwEag9aRP-{$Z zps`)OxB07xZ;5Y3(EZg|6{wB-9-F31JaOa@OPz!3Udw5q^6X@@{a9`LEHia!=TX-Nm6tHXK{}0_O56$5OWr(@(fxWf14uUYg}vR zqolC6asImtxG>D_|IPd}?0oyXm0n(5yC4V{EemB#UtXUr2Ss+_qGEI#>y5qKj9Ojl zinj#0Yu{^RiXT5rS44Pe4$aohZ`ZOP=M%~t_+59ZE^?sK@w~&WUp2t*UGGudn_9L)D&w zxzF(AW6^h%J_##elh5(x_e4t^YO+a@+j6GE!gtYAgG==FV1puI4L%HnDHh?tIV{7U EKcjLy?f?J)