Package org.geotools.coverage.io.netcdf

Examples of org.geotools.coverage.io.netcdf.NetCDFDriver


     * @throws FileNotFoundException
     */
    @Test
    public void testGribExtension() {
        // Creation of a NetCDFDriver
        NetCDFDriver driver = new NetCDFDriver();
        // Selection of the extensions used by the NetCDF driver
        List<String> extensions = driver.getFileExtensions();
        // Creation of a list of the grib extensions
        List<String> possibleExt = Arrays.asList(new String[] { "grb", "grb2", "grib" });
        // Check if the extensions are contained
        Assert.assertTrue(extensions.containsAll(possibleExt));

View Full Code Here

TOP

Related Classes of org.geotools.coverage.io.netcdf.NetCDFDriver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.