@Disabled
@Test
void CmipPrecipImport(){

    String inFile = new File("D:/data/CMIP/Extraction_pr.nc").toString();
    DataReader reader = DataReader.builder()
            .path(inFile)
            .variable("pr")
            .build();
    VortexData vortexData = reader.getDto(0);
    VortexGrid vortexGrid = (VortexGrid) vortexData;
    float[] data = vortexGrid.data();
    List<Double> values = new ArrayList<>();
    for (int i = 1; i < data.length; i++) {
        if (!Float.isNaN(data[i])) {
            values.add((double) data[i]);
        }
    }
    double max = Collections.max(values);
    double min = Collections.min(values);
    assertEquals(66.21134185791016, max, 1E-5);
    assertEquals(0.04108993336558342, min, 1E-5);
}