public class NetCDFDataExplorer extends Object
| Modifier and Type | Field and Description |
|---|---|
double |
maxZ |
double |
minZ |
static String |
timePrefix |
| Constructor and Description |
|---|
NetCDFDataExplorer(String openDapLink,
String layer) |
| Modifier and Type | Method and Description |
|---|---|
static double |
adjX(double x) |
static double |
adjY(double y) |
void |
calcZRange(String openDapLink,
String layer) |
static ucar.nc2.dt.GridDatatype |
getGrid(String layer,
String netcdffile) |
static double |
getMaxX(ucar.nc2.dt.GridCoordSystem gcs) |
static double |
getMaxY(ucar.nc2.dt.GridCoordSystem gcs) |
static double |
getMinX(ucar.nc2.dt.GridCoordSystem gcs) |
static double |
getMinY(ucar.nc2.dt.GridCoordSystem gcs) |
static double |
getResolution(String layer,
String file) |
static boolean |
isDataset(String filename) |
static boolean |
isGridDataset(String filename) |
static boolean |
isPointDataset(String filename) |
static LinkedHashMap<String,Double> |
manageGridDataset(String layer,
String filename,
double x,
double y,
double z) |
List<Double> |
manageGridDataset(String layer,
String filename,
int time,
List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets) |
LinkedHashMap<String,String> |
managePointsDataset(String layer,
String filename,
double x,
double y) |
List<Double> |
retrieveDataFromNetCDF(String openDapLink,
String layer,
int time,
List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets) |
static Double |
takeFirstDouble(ucar.ma2.Array data) |
public static String timePrefix
public double minZ
public double maxZ
public List<Double> retrieveDataFromNetCDF(String openDapLink, String layer, int time, List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets)
public List<Double> manageGridDataset(String layer, String filename, int time, List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets) throws Exception
Exceptionpublic static ucar.nc2.dt.GridDatatype getGrid(String layer, String netcdffile) throws Exception
Exceptionpublic static LinkedHashMap<String,Double> manageGridDataset(String layer, String filename, double x, double y, double z) throws Exception
Exceptionpublic static Double takeFirstDouble(ucar.ma2.Array data)
public LinkedHashMap<String,String> managePointsDataset(String layer, String filename, double x, double y) throws Exception
Exceptionpublic static boolean isGridDataset(String filename)
public static boolean isPointDataset(String filename)
public static double adjX(double x)
public static double adjY(double y)
public static double getMinX(ucar.nc2.dt.GridCoordSystem gcs)
public static double getMaxX(ucar.nc2.dt.GridCoordSystem gcs)
public static double getMinY(ucar.nc2.dt.GridCoordSystem gcs)
public static double getMaxY(ucar.nc2.dt.GridCoordSystem gcs)
Copyright © 2018. All Rights Reserved.