Gianpaolo Coro 2013-05-29 15:09:41 +00:00
parent 8645e82f86
commit db36f7613a
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ public class ThreddsDataExplorer {
int tsize = triplets.size();
long t01 = System.currentTimeMillis();
LatLonRect llr = null;
AnalysisLogger.getLogger().debug("Extracting subset...");
GridDatatype gdtsub = grid.makeSubset(new Range(time, time), null, llr, 1, 1, 1);
Array data = gdtsub.readVolumeData(time); // note order is t, z, y, x
int[] shapeD = data.getShape();