@@ -196,7 +196,15 @@ static Stream<Object[]> compressorAndDataTypeProviderV2() {
196196 dev .zarr .zarrjava .v2 .DataType .INT64 ,
197197 dev .zarr .zarrjava .v2 .DataType .UINT64 ,
198198 dev .zarr .zarrjava .v2 .DataType .FLOAT32 ,
199- dev .zarr .zarrjava .v2 .DataType .FLOAT64
199+ dev .zarr .zarrjava .v2 .DataType .FLOAT64 ,
200+ dev .zarr .zarrjava .v2 .DataType .UINT16_BE ,
201+ dev .zarr .zarrjava .v2 .DataType .UINT32_BE ,
202+ dev .zarr .zarrjava .v2 .DataType .UINT64_BE ,
203+ dev .zarr .zarrjava .v2 .DataType .INT16_BE ,
204+ dev .zarr .zarrjava .v2 .DataType .INT32_BE ,
205+ dev .zarr .zarrjava .v2 .DataType .INT64_BE ,
206+ dev .zarr .zarrjava .v2 .DataType .FLOAT32_BE ,
207+ dev .zarr .zarrjava .v2 .DataType .FLOAT64_BE
200208 ).flatMap (dt -> Stream .of (
201209 new Object []{"zlib" , "0" , dt },
202210 new Object []{"blosc" , "blosclz_shuffle_3" , dt }
@@ -305,7 +313,7 @@ public void testWriteV3(String codec, String codecParam, DataType dataType) thro
305313 @ MethodSource ("compressorAndDataTypeProviderV2" )
306314 public void testReadV2 (String compressor , String compressorParam , dev .zarr .zarrjava .v2 .DataType dt ) throws IOException , ZarrException , InterruptedException {
307315 StoreHandle storeHandle = new FilesystemStore (TESTOUTPUT ).resolve ("testReadV2" , compressor , compressorParam , dt .name ());
308- run_python_script ("zarr_python_write_v2.py" , compressor , compressorParam , dt .name (). toLowerCase (), storeHandle .toPath ().toString ());
316+ run_python_script ("zarr_python_write_v2.py" , compressor , compressorParam , dt .getValue (), storeHandle .toPath ().toString ());
309317
310318 dev .zarr .zarrjava .v2 .Array array = dev .zarr .zarrjava .v2 .Array .open (storeHandle );
311319 ucar .ma2 .Array result = array .read ();
@@ -361,7 +369,7 @@ public void testWriteV2(String compressor, String compressorParam, dev.zarr.zarr
361369 assertIsTestdata (result , dt );
362370
363371 //read in zarr_python
364- run_python_script ("zarr_python_read_v2.py" , compressor , compressorParam , dt .name (). toLowerCase (), storeHandle .toPath ().toString ());
372+ run_python_script ("zarr_python_read_v2.py" , compressor , compressorParam , dt .getValue (), storeHandle .toPath ().toString ());
365373 }
366374
367375 @ CsvSource ({"0,true" , "0,false" , "5, true" , "10, false" })
0 commit comments