.read():是读取这个变量所有的数据。
.copyTo1DJavaArray():是将多维变量转换成一维数组
NetcdfFile tmpFile = NetcdfFile.open(文件路径, null);
Variable TMP= tmpFile.findVariable("TMP");//读取的要素
Variable TMPTime = tmpFile.findVariable("time");
float[][][] tmpData = (float[][][]) TMP.read().copyToNDJavaArray();//转成数组
int[] tmpDate = (int[]) TMPTime.read().copyToNDJavaArray();